Bite-sized, standalone interview questions and answers for Kubernetes. Read 5-10 per sitting. Each answer is 2-4 sentences max and stands on its own.

111 questions shown. Filter by keyword or difficulty below.

Topic: Cluster architecture: control plane vs. node, and how the control plane bootstraps itself (Order 0)

The scheduler needs a running API server to record placement decisions, and the API server needs etcd to store state — but none of them exist yet. You can’t use normal scheduling to start the very first control-plane component because the scheduler that would do the placement is itself one of those components.

kubeadm writes Pod manifest YAML files directly to /etc/kubernetes/manifests/ on the control-plane node. The kubelet has a separate file source (pkg/kubelet/config/file.go) that polls that directory and starts whatever Pod specs it finds — completely bypassing the scheduler and API server.

Once the API server is up, the kubelet registers a read-only mirror of each static pod it’s running so kubectl get pods -n kube-system can see it. Editing or deleting the mirror via the API changes nothing — the kubelet recreates it from the local file, which remains the source of truth.

The API server loses its backing store and starts failing reads/writes, which cascades to the scheduler and controller-manager — both of which depend on the API server. Even though their own manifest files never changed, a single unhealthy etcd pod can make the entire control plane appear broken.

The file source (sourceFile) feeds Pod objects straight into a Go channel (updates chan<- sourceUpdate) by polling a directory on disk. The API-server source uses informer/watch machinery over the network. These are two completely separate code paths inside the kubelet, not one path with a special case bolted on.

Editing the mirror Pod via kubectl edit in kube-system and expecting it to take effect. The real source of truth is the YAML file on disk at /etc/kubernetes/manifests/, not the API object. Also, assuming the kube-apiserver manifest looks healthy means etcd is healthy — kube-apiserver depends on etcd, not the other way around.

Topic: Pod (Order 1)

Sidecars need the same node, the same IP, and the same lifecycle as the container they sit next to. A Pod is the smallest scheduling unit — it guarantees co-location on one node, shared network namespace (so containers reach each other over 127.0.0.1), and shared lifecycle managed by one kubelet.

The pause container is a tiny infrastructure container the kubelet creates first. It holds the network namespace (and IPC namespace) open; all subsequent containers join that same namespace. It never appears in your YAML — you only see it in crictl ps or docker ps on the node.

Pod-level securityContext (fsGroup, runAsUser, runAsNonRoot) shapes the whole sandbox and volume ownership. Container-level securityContext (allowPrivilegeEscalation, capabilities, readOnlyRootFilesystem) applies per-container kernel capabilities. Confusing the two scopes is one of the most common manifest review mistakes.

A rescheduled Pod is a completely new Pod object — new UID, new IP. Nothing relocates the existing Pod; a controller (Deployment, StatefulSet, DaemonSet) creates a brand-new Pod, which the scheduler places independently, usually on a different node.

When a debugging sidecar needs to see every container’s processes via ps and /proc/$pid/root. The tradeoff: the pause container becomes PID 1, so any container assuming it is PID 1 (e.g., one running systemd) can misbehave or refuse to start.

The 30-second default is a guess that fits nothing in particular. A stateless gRPC service might shut down in 5 seconds; a database with a flush cache could need 120. Leaving it untuned means every rollout or scale-down takes longer than it should, or kills a process mid-shutdown.

The kubelet no longer talks to Docker Engine — it speaks CRI directly to containerd or CRI-O. Docker-built images still run fine (they’re OCI-compliant); only Docker’s runtime control path was removed. Any tooling that relied on docker CLI inside a Pod or node broke.

Topic: Deployment / ReplicaSet (Order 2)

The Deployment controller manages transitions between ReplicaSet generations — creating a new ReplicaSet, scaling it up while scaling the old one down, bounded by maxUnavailable/maxSurge. The ReplicaSet controller’s job is narrower: ensure exactly N Pods matching its selector exist right now.

Each ReplicaSet’s selector only matches Pods carrying its own hash value. A v1 ReplicaSet won’t claim a v2 Pod (wrong hash), and vice versa. This is what lets both generations coexist mid-rollout without either controller accidentally deleting or recreating the other’s Pods.

The rollout becomes impossible — you can’t create a new Pod until an old one is deleted, but you can’t delete an old one until a new one is ready. This is a deadlock, not a safety measure. In practice, maxUnavailable: 0 with maxSurge: 1 achieves zero-downtime updates.

A new Pod isn’t counted as “available” until it passes its readiness probe. If the v2 container is slow to start, the Deployment controller stalls at its current step — it won’t surge another v2 Pod or drain another v1 Pod until the current one passes. A slow probe slows the rollout; a missing probe lets it barrel ahead blindly.

No — apps/v1 makes the selector immutable after creation. If you need a different selector, you must delete and recreate the Deployment. This is why selectors are chosen conservatively up front, not as an afterthought.

Both default to 25% of desired replicas. An un-tuned Deployment can go 25% over capacity and 25% under capacity simultaneously during a routine update — significant for a large replica count, and invisible if you never explicitly set these fields.

You almost never author a ReplicaSet directly. The Deployment generates it, names it by hashing the pod template, and owns it via ownerReferences. Running kubectl get rs after a Deployment change is the fastest way to see the reconcile loop working in real time.

Topic: Service (Order 3)

The EndpointSlice controller watches the API for Pod changes and republishes the Service’s backing address list. Modern Kubernetes uses EndpointSlices (not the legacy Endpoints object) — sliced objects that scale better. kube-proxy and CoreDNS consume those slices to reprogram routing.

No. A Pod’s IP is only added to the Service’s routing set after its readiness probe passes. A booting or unhealthy Pod is deliberately excluded from traffic — remove the readiness probe and you route requests into cold or broken Pods.

It’s a virtual IP not bound to any NIC. kube-proxy programs kernel routing rules (iptables/IPVS/nftables) so that any packet destined for the ClusterIP is DNAT’d to a real Pod IP:port. No process ever listens on the ClusterIP itself — it’s pure packet rewriting at the kernel level.

A headless Service (clusterIP: None) returns individual Pod IPs in DNS instead of one virtual IP. Clients do their own load balancing. You use it for StatefulSets (stable per-pod DNS like pod-0.cache.ns.svc), databases with primary/replica awareness, or gRPC clients that manage connections themselves.

Any name with fewer than 5 dots is tried against every search domain first (e.g., api.stripe.com.default.svc.cluster.local, api.stripe.com.svc.cluster.local, etc.) before falling through to the actual external query. For external FQDNs, this means several failed cluster-internal DNS lookups before the real answer returns.

Two things, in order: (1) selector/label mismatch — does the Service’s selector exactly match the Pod labels? A typo means zero endpoints. (2) Readiness — are the Pods actually passing their readiness probe? Running ≠ Ready; a failing probe keeps a Pod out of the endpoint set.

In iptables mode (default), traffic is sent to a randomly-chosen endpoint using probability rules — statistically even, not sequential. IPVS mode offers real algorithms (round-robin, least-connection, etc.), which is why large clusters prefer IPVS. Newer clusters may also use nftables mode.

Check the Service’s EndpointSlices before chasing the cloud load balancer. If the EndpointSlice has zero Ready addresses, compare the Service selector with the pod template labels and then check readiness probe failures; Running only means the container process exists, not that Service traffic can reach it.

Generate Service selectors, Deployment selectors, and pod template labels from the same Helm helper or Kustomize label source. Then run helm template, kube-linter, and server-side dry-run in CI so the rendered manifests are checked before they can create a zero-endpoint Service.

Topic: ConfigMap / Secret (Order 4)

A value injected via env.valueFrom.configMapKeyRef is read once at container start and frozen — editing the ConfigMap does nothing until the Pod restarts. A value delivered via a mounted volume is kept in sync by the kubelet’s periodic sync interval — the file on disk updates, but the application must notice the change itself.

No. A Secret is base64-encoded, not encrypted. Unless the cluster admin configures --encryption-provider-config with a real provider (aescbc, aesgcm, secretbox), Secret data sits in etcd as plain base64. “It’s a Secret so it’s encrypted” is a common and wrong assumption.

It tells the API server the object will never change again. The kubelet stops watching it for updates (less API server load at scale) and it prevents accidental kubectl edit in production. The common pattern is naming the ConfigMap with a content hash and rolling the Deployment on every change.

stringData lets you write plaintext in the manifest; the API server base64-encodes it into .data on write. You never hand-encode a Secret in a real manifest. The field is write-only — it’s not present when you read the object back.

Environment variables are flat key-value strings — a multi-hundred-line YAML with Go template syntax inside it (<<.GroupBy>>) is structurally impossible to pass as one. This is the practical reason ConfigMaps support volume mounting at all, not just env injection.

A Secret’s RBAC defaults and kubectl get -o wide visibility make it a reasonable choice for operational config that shouldn’t be world-readable via kubectl get configmap -o yaml — but it’s not encrypted at rest unless you’ve configured etcd encryption. Teams often assume Secret = encrypted, which it isn’t by default.

Topic: Probes (Order 5)

A failed liveness probe makes the kubelet restart the container in place (same Pod, same UID, same IP). A failed readiness probe does not restart anything — the container keeps running, but the Pod is pulled out of Service traffic until it passes again. Two completely different outcomes from two different failure signals.

startupProbe holds off liveness and readiness checks until it succeeds once. This gives a slow-booting app (large JVM, big cache warm) a long runway without being killed by premature liveness checks. For a small, fast-starting Go binary, the normal initialDelaySeconds plus failureThreshold already gives enough slack — a startupProbe isn’t always needed.

The kubelet, directly, on each node where the Pod runs. It’s a local polling loop, not a control-plane operation. No API server round-trip is involved in the probe itself.

/readyz answers “has the metrics cache finished warming up?” — it depends on initialization. /livez answers “is the process alive?” — a fundamentally different question. A single shared /health endpoint conflates the two and risks restart loops triggered by conditions that only affect readiness.

The kubelet’s only health signal becomes the process exit code. A container that is alive but wedged — deadlocked event loop, exhausted connection pool, stuck thread — stays running forever, eating every request routed to it, with no automatic restart.

metrics-server feeds the HPA and kubectl top. A gap during rollout means cluster-wide autoscaling stalls. maxUnavailable: 0 accepts a slower rollout in exchange for zero gaps in metrics availability — the tradeoff is correctness over speed.

Setting it too short for a slow-starting app causes premature restarts; setting it too long delays detection of genuine post-boot deadlocks. The real fix for slow boots is a startupProbe with a generous failureThreshold × periodSeconds window, not inflating initialDelaySeconds on the liveness probe.

Topic: Volumes / PV / PVC (Order 6)

emptyDir is scoped to the Pod’s lifetime — it’s created when the Pod is scheduled on a node and deleted when the Pod is removed. If the Pod is rescheduled to a different node, the new Pod gets a fresh emptyDir. It’s designed for inter-container data sharing within a single Pod, not persistence.

A PVC is a namespaced request for storage (e.g., “I need 10Gi ReadWriteOnce”). A PV is the actual storage resource, cluster-scoped, usually created on demand by a StorageClass’s CSI provisioner. The PVC binds to the PV; the PV outlives any individual Pod that uses it.

Delete (the default for most dynamic-provisioning classes) destroys the underlying cloud disk when the PVC is deleted. Retain orphans the disk for manual admin cleanup. Deleting a PVC on the Delete policy without checking what data lives on it is a classic way to destroy production data or leak cloud disks forever.

It’s opt-in persistence — without a storage.volumeClaimTemplate, the monitoring stack’s own metrics history doesn’t survive a Pod reschedule. “Prometheus obviously persists its data” is exactly the assumption that costs someone their metrics history during a routine node drain.

The data stays pinned to the original node. The new Pod on a different node gets an empty directory — the data never left the old machine. hostPath is only safe when the Pod is guaranteed to always run on the same node (DaemonSets), not general-purpose workloads.

It creates a tmpfs mount — RAM-backed, faster than disk, and counted against the Pod’s memory limit. Use it for plugin scratch space or temporary caches that benefit from RAM speed. The gotcha: memory usage looks higher than the process’s own footprint because these files are in the Pod’s memory accounting.

ReadWriteOnce means one node can mount it at a time. If a Deployment with multiple replicas all try to mount the same ReadWriteOnce PVC, only one succeeds — the rest stay Pending. ReadWriteOncePod (a newer access mode) restricts it further to a single Pod, not just a single node.

Topic: StatefulSet (Order 7)

Stable, per-replica ordinal identity (app-0, app-1, app-2) with corresponding stable DNS entries (app-0.app.ns.svc.cluster.local) and, optionally, per-ordinal persistent volumes that follow the same replica across reschedules. Deployments produce anonymous, fungible Pods; StatefulSets produce named, distinguishable ones.

The headless Service (clusterIP: None) is what gives each Pod its own DNS entry — DNS returns individual Pod IPs instead of one virtual IP. Without it, Pods still get created, but they never get the stable <pod>.<service> DNS names that are the entire reason to use a StatefulSet.

Pods are created and deleted one at a time, in ordinal order, each waiting to reach Ready before the controller touches the next. This sequencing is how you safely bootstrap a primary before its replicas, or roll a cluster node-by-node instead of all at once.

No — by default, deleting or scaling down a StatefulSet does not delete its PVCs. This is deliberate: data safety is considered more valuable than automatic cleanup. An opt-in persistentVolumeClaimRetentionPolicy field exists if you want automatic cleanup.

The StatefulSet exists purely for stable, predictable ordinal identity — each replica’s ordinal becomes a shard number for cluster-watching assignments. A Deployment’s replicas have no durable ordinal to shard by, so a rescheduled Pod could silently “become” a different shard than the one it was covering.

The application controller can’t introspect its own StatefulSet’s replica count from inside the Pod. If you bump spec.replicas without updating the ARGOCD_CONTROLLER_REPLICAS env var, the sharding math silently uses the old count — a real operational gotcha.

In reverse ordinal order, one Pod at a time. If you scale from 3 to 1, app-2 is deleted first, then app-1, each waiting to fully terminate before the next deletion starts.

Topic: DaemonSet (Order 8)

Nothing guarantees the scheduler spreads exactly one Pod per node — two Pods could land on the same node while another gets zero. When you add an 11th node, a Deployment has no idea it exists. A DaemonSet automatically adds a Pod to new nodes and removes it from departed ones.

No — that’s pre-1.17 behavior. The DaemonSet controller creates each Pod with node affinity, and the default scheduler typically takes over to bind it to the target node. The controller creates Pods; the scheduler does the binding.

Without it, the DaemonSet silently skips tainted nodes — including the control plane, which absolutely still needs its CPU/memory/disk monitored. The blanket toleration is what gets the monitoring Pod onto every node, even those repelled by default taints.

Its job is reading the node’s real network interfaces and process table. These fields deliberately break the Pod network and PID isolation that normally protects it from the host — a necessary exception for a node-level monitoring agent.

A DaemonSet updates one node’s Pod at a time (controlled by maxUnavailable). With maxSurge at its default of 0, the old Pod is deleted before the new one starts — there’s never two copies on the same node. A Deployment can surge Pods above the target count.

The actual metrics exporter is intentionally unreachable from outside the Pod. The kube-rbac-proxy sidecar adds TLS and RBAC authentication in front of those metrics, and exposes hostPort: 9100 — splitting “collect the data” from “authenticate access to the data” into two containers sharing the Pod’s localhost.

The Pod is evicted — there’s nowhere else to go since DaemonSet Pods are node-specific. No replacement is scheduled on a different node. A Deployment, by contrast, would reschedule the Pod elsewhere.

Topic: Job / CronJob (Order 9)

restartPolicy: Always is for long-lived workloads — the kubelet always restarts the container, so the process never “completes.” A Job tracks completions (Pods that exit 0), so the restart policy must be Never or OnFailure to let a Pod actually finish.

When a tick fires while the previous Job is still running, the new tick is skipped entirely. This is a correctness decision for workloads that mutate shared state — two concurrent descheduler passes, for example, could both evict the same Pods at once, compounding disruption.

They stick around in etcd until manually cleaned up or garbage-collected by successfulJobsHistoryLimit/failedJobsHistoryLimit on the CronJob (defaults: 3 and 1). A high-frequency CronJob (every 2 minutes) accumulates finished Job objects fast — production clusters need to actually monitor that history limit.

The CronJob’s jobTemplate.spec is structurally identical to a standalone Job’s spec — same priorityClassName, restartPolicy, livenessProbe, securityContext. The CronJob adds exactly one thing: schedule plus concurrencyPolicy. It’s a Job with a clock around it, not a separate execution model.

It caps the number of times the Job controller creates a replacement Pod after failures (default: 6). Once backoffLimit is hit, the Job is marked as failed and the controller stops creating new Pods. Exponential backoff is applied between retries.

The descheduler evicts other Pods to fix scheduling — if its own Pod got preempted under node pressure, the thing meant to relieve pressure would be the first casualty. A high priority class protects the workload from being the first to be evicted.

If the CronJob controller is down across several scheduled ticks, it doesn’t replay every missed tick on restart by default — but it also might replay them all at once if the window isn’t bounded. Setting startingDeadlineSeconds bounds how late a missed tick is still allowed to start, preventing a flood of catch-up Jobs.

Topic: HPA (Order 10)

desiredReplicas = ceil(currentReplicas × (currentMetricValue / desiredMetricValue)). It polls a metrics API (typically metrics-server) every sync period (default 15s), computes this ratio, and patches the target Deployment’s spec.replicas.

“70% utilization” means 70% of the request. An unset request makes the percentage undefined — the HPA literally has no baseline to compute utilization against.

Scale-down has a default 300-second stabilization window (avoid flapping right before the next spike). Scale-up defaults to near-immediate. A manifest that overrides scaleUp.stabilizationWindowSeconds: 0 is choosing instant reaction over default caution.

This creates Guaranteed QoS for the CPU dimension — it makes “70% utilization” mean the same, stable thing on every replica instead of drifting with however much headroom limits happened to leave above requests.

It caps growth at doubling the replica count every 5 seconds. Even with stabilizationWindowSeconds: 0, the rate of scale-up is still bounded — a guard against a metrics blip causing maxReplicas to be hit in one step.

v2beta1 and v2beta2 were removed in Kubernetes 1.26, not just deprecated. A manifest still targeting v2beta2 will fail outright on any current cluster. autoscaling/v2 (which carries the behavior field) has been the only API version since 1.23 went GA.

No — an HPA can only scale what scaleTargetRef names (a Deployment, ReplicaSet, or StatefulSet). It patches someone else’s replicas field; it never creates Pods independently.

Topic: Ingress (Order 11)

An Ingress is a set of routing rules stored in etcd with no built-in reconciler. Without an Ingress Controller (a Pod watching Ingress objects via ingressClassName) to turn those rules into real proxy behavior, the rules just sit in etcd, matched by nothing.

At the Ingress Controller, not the backend Service. The tls: block names a Secret holding the cert/key; NGINX decrypts there and usually proxies plaintext HTTP to the backend Pod over the cluster network.

These annotations are controller-specific — they only work because ingress-nginx reads them and wires NGINX directives. Swapping to a different controller (Traefik, HAProxy, GCE Ingress) silently drops this behavior unless that controller has its own equivalent annotation. The base Kubernetes Ingress API only standardizes host/path routing and TLS.

Pre-v1, path matching semantics were controller-specific and inconsistent. v1 made pathType required (Exact, Prefix, or ImplementationSpecific) precisely so an Ingress means the same thing across controllers.

The Ingress controller doesn’t create the TLS Secret, issue the cert, or validate the CN matches the host — that’s cert-manager’s job upstream. An Ingress referencing a missing Secret fails silently from the client’s perspective, falling back to a default self-signed cert rather than rejecting the Ingress.

Each LoadBalancer Service provisions one cloud load balancer — a billed, externally-routable IP per Service. For 20 HTTP services, that’s 20 cloud LBs, 20 IPs, 20 TLS certs, and no shared routing logic. Ingress consolidates all of them behind one entry point with host/path routing.

The ingressClassName field on the Ingress spec, plus a real IngressClass object in the cluster. Using the old annotation on a current cluster with multiple controllers installed has undefined behavior for which one claims the Ingress.

Topic: NetworkPolicy (Order 12)

It means deny all incoming traffic to the selected Pods — once any policy selects a Pod for a direction, that direction switches from “allow everything” to “allow only what’s explicitly listed.” A Pod matched by zero policies stays fully open.

No. Like an Ingress without a controller, a NetworkPolicy is inert without a CNI plugin (Calico, Cilium) that implements the NetworkPolicy API. A cluster running a CNI that doesn’t implement NetworkPolicy will accept these objects via the API and silently do nothing.

Additive, never overriding. If two policies both select the same Pod, the Pod’s allowed traffic is the union of what each policy permits. You cannot “un-allow” something a broader policy already opened.

It leaves egress unrestricted. A Pod locked down by a web-deny-all ingress policy can still connect out to anything — databases, external APIs, data exfiltration endpoints. Full defense requires both ingress and egress policies.

No, and they never have. A namespace is an API/RBAC boundary, not a network one. A Pod in dev can reach a Pod in prod unless a NetworkPolicy explicitly stops it. GKE specifically requires Dataplane V2 (Cilium-based) for NetworkPolicy enforcement.

podSelector matches Pods by their labels in the same namespace as the policy. namespaceSelector matches entire namespaces by their labels, regardless of Pod labels. They compose: a rule can require both “from this namespace” AND “matching this Pod label” at once.

The API server accepts the object without error — but no CNI agent programs the corresponding iptables/eBPF rules, so traffic flows as if no policy existed. It’s the exact same silent failure as deploying an Ingress with no controller watching it.

Topic: RBAC (Order 13)

No. RBAC has no deny rule — every grant is purely additive. You cannot subtract a permission another binding already granted. The only way to restrict access is to never grant it in the first place, which is why least-privilege must be the default posture, not a cleanup pass.

The ClusterRole’s rules don’t change, but the binding limits where they apply. A workload can reuse a broadly-defined ClusterRole via a RoleBinding to get permissions in just one namespace, instead of needing a separate Role definition.

A ClusterRole aggregation controller watches for any ClusterRole carrying a specific label (e.g., rbac.authorization.k8s.io/aggregate-to-view: "true") and merges its rules into the built-in role automatically. No RoleBinding changes are needed — anyone already holding view gains the new permissions.

The ConfigMap extension-apiserver-authentication only exists in kube-system — a ClusterRoleBinding would be strictly broader than the workload needs. Meanwhile, system:auth-delegator and system:metrics-server must be cluster-wide because metrics-server serves Pod/Node metrics for every namespace.

Nothing. It exists purely to extend the built-in view/edit/admin roles via its aggregate-to labels, so any human already holding view automatically gains read access to metrics.k8s.io data — a permission grant aimed at other subjects, not at metrics-server’s own ServiceAccount.

RBAC may not be the only authorization layer. ABAC and legacy Node,RBAC authorizer chains still exist in self-managed clusters. A debugging session that assumes “RBAC is the only thing deciding this” can waste hours if an older ABAC policy file is also present. Check --authorization-mode on the API server.

Topic: ResourceQuota / LimitRange (Order 14)

LimitRange (mutating) runs first, injecting default/defaultRequest values into any Pod that omitted them. ResourceQuota (validating) runs after, checking whether the sum of all existing usage plus this Pod’s requests exceeds the hard ceiling. The ordering is critical — LimitRange makes ResourceQuota survivable for Pods without explicit resources.

The API server returns a 403 Forbidden with “exceeded quota.” The Pod is never created. This is the enforcement mechanism — a namespace can’t run 500 Pods each requesting 2 CPU on a 200-CPU cluster once a ResourceQuota is in place.

Yes — pods: "50" is a completely separate axis from CPU/memory. A namespace can be well under its compute quota and still get new Pod creations rejected because it hit the object-count ceiling.

A Pod that omits resources gets a small request (110m) — so it schedules easily and doesn’t inflate quota usage — but a larger limit (700m) as headroom for bursts. Setting both to the same value removes burst headroom for exactly the Pods least likely to have been tuned by their author.

It blocks NodePort Services entirely in that namespace — a policy enforcement lever, not a resource cap. It shows ResourceQuota isn’t just about compute; it’s a general per-namespace admission gate that can control which types of objects are allowed.

Yes — a ResourceQuota with scopeSelector (matching by PriorityClass or built-in scopes like BestEffort/Terminating) lets you apply different quotas to different subsets of Pods. Multiple scoped ResourceQuota objects can coexist in the same namespace, each enforcing its own limits.

No. Both only act at admission time. Changing a LimitRange’s default or a ResourceQuota’s hard ceiling never retroactively touches Pods already running — only new Pod creations are affected.

Topic: Secret Management & GitOps (Order 15)

The object’s namespace and name are fed as an RSA-OAEP label directly into the cryptographic scheme. Decryption with the wrong label produces a cryptographic failure, not just a policy rejection — there’s no “does this namespace match” if statement to bypass.

SealedSecrets encrypts the value client-side into ciphertext safe to commit — the value lives in git, encrypted. External Secrets Operator never puts the value in git at all; the committed ExternalSecret is just a reference to an external store, and the controller fetches the live value on a refreshInterval.

RSA-OAEP has a maximum plaintext size tied to the key size — far too small for real secret payloads (TLS private keys, JSON credential blobs). The hybrid scheme generates a random one-time AES-256 key, encrypts the payload with that, and only RSA-encrypts the small AES key itself.

External Secrets Operator re-fetches on every refreshInterval tick. A credential rotated in AWS Secrets Manager doesn’t reach the cluster instantly — it reaches it within one refreshInterval window, which is a real latency characteristic to design around.

StrictScope (the default) binds ciphertext to the exact namespace/name — strongest blast-radius containment but the SealedSecret can’t be moved. ClusterWideScope sets an empty RSA-OAEP label, allowing portability across namespaces but giving up the cryptographic namespace binding.

Yes — once it creates the target Secret object, that Secret lives in etcd (base64-encoded, encrypted at rest only if etcd encryption-at-rest is configured). The distinction is about git: the ExternalSecret in the repo never contained the value; the real Secret it produces follows normal Kubernetes storage semantics.

A stray kubectl create secret or an un-migrated raw Secret manifest applied directly, bypassing both mechanisms. Either approach’s guarantee only holds if it’s the only path secrets enter the cluster through — one raw Secret in the GitOps flow defeats the whole point.


Last updated: July 2026 Total Q&A: 111 across Kubernetes

Back to Q&A Index