Skip to content

Latest commit

 

History

History
896 lines (768 loc) · 23.7 KB

workloads.md

File metadata and controls

896 lines (768 loc) · 23.7 KB
Can you perform a rolling update on a DaemonSet? _____ Yes
A PodDisruptionBudget limits the number of Pods of a workload of that are allowed to be down simultaneously taken down from _____ disruptions. voluntary
The possible values for a Pod's status condition field are _____, False or Unknown. True
Pods in _____ state await to be scheduled onto the cluster by the Kubernetes Scheduler. An to this are Pods running as part of a DaemonSet, which are scheduled by the DaemonSet controller. Pending
A Pod is in its lifecycle's _____ phase if its state could not be obtained, usually due to an error in communicating with its host. Unknown
Pods running as part of a _____ have unique network identifiers, persistent storage, ordered deployment and scaling, and ordered rolling updates. StatefulSet
The _____ API object is implemented as a control loop, with a sync period controlled by the kube-controller-manager's --horizontal-pod-autoscaler-sync-period flag. HorizontalPodAutoscaler
The HorizontalPodAutoscaler API object is implemented as a control loop, with a sync period controlled by the _____'s --horizontal-pod-autoscaler-sync-period flag. kube-controller-manager
Unlike a Deployment, a StatefulSet maintains a _____ for each of its Pods sticky identity
If a Pod's metadata._____ does not link to a workload controller object (i.e. it is an orphanned Pod), it will be acquired by a controller whose selector matches the Pod, or the Pod will be garbage collected. OwnerReferences
A Pod's _____ condition field provides a timestamp for when the Pod condition was last probed. lastProbeTime
Containers are automatically co-located and co-scheduled on the same node when they are ran as part of a _____. Pod
A _____ optimizes a given metric (e.g. CPU utilization) across a set of Pods, increasing or decreasing the number of replicas to achieve it. HorizontalPodAutoscaler
If a Pod's metadata.OwnerReferences does not link to a workload controller object (i.e. it is an orphanned Pod), it will be acquired by a controller whose selector matches the Pod, or the Pod will be _____. garbage collected
A _____ API Object scales the number of Pods in a Deployment, ReplicaSet or StatefulSet based on an observed metric (such as CPU utilization). HorizontalPodAutoscaler
HorizontalPodAutoscaler API Objects do not apply to objects that can't be scaled, such as _____ DaemonSets
If non-preempting pods cannot be scheduled at a given time, they will be retried with lower frequency, allowing other pods with lower priority to be scheduled before them. This is because non-preempting pods are subject to _____ scheduler back-off
The _____ condition field provides details about the transition from one status to another. Message
A _____ injects bits of common configuration into all selected Pods at creation time. For example, you could use it to mount a particular Volume on all matching Pods. PodPreset
A _____ load balances traffic across multiple Pods. Service
A Pod is in its lifecycle's Failed phase if all its containers have terminated, at least one of which has exited with a _____ exit code, or was terminated by the system. non-zero (error)
A _____ can be used to run a log collection daemon on every node. DaemonSet
When node labels change, the DaemonSet controller will _____ Pods to newly matching nodes and delete Pods from newly not-matching nodes. add
_____ is an object which can own ReplicaSets and update their Pods via declarative, server-side rolling updates. Deployment
"In _____ cascading deletion, the root object enters a ""deletion in progress"" state. The garbage collector then deletes the object's dependents. Once they are gone, it deletes the owner object." foreground
_____, ContainerReady, lastProbeTime, Reason are types of an Object's Conditions. Ready
Containers within a single _____ share IP address and port space Pod
When node labels change, the DaemonSet controller will add Pods to newly matching nodes and _____ Pods from newly not-matching nodes. delete
The values of a Pod's type condition field may equal either PodScheduled, Ready, Initialized or _____ ContainersReady
A _____ is a global object that maps a priority class name to the integer value of the Priority. PriorityClass
A _____ API Object injects additional runtime requirements into label-selected Pods at their creation time. PodPreset
_____ cannot prevent involuntary Pod disruptions from occurring, and so they do not count against the budget. PodDisruptionBudgets
If a Pod's metadata.OwnerReferences does not link to a workload controller object (i.e. it is an orphanned Pod), it will be acquired by a controller whose _____ matches the Pod, or the Pod will be garbage collected. selector
The possible values for a Pod's status condition field are True, False or _____. Unknown
The six fields of a PodCondition are reason, status, message, type, _____, lastTransitionTime. lastProbeTime
In _____ cascading deletion, Kubernetes deletes the owner object immediately and the garbage collector then deletes the dependents. background
Minimum time in seconds for which a new pod should be ready to be considered available is defined in deployment.spec._____ minReadySeconds
Identical Pods in a workload are referred to as _____ Replicas
The HorizontalPodAutoscaler adjusts the number of _____ of an application replicas
A _____ runs one or more Containers. Pod
The HorizontalPodAutoscaler controller operates on the ratio between current and _____ metric values. desired
"In foreground cascading deletion, the root object enters a ""deletion in progress"" state. The garbage collector then deletes the object's _____. Once they are gone, it deletes the owner object." dependents
The number of old ReplicaSets retained for rollback purposes is defined in a Deployment's .spec._____ field. revisionHistoryLimit
The _____ adjusts the number of replicas of an application HorizontalPodAutoscaler
When a pod is evicted using the eviction API, is it gracefully terminated? _____ Yes
The count of hash collisions for a deployment is stored in its deployment.deploymentstatus._____ status field, and is used for collision avoidance. collisionCount
Pods in Pending state await to be scheduled onto the cluster by the Kubernetes Scheduler. An to this are Pods running as part of a _____, which are scheduled by the _____ controller. DaemonSet
The six fields of a PodCondition are reason, status, message, _____, lastProbeTime, lastTransitionTime. type
_____ Pods can each be addressed by their uniquely identifiable, predictable DNS names. This is ideal for clustered or quorum-based applications, such as databases. StatefulSet
While it's in its termination grace period, you might want an app to process remaining incoming requests by adding a _____ handler. preStop
The HorizontalPodAutoscaler API object is implemented as a control loop, with a sync period controlled by the kube-controller-manager's _____ flag. --horizontal-pod-autoscaler-sync-period
Pods take an extra amount of a node's resources, additional to the resources taken by the Pod's containers. This is referred to as Pod Overhead and can be configured inside a _____ API object. RuntimeClass
_____ within a single Pod share IP address and port space Containers
Pod _____ repels Pods from each other. For example, an _____ to replicas of the same Pod on one Node can help spread your replicas evenly across the cluster. anti-affinity
The role of the _____ is to delete objects that no longer have an owner. garbage collector
_____ cannot be used to override a Pod’s own configuration, only fill in settings the Pod hasn't specified. PodPresets
When deleting a DaemonSet with kubectl, you can specify the flag _____, then the Pods will remain on the nodes. --cascade=false
A Deployment is set to keep 5 Pod replicas running at any given time, and a matching PodDisruptionBudget defines that there must always be 4 replicas running in any moment in time. Therefore, one Pod may be _____ disrupted by the Eviction API at a time. voluntarily
The _____ controller ensures a specific number of pod replicas are running at any one time across nodes replication
Each Kubernetes Node has its own _____ range from which it assigns its pods unique IPs. CIDR IP block
A HorizontalPodAutoscaler API Object scales the number of Pods in a Deployment, ReplicaSet or StatefulSet based on _____. an observed metric (such as CPU utilization)
PodDisruptionBudgets cannot prevent _____ Pod disruptions from occurring, and so they do not count against the budget. involuntary
The _____ field indicates that the value of this PriorityClass should be used for Pods without a priorityClassName. Only one such PriorityClass can exist in the system. globalDefault
The six fields of a PodCondition are _____, status, message, type, lastProbeTime, lastTransitionTime. reason
Pods running as part of a _____ are a set of stateless replicas deployed in random order and given no stable identifiers. Deployment
The six fields of a PodCondition are reason, _____, message, type, lastProbeTime, lastTransitionTime. status
A Pod is in its lifecycle's _____ phase when the Pod has been bound to a Node, all of its Containers have been created and at least one Container is either running, in the process of starting, or restarting. Running
Pods with _____ will be placed in the scheduling queue ahead of lower-priority pods, but they cannot preempt other pods. It will stay in the scheduling queue, until sufficient resources are free. PreemptionPolicy: Never
The six fields of a PodCondition are reason, status, _____, type, lastProbeTime, lastTransitionTime. message
If a Pod cannot be scheduled, the scheduler tries to preempt (evict) lower _____ Pods to make scheduling of the pending Pod possible. Priority
To control the cascading deletion policy, set the _____ field on the deleteOptions argument when deleting an Object. propagationPolicy
A Pod is in its lifecycle's _____ phase if all its containers have terminated, at least one of which has exited with a non-zero (error) exit code, or was terminated by the system. Failed
A Pod's _____ condition field provides a unique reason for the condition's last transition. reason
A _____ allows templating Pod configuration across many Pods. PodPreset
The role of the garbage collector is to delete objects that no longer have an _____. owner
The values of a Pod's type condition field may equal either _____, Ready, Initialized or ContainersReady PodScheduled
A Kubernetes resource which ensures that all matching Nodes run a copy of a Pod is the _____ DaemonSet
When Exited Containers are restarted by the kubelet, they are restarted with an _____ delay capped at 5 minutes, reset after ten minutes of successful execution. exponential back-off
A logical group of containers with shared network and storage and specifications for how to run each container is called a _____ Pod
When you delete an object, you can specify whether the object's dependents are also deleted. This is referred to as a _____ deletion. cascading
A Deployment is set to keep 5 Pod replicas running at any given time, and a matching _____ defines that there must always be 4 replicas running in any moment in time. Therefore, one Pod may be voluntarily disrupted by the Eviction API at a time. PodDisruptionBudget
Workload controllers like deployment or statefulset are not limited by PodDisruptionBudgets when doing rolling updates, because the handling of failures during application updates is configured in the _____. controller's spec
"In foreground cascading deletion, the root object enters a ""deletion in progress"" state. The garbage collector then deletes the object's dependents. Once they are gone, it deletes _____." the owner object
If you want to use storage volumes to provide persistence for your workload, you can use a _____. The persistent identity of its Pods allows for matching of existing volumes to any new Pods that replace those Pods that fail in the future. StatefulSet
A Pod can have an IPv4 and IPv6 address assigned via enabling _____. IPv4/IPv6 dual-stack
If a _____'s current metric value per replica is 200m, and the desired metric value per replica is 100m, the number of replicas will be doubled. HorizontalPodAutoscaler
The values of a Pod's type condition field may equal either PodScheduled, Ready, _____ or ContainersReady Initialized
Label _____ specify the Pods to which a given PodPreset applies. selectors
A Pod is in its lifecycle's _____ phase when it has been applied to Kubernetes' desired state, but at least one of its Container images has not yet been created, either because the Pod is still being scheduled or is downloading images. Pending
A Pod is in its lifecycle's _____ phase when its containers have terminated in success, and will not be restarted. Succeeded
Critical Pods can be set to rely on scheduler _____ to be scheduled at the cost of less critical Pods when a cluster is under resource pressure. preemption
The possible values for a Pod's status condition field are True, _____ or Unknown. False
Containers within a _____ share storage and network resources. Pod
Once bound to a node, will a Pod ever rebound to another node? _____ No
An Object's _____ are latest variable observations of its state, used when the details of an observation are not known apriori, or would not apply to all instances of a given Kind. Conditions
If a deleted Object's dependents were not deleted automatically with their owner, they are considered _____. orphaned
The six fields of a PodCondition are reason, status, message, type, lastProbeTime, _____. lastTransitionTime
When deleting a _____ with kubectl, you can specify the flag --cascade=false, then the Pods will remain on the nodes. DaemonSet
A quorum-based application must ensure that the number of running replicas is never brought below the minimum required for a quorum. This can be achieved with a _____ PodDisruptionBudget
A _____ limits the number of Pods of a workload of that are allowed to be down simultaneously taken down from voluntary disruptions. PodDisruptionBudget
_____ indicates the importance of a Pod to be scheduled onto the cluster, relative to other Pods. Priority
Pod Priority and Pod Pre-emption are ignored by Pods scheduled by the _____ controller. DaemonSet
A Deployment is set to keep 5 Pod replicas running at any given time, and a matching PodDisruptionBudget defines that there must always be 4 replicas running in any moment in time. Therefore, _____ Pod may be voluntarily disrupted by the Eviction API at a time. one
A ReplicaSet is linked to its Pods via their metadata._____ field, which allow the ReplicaSet to find the state of its Pods. ownerReferences
A _____ specifies the minimum number of replicas that an application needs running at any given time to work properly. PodDisruptionBudget
StatefulSets do not provide any guarantees on the termination of its pods when a StatefulSet is deleted. To achieve ordered and graceful termination you must _____ before deleting it. scale the StatefulSet down to 0
Pods take an extra amount of a node's resources, additional to the resources taken by the Pod's containers. This is referred to as _____ and can be configured inside a RuntimeClass API object. Pod Overhead
Normally, Pods are scheduled onto nodes by the Kubernetes scheduler -- except _____ Pods which are created and scheduled by their own workload controller. DaemonSet
A HorizontalPodAutoscaler optimizes a given metric (e.g. CPU utilization) across a set of Pods, increasing or decreasing the number of _____ to achieve it. replicas
Pods running as part of a Deployment are a set of stateless replicas deployed in _____ order and given no stable identifiers. random
_____ API Objects do not apply to objects that can't be scaled, such as DaemonSets HorizontalPodAutoscaler
A Pod's _____ condition field provides a timestamp for it has last transitioned from one status to another. lastTransitionTime
A Pod runs one or more _____. Containers
Unlike a Deployment, a _____ maintains a sticky identity for each of its Pods StatefulSet
Normally, Pods are scheduled onto nodes by the Kubernetes _____ -- except DaemonSet Pods which are created and scheduled by their own workload controller. scheduler
The HorizontalPodAutoscaler API object is implemented as a _____, with a sync period controlled by the kube-controller-manager's --horizontal-pod-autoscaler-sync-period flag. control loop
Pods in Pending state await to be scheduled onto the cluster by the Kubernetes Scheduler. An to this are Pods running as part of a _____, which are scheduled by the _____ controller. DaemonSet
Pod _____ repels Pods from each other. For example, an _____ to replicas of the same Pod on one Node can help spread your replicas evenly across the cluster. anti-affinity
The HorizontalPodAutoscaler controller operates on the ratio between _____ and desired metric values. current
If a HorizontalPodAutoscaler's current metric value per replica is 200m, and the desired metric value per replica is 100m, the number of replicas will be _____. doubled
A _____ can run a monitoring daemon on every node. DaemonSet
Pod anti-affinity repels Pods from each other. For example, an anti-affinity to replicas of the same Pod on one _____ can help spread your replicas evenly across the cluster. Node
The values of a Pod's type condition field may equal either PodScheduled, _____, Initialized or ContainersReady Ready
A PodPreset API Object injects additional runtime requirements into label-selected _____ at their creation time. Pods
PreemptionPolicy defaults to _____, which will allow pods of that PriorityClass to preempt lower-priority pods (as is existing default behavior). PreemptLowerPriority
The _____ controller provides a time-to-live mechanism which limits the lifetime of workload objects that have finished execution. TTL
_____ start and stop Pod replicas in a specific order. StatefulSets
A Pod's _____ represents where the Pod is in its lifecycle. phase