FlashKeepers

Cloud Computing · Professional · Professional Certifications

Kubernetes: Workloads and Scheduling

Pods, Deployments, StatefulSets, DaemonSets, Jobs, probes, resource limits, taints, tolerations and affinity.

About this set

40 basic cards for Professional Cloud Computing. Set 3 of 3 in Kubernetes. It opens with "What is the smallest deployable unit in Kubernetes?" and "Can multiple containers in the same Pod share the network namespace?". Study it alongside the other Professional sets below.

40 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is the smallest deployable unit in Kubernetes?
Show answerA Pod
Can multiple containers in the same Pod share the network namespace?
Show answerYes, they share a single IP address and communicate via localhost
What happens to other containers in a Pod if one container crashes?
Show answerThey continue running; a crashed container does not automatically restart the Pod
How do containers communicate within the same Pod?
Show answerVia localhost using the individual container port numbers
What Kubernetes object manages replicated Pods and enables rolling updates?
Show answerDeployment
Does a Deployment directly manage Pods?
Show answerNo, it creates and manages ReplicaSets, which manage Pods
What is the default update strategy for a Deployment?
Show answerRolling update, where Pods are gradually replaced
How do you scale a Deployment to a specific number of replicas?
Show answerSet spec.replicas in the manifest or use kubectl scale
What is the primary difference between a StatefulSet and a Deployment?
Show answerStatefulSet maintains a sticky identity for each Pod with predictable naming and order; Deployment treats Pods as interchangeable
What does a StatefulSet provide that a Deployment does not?
Show answerStable network identity and stable persistent storage for each Pod
How are Pods in a StatefulSet named and identified?
Show answerBy an ordinal index appended to the StatefulSet name, e.g., mysql-0, mysql-1, mysql-2
What is the purpose of a Headless Service with a StatefulSet?
Show answerTo provide DNS names for individual Pods without load balancing
What does a DaemonSet ensure?
Show answerOne Pod runs on every Node in the cluster (or every Node matching a nodeSelector)
What is a common use case for a DaemonSet?
Show answerRunning system daemons like monitoring agents, log collectors, or networking plugins
What happens to a DaemonSet Pod when a Node is cordoned?
Show answerThe Pod is evicted unless it has a matching toleration for the node.kubernetes.io/unschedulable taint

25 more cards in the app

Study this set free