part7 Flashcards

1
Q

explain the internal working of Kubernetes scheduler ?

A
  • The scheduler first filters out nodes that do not meet the pod’s requirements. It evaluates all available nodes based on resource capacity
  • The scheduler binds the pod to the selected node.
  • The kubelet on the selected node pulls the pod’s container image and starts it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

explain how you integrate terraform in your CICD pipeline.

A
  • In my current project, we integrated Terraform into our CI/CD pipeline to automate infrastructure provisioning and enforce consistency in changes
  • running terraform plan or apply locally is not recommended, so we set up a Jenkins automation that runs when the code is pushed and reviewed in a version control system.
  • also mention this is done using webhook if you talk about GitHub
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

can we control resource utilization per name space in k8s?

A
  • can we control resource utilization per name space in k8s?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you revert a change in git ?

A
  • run git log –online to see all the commits you have mase
  • then run git revert <commit></commit>
  • then push the new code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is pod eviction in k8s?

A

Pod eviction in Kubernetes is the process of terminating or removing a pod from a node, typically due to resource constraints, node maintenance, or policy enforcement. Unlike a direct deletion, an eviction is often handled gracefully, allowing the pod to terminate and, if appropriate, be rescheduled on another node by the Kubernetes scheduler.
- Evictions due to resource pressure are determined by Quality of Service (QoS) classes and PriorityClasses:
Pods with BestEffort QoS are evicted first.
Pods with Burstable QoS may be evicted next.
Pods with Guaranteed QoS are the least likely to be evicted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is the difference between agile and DevOps?

A
  • Agile is a set of values and principles about how to develop software in a systematic way
  • Where as DevOPs is a way to quickly, easily and repeatably move that software into
    production infrastructure, in a safe and simple way.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly