What changed from the notes
The lessons draw on a set of numbered study notes. Every claim in them was checked against upstream Kubernetes 1.37, AWS and project documentation as of 19 November 2026, and the 686 below did not hold as written. Each names the claim, the corrected statement, the source it was checked against and the lessons that cover it.
- Stale
- 186
- True once; a release, deprecation or retirement has moved past it.
- Wrong
- 231
- Not accurate when it was written.
- Nuance
- 269
- Holds, with a qualification or detail the note leaves out.
The changes that matter most
Guides, courses and answers written before these changes still teach the earlier behaviour. These are the corrections most likely to break something built from them.
Upstream Kubernetes
Docker Engine is not a Kubernetes runtime
dockershim was deprecated in 1.20 and removed in 1.24. The kubelet speaks CRI to a runtime such as containerd or CRI-O; Docker Engine works only through the external cri-dockerd adapter, and container logs on the node are in CRI format, not Docker's JSON.
PodSecurityPolicy was removed in 1.25
The built-in PodSecurity admission controller became stable in the same release. Namespaces choose a Pod Security Standard with the
pod-security.kubernetes.io/enforce,auditandwarnlabels, and Baseline forbids hostPath volumes outright.ingress-nginx is retired and the Ingress API is frozen
SIG Network retired ingress-nginx: maintenance ended in March 2026 and the repository is archived, with no further releases or security fixes. The Kubernetes project recommends Gateway API in place of Ingress.
EndpointSlices replace Endpoints
EndpointSlice has been GA since 1.21 and is what kube-proxy reads; the v1 Endpoints API is deprecated since 1.33. A pod that fails its readiness probe stays in its slice, marked
ready: false.IPVS is deprecated and nftables is the scalable mode
kube-proxy's IPVS mode is deprecated since 1.35. nftables mode, GA since 1.33, is the recommended mode for large clusters, and userspace mode was removed in 1.26.
The kubelet expects cgroup v2
From 1.35 the kubelet refuses to start on a cgroup v1 host unless
failCgroupV1: falseis set. In-place pod resize needs cgroup v2 as well.Sidecars are a built-in container type
Native sidecars, init containers with
restartPolicy: Always, are GA in 1.33. They start before the main containers, run beside them and stop after them, so a sidecar does not keep a Job from completing.Pods resize in place
In-place pod resize is GA in 1.35: CPU and memory requests and limits change through the
pods/resizesubresource without recreating the pod, within each container'sresizePolicy. Editing a Deployment's pod template still rolls its pods.Removed API versions fail to apply
PodDisruptionBudgets at
policy/v1beta1were removed in 1.25, and KMS v1 encryption is disabled by default from 1.29. Projects retire their betas too: Karpenter v1.1.0 droppedkarpenter.sh/v1beta1, and External Secrets Operator v0.17.0 stopped servingexternal-secrets.io/v1beta1.Cloud provider code left the core in 1.31
In-tree cloud providers were removed in 1.31. The service controller that creates load balancers runs in the provider's cloud-controller-manager, not in kube-controller-manager.
LessonControl plane and nodes
From notes12
A PodDisruptionBudget only limits evictions
PDBs gate the Eviction API:
kubectl drain, autoscaler node removal and node upgrades. Rolling updates and HPA scale-down delete pods without consulting them, and a node failure only counts against the budget.
On AWS
Access entries replace the aws-auth ConfigMap
AWS marks the aws-auth ConfigMap as deprecated and recommends access entries. The cluster's
authenticationModedecides whether EKS reads the ConfigMap, access entries or both, and a cluster that moves to a mode with access entries cannot move back.Pod Identity is the default for AWS access from pods
AWS recommends EKS Pod Identity whenever possible: no OIDC provider, and an association maps an IAM role to a service account. IRSA remains for Fargate, Windows nodes, Outposts, EKS Anywhere and clusters outside EKS.
Amazon Linux 2 node images reached end of support
EKS AL2 AMIs reached end of support on 2025-11-26, and Kubernetes 1.32 was the last version with them. Nodes run AL2023, configured with nodeadm, or Bottlerocket.
LessonNodes and the kubelet
A LoadBalancer Service never creates an ALB
On EKS a LoadBalancer Service gets an NLB from the AWS Load Balancer Controller or EKS Auto Mode, or a Classic Load Balancer from the legacy cloud provider. ALBs come only from Ingress or Gateway API.
Every correction, by note
Each entry marks the note's claim with a dashed ring and what holds with a solid one, as desired and actual state are drawn across the site.
Showing all 686 corrections
No corrections match these filters.
Note 1DNS Fundamentals
- The note said
- Alias records don't incur additional query charges (also flagged: presents alias queries as generally free)
- What holds
- Route 53 does not charge for alias queries whose target is an AWS resource (ELB, CloudFront, S3 website endpoint, API Gateway, VPC interface endpoint, Global Accelerator, App Runner, Elastic Beanstalk, OpenSearch Service, AppSync). An alias that targets another record in the same hosted zone is billed like a normal query.
Note 2DNS Record Types
- The note said
- Reverse DNS for Elastic IPs is requested through AWS Support
- What holds
- Self-service: EC2 console (Elastic IPs > Actions > Update reverse DNS) or
aws ec2 modify-address-attribute --allocation-id <id> --domain-name <name>. A forward A record to the EIP must exist first, and the EIP is locked to the account while a PTR is set. Only GovCloud (US) still requires a support case.
- The note said
- CAA record … relatively newer record type
- What holds
- CAA was defined in RFC 6844 (January 2013). CA/Browser Forum Ballot 187 made CAA checking mandatory for public CAs from 2017-09-08. RFC 8659 (November 2019) obsoletes RFC 6844.
- The note said
- Alias targets: ELB, CloudFront, S3 website, same-zone records, API Gateway, VPC interface endpoints, Global Accelerator
- What holds
- The list is incomplete. Current alias targets also include App Runner services, Elastic Beanstalk environments, OpenSearch Service custom domains and AppSync domain names.
- The note said
- Alias pricing: 'you pay for the alias record query, not for resolving the target'
- What holds
- Alias queries to AWS-resource targets are free. Only aliases to another Route 53 record are billed.
- The note said
- Pods can query SRV records to get hostnames and ports of individual pods
- What holds
- SRV records exist only for named Service ports (port-name.proto.svc.ns.svc.cluster.local). For a normal Service the target is the Service's own name. Only a headless Service returns one answer per backing Pod (hostname.svc.ns.svc.cluster.local).
Note 3AWS Route 53
- The note said
- Geoproximity routing is only available with Route 53 Traffic Flow (two entries)
- What holds
- Since 2024-01-10 geoproximity is a standard routing policy for records in public and private hosted zones, available through the console, API, CLI and SDK. Only the bias map visualization is limited to Traffic Flow.
- The note said
- Multivalue: up to eight healthy records; Route 53 returns all healthy values (two entries)
- What holds
- You can create more than eight multivalue records. Route 53 answers each query with up to eight healthy records and gives different answers to different resolvers. With eight or fewer healthy records it returns all of them. If every record is unhealthy it returns up to eight unhealthy records.
Note 4DNS Security and Operations
- The note said
- systemd-resolve --flush-caches on Linux with systemd
- What holds
- systemd 239 renamed the tool to resolvectl. Use
resolvectl flush-caches. Thesystemd-resolvename survives only as a compatibility name on older installs.
Note 5Container Fundamentals
- The note said
- Dropping Docker support just removed the shim so Kubernetes talks directly to containerd (two entries)
- What holds
- dockershim was deprecated in v1.20 and removed in v1.24. The kubelet talks CRI to any CRI runtime, such as containerd or CRI-O. Docker Engine works only through the external cri-dockerd adapter maintained by Mirantis.
- The note said
- In modern Linux systems, cgroups v2 provides a unified hierarchy
- What holds
- True. Kubernetes context: from v1.35 the kubelet refuses to start on cgroup v1 unless
failCgroupV1: falseis set. On EKS, AL2023 uses cgroup v2; Bottlerocket 1.35 uses v2 but sets failCgroupV1: false; Fargate still uses v1. Removal of the v1 fallback (KEP-5573) is placed at v1.38 only by secondary sources and is unconfirmed.
- The note said
- User namespace: a process can be root inside its namespace but unprivileged on the host
- What holds
- True for the kernel feature. Kubernetes pod user namespaces (
hostUsers: false) are GA in v1.36 and remain opt-in per Pod.
- The note said
- Implies user namespaces are part of normal container isolation
- What holds
- They are off by default. Docker userns-remap is a daemon-level opt-in, and Kubernetes needs
hostUsers: falseon each Pod (GA in v1.36). Without them, root in a container is host UID 0, limited by capabilities, seccomp and LSMs.
- The note said
- Lambda runs function code in containers internally
- What holds
- Lambda isolates execution environments in Firecracker microVMs. Container images are only a packaging format.
Note 6Docker Architecture
- The note said
- overlay2 is the default; aufs, btrfs and devicemapper are available
- What holds
- aufs was removed in Docker Engine v24.0 and devicemapper in v25.0. Fresh installs of Docker Engine 29.0+ default to the containerd image store (snapshotters). Upgraded hosts keep overlay2 until switched.
- The note said
- Docker Hub provides free public repositories and paid private repositories
- What holds
- Plans change. Pull limits: unauthenticated users get 100 pulls per 6 hours per IPv4 address or IPv6 /64, Personal accounts 200 per 6 hours, and Pro/Team/Business are unlimited under fair use. Hitting a limit gives
toomanyrequestsand ImagePullBackOff. Per-plan private-repo allowances were not re-verified.
- The note said
- nginx:1.21 / nginx:1.21.6 examples
- What holds
- 1.21 is a 2021 mainline branch. The current stable branch is 1.30 (first released 2026-04-14) and mainline is 1.31.
- The note said
- Digest is a hash of the image configuration and layers
- What holds
- The digest is the SHA-256 of the image manifest, or of the image index for multi-platform images. The manifest lists the config and layer digests, so the digest covers them indirectly.
Note 7Dockerfiles Deep Dive
- The note said
- FROM ubuntu:22.04, python:3.11-slim, golang:1.21
- What holds
- Current versions are Ubuntu 26.04 LTS (2026-04-23), Python 3.15 (2026-10-09) and Go 1.27 (2026-08-19). Go 1.25 is no longer supported.
- The note said
- BuildKit, Docker's modern build backend
- What holds
- BuildKit is the default builder for Docker Desktop and Docker Engine users. The current page does not name the Engine version where it became the default.
- The note said
- The older syntax ENV MY_VAR value is still supported
- What holds
- It is supported for backward compatibility but deprecated. The LegacyKeyValueFormat build check warns about it, and the Dockerfile reference says it may be removed in a future release. Use
ENV KEY=value.
- The note said
- Each instruction in the Dockerfile creates a layer
- What holds
- Only instructions that change files create layers: RUN, COPY, ADD, and WORKDIR when it creates a directory. EXPOSE, CMD, ENV and similar only set image metadata.
- The note said
- Every Dockerfile must start with a FROM instruction
- What holds
- FROM can come after parser directives, comments and global ARGs. ARG is the only instruction allowed before FROM.
- The note said
- If you don't specify ENTRYPOINT, it defaults to an empty value
- What holds
- If you don't set ENTRYPOINT, the image inherits the base image's ENTRYPOINT. Setting ENTRYPOINT clears an inherited CMD.
- The note said
- HEALTHCHECK is used by orchestrators
- What holds
- Docker and Swarm use HEALTHCHECK. Kubernetes uses the liveness, readiness and startup probes in the Pod spec (exec, grpc, httpGet, tcpSocket). I found no primary Kubernetes page that says outright that HEALTHCHECK is ignored.
- The note said
- EXPOSE is used by some orchestration systems for networking
- What holds
- EXPOSE does not publish a port. It documents the port and is used by
docker run -P. Kubernetes does not use it, and containerPort is informational too.
Note 8Docker Networking
- The note said
- When you run docker-compose up
- What holds
- Compose V1 (
docker-compose) stopped receiving updates in July 2023. Usedocker compose up.
- The note said
- Overlay networks are primarily used with Docker Swarm
- What holds
- Multi-host overlay networks still need Swarm mode, and standalone containers can join only if the network was created with
--attachable. Most multi-host container networking now runs on Kubernetes CNIs.
- The note said
- The docker-iptables-reload command can restore Docker's expected rules
- What holds
- Docker documents no such command, and its packet-filtering docs only say not to modify Docker's rules. Restarting dockerd recreates its chains, though that page doesn't say so.
- The note said
- Compose expose controls which ports peers can reach
- What holds
- Containers on the same user-defined network can reach every listening port of their peers.
exposeis documentation only.
Note 9Docker Volumes and Compose
- The note said
- A compose file is named docker-compose.yml by default
- What holds
- The default is compose.yaml (preferred) or compose.yml. docker-compose.yaml and docker-compose.yml are still read for backward compatibility.
- The note said
- docker-compose up / down / logs / exec / build
- What holds
- Use the Compose V2 plugin:
docker compose up/down/logs/exec/build.
- The note said
- Synchronization strategies (cached, delegated, or the newer VirtioFS)
- What holds
- VirtioFS is the default file sharing implementation in Docker Desktop for Mac, with gRPC FUSE as the alternative. Official docs don't confirm whether the cached/delegated flags do anything under VirtioFS.
- The note said
- image: postgres:15
- What holds
- postgres:15 is several major versions behind. PostgreSQL 19 was at Beta 4 on 2026-09-24, and whether it reached GA by 2026-11-19 is unconfirmed. Pin to the newest GA major.
- The note said
- The basic structure of a compose file includes a version declaration
- What holds
- The top-level
versionkey is obsolete. It is informative only and triggers a warning, and Compose always validates against the newest schema.
- The note said
- You can specify just a container port to expose it to other containers without publishing it to the host
- What holds
ports: ["80"]publishes the port on a host port the runtime picks automatically. For internal-only access, useexposeor omit ports.
- The note said
- docker volume inspect shows which containers use the volume
- What holds
- Its output is CreatedAt, Driver, Labels, Mountpoint, Name, Options and Scope. To find containers that use a volume, run
docker ps -a --filter volume=<name>.
Note 10Container Security
- The note said
- Basic scanning uses the Clair database
- What holds
- ECR basic scanning uses AWS native technology with more than 50 data feeds. Clair is deprecated: the ECR document history records every account migrated to AWS native basic scanning as of 2026-02-02 (an earlier notice gave 2025-10-01).
- The note said
- Docker Content Trust provides image signing
- What holds
- Docker announced the retirement of DCT (Notary v1) on 2025-07-29. Docker Official Images signing certificates began expiring on 2025-08-08, and pulls with DOCKER_CONTENT_TRUST=1 fail for those images. Use Sigstore cosign or Notation instead. Final shutdown dates are not confirmed from a primary source.
- The note said
- Configure the application to use non-privileged ports (above 1024) (two entries)
- What holds
- Unprivileged ports are those >= 1024, so 1024 itself is unprivileged. Docker sets net.ipv4.ip_unprivileged_port_start=0 in container network namespaces, and the containerd 2.0 CRI plugin does the same by default (enable_unprivileged_ports = true). Non-root processes can therefore bind low ports in containers that don't use the host network.
- The note said
- Docker secrets only work with Swarm, not standalone Docker (two entries)
- What holds
- Docker Compose supports secrets without Swarm. They are mounted read-only at /run/secrets/<name> in Linux containers.
Note 11Kubernetes Why and What
- The note said
- More recently, Kubernetes standardized on CRI / dropped Docker support
- What holds
- CRI dates from 2016. dockershim was deprecated in v1.20 (2020) and removed in v1.24 (2022).
- The note said
- kube-proxy handles network routing
- What holds
- kube-proxy programs Service virtual-IP translation using iptables, nftables or IPVS. Routing Pod-to-Pod traffic is the CNI's job.
Note 12Kubernetes Control Plane
- The note said
- Authentication integrates with IAM via the aws-auth ConfigMap
- What holds
- AWS docs mark the aws-auth ConfigMap as deprecated and recommend access entries. authenticationMode is CONFIG_MAP, API_AND_CONFIG_MAP or API. It defaults to CONFIG_MAP through the EKS API, SDKs and CloudFormation, and to API_AND_CONFIG_MAP in the console. Once a cluster uses the EKS API mode, it can't switch back.
- The note said
- Control plane scaling … etcd maintains replicas in each zone
- What holds
- EKS runs at least two API server instances and three etcd instances across three AZs. It has replaced etcd's Raft consensus with an internal journal service. Optional Provisioned Control Plane tiers (XL, 2XL, 4XL, 8XL) pre-allocate capacity.
- The note said
- CloudWatch captures API server audit, controller manager and scheduler logs
- What holds
- There are five log types, all off by default: api, audit, authenticator, controllerManager and scheduler.
- The note said
- Service controller (LoadBalancer provisioning) listed under kube-controller-manager
- What holds
- In-tree cloud providers were removed in v1.31. The service controller runs in the cloud-controller-manager.
- The note said
- The cloud service controller provisions an NLB or ALB
- What holds
- The AWS cloud provider creates Classic Load Balancers by default, NLBs only through an annotation, and gets critical fixes only. ALBs come from the AWS Load Balancer Controller (Ingress or Gateway API) or from EKS Auto Mode.
- The note said
- Control-plane-to-node communication needs no inbound connectivity on nodes
- What holds
- The API server connects to the kubelet on TCP 10250 for logs, exec, attach and port-forward. The minimum cluster security group rules are 443, 10250 and 53.
- The note said
- Reads can be served from any etcd instance
- What holds
- Consistent reads use an etcd quorum read. Consistent LISTs are served from the API server watch cache after a quorum read confirms the latest revision (KEP-2340, stable in v1.34).
Note 13Kubernetes Worker Nodes
- The note said
- IPVS mode is recommended for large clusters
- What holds
- IPVS is deprecated since v1.35. The docs say it is disabled by default from v1.40 (re-enable with the KubeProxyIPVS gate) and removed in v1.43, while the 2026-11-16 blog plans removal in v1.40. Use nftables mode (GA in v1.33), which on EKS needs 1.33+, is recommended from 1.36, and needs VPC CNI v1.23.0+.
- The note said
- Kube-proxy watches the API server for Service and Endpoint changes
- What holds
- kube-proxy consumes EndpointSlices. The v1 Endpoints API is deprecated as of v1.33.
- The note said
- Docker can still be used through a deprecated compatibility layer
- What holds
- dockershim was removed in v1.24. Docker Engine now needs the external cri-dockerd adapter.
- The note said
- The EKS-optimized AMIs include a bootstrap script
- What holds
- EKS AL2 AMIs reached end of support on 2025-11-26, and 1.32 was the last version with AL2 AMIs. AL2023 AMIs use nodeadm with a NodeConfig, and Bottlerocket uses TOML settings.
- The note said
- EKS-optimized AMIs include default resource reservations based on instance type
- What holds
- On AL2023, nodeadm computes kubelet reservations from the instance type. The current formula was not re-verified.
- The note said
- If the node needs to drain for maintenance, the kubelet evicts pods gracefully
- What holds
- Drains run client-side (kubectl drain, Karpenter, managed node groups) through the Eviction API, which honours PDBs. The kubelet only does node-pressure eviction, which ignores PDBs and terminationGracePeriodSeconds.
- The note said
- AWS Fargate eliminates nodes entirely
- What holds
- There are no nodes to manage, but each Fargate Pod runs on its own fargate-ip-… Node object.
Note 14Kubernetes Networking
- The note said
- Weave Net creates a mesh overlay network
- What holds
- Weaveworks shut down in February 2024 and archived weaveworks/weave on 2024-06-20. Only community forks remain.
- The note said
- The Endpoints object (or EndpointSlice in newer clusters)
- What holds
- EndpointSlice has been GA since v1.21 and is the primary API. v1 Endpoints is deprecated since v1.33.
- The note said
- IPVS mode handles large numbers of services more efficiently
- What holds
- IPVS is deprecated since v1.35. nftables (GA in v1.33) is the recommended scalable mode.
- The note said
- VPC CNI doesn't enforce Network Policies; deploy Calico (three entries incl. self-contradiction)
- What holds
- The VPC CNI has enforced NetworkPolicy natively since v1.14 (August 2023), enabled with the enableNetworkPolicy add-on setting through an eBPF node agent. Current docs require v1.21+ for both standard and admin network policies.
- The note said
- The source IP pods see is often the node's IP due to SNAT
- What holds
- Pod-to-ClusterIP traffic is redirected without rewriting the client IP. SNAT applies to NodePort and LoadBalancer traffic with externalTrafficPolicy: Cluster, to hairpin traffic, and to egress leaving the VPC.
- The note said
- kube-proxy intercepts the connection and redirects it
- What holds
- Kernel iptables, nftables or IPVS rules do the redirecting, and kube-proxy only programs them. Userspace mode was removed in v1.26.
Note 15Amazon EKS Architecture
- The note said
- EKS supports each version for about 14 months
- What holds
- Each version gets 14 months of standard support, then 12 months of extended support. Extended support is on by default and costs $0.60 per cluster-hour instead of $0.10. As of 2026-11-19, standard support covers 1.34-1.37 and extended support covers 1.31-1.33.
- The note said
- EKS-optimized Amazon Linux AMI … bootstrap script
- What holds
- EKS AL2 AMIs ended support on 2025-11-26 (1.32 was the last). Use AL2023 with nodeadm, or Bottlerocket.
- The note said
- kube-proxy: both iptables and IPVS modes are supported
- What holds
- The EKS kube-proxy add-on supports iptables (the default) and nftables (EKS 1.33+). IPVS is deprecated upstream.
- The note said
- aws-auth maps IAM entities; IRSA lets pods assume IAM roles
- What holds
- Access entries replace aws-auth. AWS recommends EKS Pod Identity whenever possible. IRSA is still needed on Fargate, Windows EC2, Outposts, EKS Anywhere and non-EKS clusters, where Pod Identity isn't available.
- The note said
- Control plane scaling happens automatically
- What holds
- True in Standard mode, the default. Optional Provisioned Control Plane tiers (XL, 2XL, 4XL, 8XL) pre-allocate capacity and are billed hourly per tier.
- The note said
- The AWS Load Balancer Controller (installed separately)
- What holds
- True for standard clusters. EKS Auto Mode has built-in ALB/NLB provisioning (IP target mode by default) and supports Gateway API.
- The note said
- Cluster federation
- What holds
- SIG Multicluster archived KubeFed (planned for 2023-01-03). Multi-cluster management now uses GitOps or fleet tooling.
- The note said
- Kubernetes releases new versions approximately quarterly
- What holds
- Since v1.22 (2021), Kubernetes ships three minor releases a year in roughly 15-week cycles.
- The note said
- Warm IP pool trades memory usage against pod startup latency
- What holds
- The warm pool trades idle VPC IP addresses and ENIs, which consume subnet capacity, for faster Pod startup. It is tuned with WARM_ENI_TARGET, WARM_IP_TARGET and MINIMUM_IP_TARGET.
- The note said
- Lists AWS Distro for OpenTelemetry and ADOT as two different add-ons
- What holds
- They are the same product and the same EKS add-on.
Note 16EKS Networking Deep Dive
- The note said
- VPC CNI doesn't enforce network policies; deploy Calico in policy-only mode (two entries)
- What holds
- The VPC CNI has enforced NetworkPolicy natively since v1.14 (August 2023), enabled with enableNetworkPolicy.
- The note said
- For Service type LoadBalancer, the controller creates Network Load Balancers by default
- What holds
- This holds only for new Services when the LBC v2.5+ service mutating webhook is on (it is by default). The webhook sets loadBalancerClass: service.k8s.aws/nlb. LBC NLBs are internal unless the aws-load-balancer-scheme annotation is internet-facing (internal has been the default since v2.2.0). Without the LBC, the legacy cloud provider creates Classic Load Balancers.
- The note said
- Prefix delegation is a newer option
- What holds
- Prefix delegation has been available since VPC CNI 1.9.0 (2021) and requires Nitro-based instances.
- The note said
- IAM Roles for Service Accounts provides the LBC's permissions
- What holds
- EKS Pod Identity also works and is AWS's recommended default. EKS Auto Mode needs no controller install at all.
- The note said
- The annotation-driven model … dozens of other options
- What holds
- LBC Gateway API support is GA per an AWS post dated 2026-03-06; the exact LBC version is unconfirmed. Ingress NGINX was retired in March 2026, and Kubernetes recommends migrating to Gateway API.
- The note said
- CloudTrail and VPC Flow Logs capture traffic
- What holds
- CloudTrail records AWS API calls, not traffic. Only VPC Flow Logs record traffic metadata.
- The note said
- IP mode preserves client IP addresses naturally
- What holds
- For NLB IP-type target groups using TCP or TLS, client IP preservation is off by default; turn on preserve_client_ip.enabled or use proxy protocol v2. An ALB never preserves the L3 client IP; read X-Forwarded-For instead.
- The note said
- Instance mode loses the client IP
- What holds
- The NLB preserves the client IP for instance targets by default. The IP is lost to kube-proxy SNAT when externalTrafficPolicy is Cluster; use Local to keep it.
- The note said
- Pods in public subnets use their ENI's public IP
- What holds
- Pod secondary IPs never get public IPs. For traffic leaving the VPC, the CNI SNATs the Pod IP to the node's primary private IP (AWS_VPC_K8S_CNI_EXTERNALSNAT=false).
- The note said
- Same-node pod communication goes over the node's internal bridge
- What holds
- The VPC CNI gives each Pod a veth pair with a /32 host route and uses no Linux bridge.
- The note said
- t3.micro pod limit: '2 ENIs with 2 IPs each, about 4 pods'
- What holds
- The number 4 is right but the derivation is not. Max pods = ENIs x (IPs per ENI - 1) + 2 = 2 x 1 + 2 = 4.
Note 17EKS Security and IAM
- The note said
- EKS uses the aws-auth ConfigMap; consider EKS Access Entries (a newer feature)
- What holds
- AWS docs mark aws-auth as deprecated, and access entries are the recommended method. authenticationMode defaults to CONFIG_MAP through the EKS API, SDKs and CloudFormation, and to API_AND_CONFIG_MAP in the console. A cluster can't switch back from a mode that uses access entries.
- The note said
- Secrets stored base64-encoded in etcd, not encrypted; in EKS, AWS manages etcd with encryption at rest
- What holds
- Upstream Kubernetes still stores Secrets unencrypted at the API layer by default. Since 2025-03-05, EKS envelope-encrypts all Kubernetes API data for clusters on 1.28+, using KMS v2 and an AWS-owned key unless you supply your own.
- The note said
- IRSA is the recommended approach for AWS access from pods
- What holds
- AWS recommends EKS Pod Identity whenever possible. Keep IRSA for Fargate, Windows EC2, Outposts, EKS Anywhere and non-EKS clusters, and for setups that federate one role trust across clusters through OIDC.
- The note said
- Standard policies AmazonEKSClusterAdminPolicy, AmazonEKSAdminPolicy, AmazonEKSViewPolicy
- What holds
- The list is incomplete. Other access policies include AmazonEKSEditPolicy, AmazonEKSAdminViewPolicy, AmazonEKSSecretReaderPolicy and AmazonEKSSecretAdminPolicy, the Auto Mode and Hybrid policies, and Argo CD, ACK and KRO policies.
- The note said
- RBAC can allow mounting secrets but not reading them directly
- What holds
- Anyone who can create Pods in a namespace can mount and read every Secret in it, and so can anyone who can create workloads such as Deployments there.
- The note said
- Control plane log type descriptions (audit vs api vs authenticator)
- What holds
- The audit log records individual API requests from users, administrators and system components. The api log is kube-apiserver component output, and the authenticator log covers IAM authentication.
- The note said
- Recommends security context constraints
- What holds
- SCCs exist only in OpenShift. Kubernetes uses securityContext together with Pod Security Admission or a policy engine.
Note 18Pods Deep Dive
- The note said
- Unlike sidecar containers that run alongside the application, init containers complete and exit
- What holds
- Native sidecars are initContainers with restartPolicy: Always and keep running alongside the app. They have been stable since v1.33.
- The note said
- Memory limits are enforced strictly
- What holds
- Memory limits are still enforced by OOM kill. In-place Pod resize (GA in v1.35, needs cgroup v2) lets you change requests and limits without restarting the Pod.
- The note said
- Probe mechanisms: HTTP, TCP, exec
- What holds
- gRPC probes are a fourth mechanism, GA since v1.27.
- The note said
- Pod conditions: PodScheduled, Initialized, ContainersReady, Ready
- What holds
- Current releases add PodReadyToStartContainers (stable since v1.37), DisruptionTarget, PodResizePending and PodResizeInProgress.
- The note said
- Always is the default restartPolicy for pods created by controllers
- What holds
- Always is the default restartPolicy for every Pod. Workload controllers such as Deployments accept only Always.
- The note said
- Pods that fail might be restarted depending on restart policy
- What holds
- Failed is a terminal phase. Under Always or OnFailure the kubelet restarts the container in place with exponential backoff (CrashLoopBackOff), and the Pod stays Running.
- The note said
- Pods stuck in ContainerCreating usually mean image pull issues
- What holds
- A failed pull shows as ErrImagePull or ImagePullBackOff; a slow pull of a large image does show ContainerCreating. A Pod stuck in ContainerCreating usually means the sandbox, networking (CNI/IP) or volume mounts failed, which are the prerequisites for PodReadyToStartContainers.
- The note said
- Readiness probes should check shared dependencies such as the database
- What holds
- Kubernetes docs do suggest readiness checks for strict back-end dependencies. The risk, which those docs don't state, is that one shared-dependency failure marks every replica unready at once and empties the Service.
- The note said
- BestEffort pods are the first to be evicted
- What holds
- The kubelet doesn't use QoS class to order evictions. It ranks Pods by whether usage exceeds requests, then by priority, then by usage relative to requests. QoS class sets the OOM-killer adjustment (oom_score_adj 1000 for BestEffort).
Note 19Deployments and ReplicaSets
- The note said
- With 10 replicas, maxSurge 25% allows 12-13 pods; maxUnavailable 25% allows 7-8 pods
- What holds
- maxSurge rounds up (2.5 -> 3, so at most 13 Pods) and maxUnavailable rounds down (2.5 -> 2, so at least 8 available). There is no range.
- The note said
- Deployments handle selector changes when you change labels in the pod template
- What holds
- In apps/v1 a Deployment's selector is immutable after creation, and template labels must match it. Changing the selector means deleting and recreating the Deployment (use --cascade=orphan to keep its Pods).
- The note said
- PDBs protect against disruptions like drains or deployments
- What holds
- PDBs apply only to the Eviction API. Rolling updates are not limited by PDBs; maxUnavailable governs them.
- The note said
- Rollout is strictly add new, wait ready, then remove old
- What holds
- When maxUnavailable > 0, the controller scales the old ReplicaSet down in the same step as it scales the new one up.
Note 20Kubernetes Services
- The note said
- The Endpoints object (or EndpointSlice in newer clusters) … the Endpoints controller
- What holds
- The EndpointSlice API and controller are primary. v1 Endpoints has been deprecated since v1.33.
- The note said
- IPVS performs better at scale than iptables
- What holds
- IPVS is deprecated since v1.35. nftables mode outperforms both iptables and IPVS and is the recommended replacement.
- The note said
- In EKS with the AWS Load Balancer Controller, a LoadBalancer Service creates an NLB by default
- What holds
- Only new Services get an NLB by default, through the LBC v2.5+ mutating webhook (on by default), which sets loadBalancerClass service.k8s.aws/nlb. The scheme defaults to internal. The legacy cloud provider creates Classic Load Balancers.
- The note said
- In EKS, annotations control whether you get an NLB or ALB
- What holds
- A LoadBalancer Service never produces an ALB. ALBs come from Ingress or Gateway API through the LBC or EKS Auto Mode.
- The note said
- Selector-less Services are wired by manually managing the Endpoints object
- What holds
- Create EndpointSlices labelled kubernetes.io/service-name=<service>. The Endpoints API is deprecated and its mirroring is deprecated too.
- The note said
- Each port gets a name
- What holds
- Port names are required only when a Service has more than one port.
- The note said
- LoadBalancer traffic always flows LB -> NodePort -> pod
- What holds
- With IP targets (LBC or EKS Auto Mode) the load balancer sends traffic straight to Pod IPs. Setting allocateLoadBalancerNodePorts: false skips NodePort allocation for such implementations.
Note 21Ingress and Load Balancing
- The note said
- NGINX Ingress Controller presented as a current Ingress controller option
- What holds
- SIG Network and the Security Response Committee retired ingress-nginx (announced 2025-11-11, best-effort maintenance until March 2026). The last releases were controller-v1.15.1 and controller-v1.14.5 on 2026-03-19 and the kubernetes/ingress-nginx repository is archived: no further releases, bug fixes or security fixes. Existing installs keep running and artifacts stay downloadable. Teach it only as a migration source and point to Gateway API implementations or another maintained Ingress controller (on EKS: AWS Load Balancer Controller or EKS Auto Mode).
- The note said
- The note covers only Ingress and never mentions Gateway API
- What holds
- The Kubernetes docs state the Ingress API is frozen and the project recommends Gateway API instead. AWS Load Balancer Controller added Gateway API L7 (ALB) support as beta in v2.14.0 and declared it GA in v3.0.0 (2026-01-23) after a v2.17.0 release candidate; EKS docs state LBC v2.14.0 or later creates an ALB for a Gateway. EKS Auto Mode also supports Gateway API (HTTPRoute, GRPCRoute, TCPRoute, UDPRoute; GatewayClass controller eks.amazonaws.com/gateway-alb) with nothing to install. Lessons should present Gateway API as the forward path and Ingress as frozen.
- The note said
- Path rewriting: 'The AWS Load Balancer Controller supports rewriting through annotations'
- What holds
- True only from LBC v2.14.1 (2025-10-17), which builds on the ALB URL and host-header rewrite launched in October 2025; older controllers have no rewrite. Syntax: annotation alb.ingress.kubernetes.io/transforms.<name>, where <name> must match the backend service name, holding a JSON list of transforms of type url-rewrite (urlRewriteConfig.rewrites[{regex, replace}]) or host-header-rewrite (hostHeaderRewriteConfig.rewrites[…]). Regex path matching is a separate annotation, alb.ingress.kubernetes.io/use-regex-path-match. Gateway API HTTPRoute URLRewrite filters are supported from LBC v2.15.0.
- The note said
- 'The controller assigns priorities based on rule specificity and explicit priority annotations'
- What holds
- There is no per-rule priority annotation for Ingress. Across Ingresses in an IngressGroup, alb.ingress.kubernetes.io/group.order (-1000 to 1000, default 0, lower evaluated first, ties sorted lexicographically by namespace/name) orders the rules. Within one Ingress, since LBC v2.4.3, rules are ordered by specificity: pathType Exact first, then Prefix with the longest prefix first, then ImplementationSpecific in manifest order. The suspected correction ('then the order of rules within each Ingress') is itself outdated for Exact/Prefix paths.
- The note said
- Certificate discovery: if hosts are set and no certificate is given, the controller searches ACM
- What holds
- Accurate for current LBC (v3.x): when neither the alb.ingress.kubernetes.io/certificate-arn annotation nor IngressClassParams spec.certificateArn is set, the controller discovers ACM certificates from hostnames in spec.tls[].hosts and spec.rules[].host. Lessons must add that an HTTPS listener still has to be declared explicitly with alb.ingress.kubernetes.io/listen-ports.
- The note said
- AWS LBC is 'the natural choice' for Ingress on EKS
- What holds
- On EKS clusters without Auto Mode, the self-installed AWS Load Balancer Controller (v3.x line, latest v3.6.3) provisions ALB/NLB for Ingress, Service and Gateway API. On EKS Auto Mode clusters load balancing is built in: an IngressClass with spec.controller eks.amazonaws.com/alb plus an IngressClassParams (apiVersion eks.amazonaws.com/v1), or GatewayClass eks.amazonaws.com/gateway-alb for Gateway API, with no controller to install. Lessons should present both paths.
- The note said
- IP mode 'preserves client IP addresses naturally'
- What holds
- An ALB terminates the client connection in both instance and IP target modes, so the pod sees an ALB node address as the source IP. The client IP is delivered in the X-Forwarded-For header (default routing.http.xff_header_processing.mode=append). IP mode removes the extra kube-proxy/NodePort hop; it does not preserve the client source IP.
- The note said
- ALB health checks treat '2xx by default' as healthy
- What holds
- The ALB target group Matcher (alb.ingress.kubernetes.io/success-codes) defaults to 200 for HTTP/HTTP2 and 12 for gRPC. Ranges such as 200-299 must be set explicitly.
- The note said
- 'The startup grace period annotation delays initial health checks'
- What holds
- The LBC Ingress annotation reference has no startup or grace-period annotation for ALB target groups. Slow starters are handled with LBC pod readiness gates (label the namespace elbv2.k8s.aws/pod-readiness-gate-inject: enabled; IP targets only) together with Kubernetes startup/readiness probes. alb.ingress.kubernetes.io/target-group-attributes: slow_start.duration_seconds=N ramps the share of requests sent to a newly healthy target; it does not delay health checks.
Note 22ConfigMaps and Secrets
- The note said
- 'EKS encrypts etcd at rest by default. You can enable envelope encryption with KMS for additional control.'
- What holds
- EKS applies envelope encryption to all Kubernetes API data (not only Secrets) by default on clusters running 1.28 or later, using KMS v2 and an AWS owned key; existing clusters were migrated by the eks:kms-storage-migrator role. Supplying a customer managed KMS key (or an existing Secrets-encryption key) makes that key the KEK for all API data. Every EKS-supported version (1.31 to 1.37) is covered, so 'you can enable envelope encryption' now means 'you can choose your own KMS key'.
- The note said
- External Secrets Operator ExternalSecret resources
- What holds
- ESO serves its resources at external-secrets.io/v1. v0.17.0 (2025-05-14) stopped serving v1beta1, so v1beta1 manifests fail with 'no matches for kind'. ESO reached v1.0.0 on 2025-11-07 and is on the 2.x line (v2.15.0 on 2026-11-10); v2.0.0 removed the Alibaba and Device42 providers. Lessons must use apiVersion external-secrets.io/v1.
- The note said
- ASCP via SecretProviderClass and CSI volume
- What holds
- ASCP is available as the EKS add-on aws-secrets-store-csi-driver-provider (console, eksctl, API) in addition to Helm/manifests. The add-on itself needs no IAM permissions; pods need IRSA or EKS Pod Identity (both documented; AWS suggests AWSSecretsManagerClientReadOnlyAccess). Syncing mounted secrets into Kubernetes Secrets via SecretProviderClass secretObjects is a Secrets Store CSI Driver feature that requires the driver's secret sync to be enabled; whether the EKS add-on enables it by default was not confirmed.
- The note said
- Mounted ConfigMap updates take 'up to a minute by default'
- What holds
- The documented delay is the kubelet sync period plus cache propagation delay. configMapAndSecretChangeDetectionStrategy defaults to Watch, so propagation is watch latency on top of the kubelet syncFrequency (default 1m): roughly a minute plus propagation, not a hard one-minute cap. Keys mounted with subPath never update, and env vars require a pod restart.
- The note said
- envFrom skips keys that are not valid environment variable names
- What holds
- RelaxedEnvironmentVariableValidation was beta and on by default in 1.32 to 1.33 and is GA (locked on) in 1.34: an env var name may be any printable ASCII character except '='. ConfigMap and Secret keys are limited to [-._a-zA-Z0-9]+, so on 1.32+ every key is a valid name and the skip (InvalidEnvironmentVariableNames event) only happens on 1.31 or with the gate disabled.
- The note said
- Secret files have 'stricter default permissions' at mode 0644
- What holds
- Both ConfigMap and Secret volumes default to defaultMode 0644, so nothing is stricter. The real difference is that the kubelet writes Secret volume data to tmpfs (memory) rather than node disk. Set defaultMode (for example 0400) to restrict access.
- The note said
- Immutable Secrets help because 'the API server doesn't need to watch for changes'
- What holds
- The benefit is right but the mechanism is misattributed: the kubelet closes its watches on ConfigMaps/Secrets marked immutable, which significantly reduces load on kube-apiserver in clusters with many mounts. The API server does not watch for changes itself.
- The note said
- 'If a ConfigMap or Secret doesn't exist and isn't optional, pod creation fails'
- What holds
- The Pod object is accepted and scheduled; it is the container that cannot start ('the Pod won't start'). Missing env/envFrom references give CreateContainerConfigError; missing volume sources leave the pod in ContainerCreating with FailedMount events. Missing keys behave the same unless marked optional.
- The note said
- 'In etcd, Secrets are stored separately from other resources'
- What holds
- Secrets live in the same etcd keyspace as every other resource, under /registry/secrets/<namespace>/<name>. Only an EncryptionConfiguration (resources: secrets) treats them differently, by encrypting them at rest; on EKS 1.28+ all API data is envelope-encrypted by default.
Note 23Persistent Storage
- The note said
- Default StorageClass 'marked with an annotation' makes simple PVCs work without choosing storage
- What holds
- Kubernetes behaviour is unchanged, but EKS clusters created on 1.30 or later ship the gp2 StorageClass without the storageclass.kubernetes.io/is-default-class annotation (upgraded clusters keep it), and EKS Auto Mode creates no StorageClass at all. A PVC without storageClassName stays Pending until you annotate a class as default, for example a gp3 class with provisioner ebs.csi.aws.com (add-on) or ebs.csi.eks.amazonaws.com (Auto Mode). The EBS CSI chart/add-on exposes defaultStorageClass.enabled (false by default). The AWS 1.30 release note itself rolled off the docs when 1.30 left support; the linked secondary sources record it.
- The note said
- EFS throughput 'bursting (throughput scales with size) and provisioned'
- What holds
- EFS has three throughput modes: Elastic (the recommended default for new file systems; scales automatically, billed per data read/written), Provisioned and Bursting. Switching to Provisioned or changing the amount locks some changes for 24 hours.
- The note said
- 'Installing the EBS CSI Driver is required for EBS-backed PVCs… EKS add-on management simplifies installation'
- What holds
- Required on non-Auto Mode clusters (EKS add-on aws-ebs-csi-driver; driver latest v1.68.1). EKS Auto Mode includes block storage and does not need the add-on; its provisioner is ebs.csi.eks.amazonaws.com and you must create the StorageClass yourself. The add-on supports EKS Pod Identity from v1.26.0-eksbuild.1 as well as IRSA. IAM policy choices: AmazonEBSCSIDriverPolicyV2 (tag-based scoping), AmazonEBSCSIDriverEKSClusterScopedPolicy (cluster-scoped), or AmazonEBSCSIDriverPolicy (no tag restrictions).
- The note said
- Changing EBS performance requires new StorageClass/volumes
- What holds
- VolumeAttributesClass is GA in Kubernetes 1.34 (locked on from 1.36). The EBS CSI driver implements ControllerModifyVolume (since driver v1.19.0), so changing a bound PVC's volumeAttributesClassName modifies type, IOPS or throughput of the live volume with no new StorageClass or data copy. EKS Auto Mode docs describe migrating from the deprecated annotation-based volume-modifier-for-k8s to VolumeAttributesClass. EBS Elastic Volumes limits still apply.
- The note said
- ReadWriteOncePod access mode
- What holds
- State the qualifiers: ReadWriteOncePod is GA since Kubernetes 1.29 (feature gate removed 1.31) and works only with CSI volumes; the scheduler enforces single-pod use. The EBS CSI driver supports it.
- The note said
- 'For EBS, expansion requires stopping I/O briefly while the filesystem is resized'
- What holds
- EBS Elastic Volumes resize attached volumes online, and Kubernetes performs online filesystem expansion (ext4/xfs) while the pod runs; no I/O stop is needed. Note that the 'one modification per volume per 6 hours' rule in the suspected correction is itself stale: since 2026-01-15 EBS allows up to four modifications per volume in a rolling 24-hour window, and the EBS limitations list no longer carries the 6-hour wait.
- The note said
- 'EBS volumes can only attach to one instance at a time, so they support only ReadWriteOnce'
- What holds
- A simplification. io1/io2 volumes support Multi-Attach within one AZ, and the EBS CSI driver exposes it as ReadWriteMany for volumeMode: Block only (not filesystem mode); the application must coordinate writes (I/O fencing) to avoid corruption. ReadWriteOncePod is also supported. Shared filesystem RWX belongs to EFS.
- The note said
- 'Pods stuck waiting for volume attachment often indicate zone mismatches'
- What holds
- A zone mismatch surfaces at scheduling: the pod stays Pending with a 'volume node affinity conflict' event, and volumeBindingMode: WaitForFirstConsumer avoids it by provisioning in the pod's zone. Pods stuck in ContainerCreating waiting for attachment usually point to a Multi-Attach error (volume still attached to another node), a slow detach, or the node's EBS attachment limit.
- The note said
- 'Access modes are capabilities, not restrictions'
- What holds
- Partly right: Kubernetes uses access modes to match PVCs to PVs and they do not enforce write protection once mounted. But ReadWriteOncePod is enforced (one pod cluster-wide), and ReadWriteOnce on attachable block storage such as EBS is effectively constrained to one node at attach time (Multi-Attach error).
Note 24StatefulSets
- The note said
- 'Deleting a StatefulSet doesn't delete its PVCs by default… You must manually delete PVCs'
- What holds
- Still the default (Retain), but spec.persistentVolumeClaimRetentionPolicy is GA since 1.32: whenDeleted and whenScaled each accept Retain (default) or Delete, so PVCs can be removed automatically on StatefulSet deletion or scale-down.
Sourcekubernetes.io/docs/…/statefulset
LessonStatefulSets
- The note said
- Updates proceed strictly one pod at a time
- What holds
- spec.updateStrategy.rollingUpdate.maxUnavailable (MaxUnavailableStatefulSet) is beta: alpha 1.24 to 1.34, beta enabled by default in 1.35.0 to 1.35.3, disabled by default in 1.35.4 to 1.36, enabled by default again from 1.37. Default value is 1; it accepts a number or percentage. With Parallel pod management and maxUnavailable > 1 the controller replaces up to that many pods at once.
- The note said
- Ordinals always start at 0 ('The first pod is always index 0')
- What holds
- Ordinals start at 0 by default, but spec.ordinals.start (StatefulSetStartOrdinal, GA 1.31) assigns ordinals from start to start+replicas-1, used for example to migrate a StatefulSet between clusters or namespaces.
Sourcekubernetes.io/docs/…/statefulset
LessonStatefulSets
- The note said
- The headless Service 'must exist before the StatefulSet'
- What holds
- The StatefulSet needs a headless Service for per-pod network identity and you are responsible for creating it, but the API imposes no ordering. The StatefulSet can be created first; per-pod DNS records (pod-N.svc.ns.svc.cluster.local) resolve once the headless Service exists.
Sourcekubernetes.io/docs/…/statefulset
LessonStatefulSets
- The note said
- Uses 'primary.database.default.svc.cluster.local' to imply role-based DNS ('always reaching the primary')
- What holds
- StatefulSet DNS is ordinal-based only: <statefulset>-<ordinal>.<headless-service>.<namespace>.svc.cluster.local. Kubernetes has no notion of a primary; a stable primary name needs a separate Service selecting a role label that an operator or the database's own failover tooling keeps up to date.
Sourcekubernetes.io/docs/…/statefulset
LessonStatefulSets
- The note said
- The Parallel policy means 'pods are created and deleted in parallel like Deployments'
- What holds
- podManagementPolicy: Parallel makes scale-up and scale-down create or terminate pods without waiting for each other. Rolling updates still replace one pod at a time unless rollingUpdate.maxUnavailable > 1 (beta, see above), in which case up to maxUnavailable pods are replaced at once. Identity, stable storage and per-pod PVCs still differ from Deployments.
Sourcekubernetes.io/docs/…/statefulset
LessonStatefulSets
Note 25DaemonSets, Jobs, and CronJobs
- The note said
- 'use the newer timeZone field (if your cluster version supports it)'
- What holds
- CronJob spec.timeZone has been GA since 1.27 (gate removed 1.29), so every EKS-supported version (1.31 to 1.37) has it; drop the hedge. Values are IANA names such as Etc/UTC; CRON_TZ/TZ inside the schedule string are not supported.
- The note said
- 'DaemonSet pods bypass the normal scheduler by default in older Kubernetes versions'
- What holds
- Historical only: ScheduleDaemonSetPods went GA in 1.17 and the gate was removed in 1.18. DaemonSet pods are scheduled by kube-scheduler using node affinity that the DaemonSet controller injects. Frame it as history or drop it.
- The note said
- Job features limited to completions/parallelism/backoffLimit/ttl
- What holds
- Current GA Job features beyond the basics: podFailurePolicy (GA 1.31), backoffLimitPerIndex with Indexed Jobs (GA 1.33), successPolicy (GA 1.33) and podReplacementPolicy (GA 1.34). All are GA on EKS 1.34 to 1.37; on 1.31 to 1.33 the later ones are beta.
- The note said
- Sidecar handling in Jobs is unaddressed
- What holds
- Native sidecar containers (an initContainer with restartPolicy: Always) are GA in 1.33 (beta and on by default since 1.29). They start before and run alongside the main containers, and the kubelet terminates them after the main containers exit, so they no longer block Job completion.
- The note said
- 'Unlike Deployments, there's no maxSurge because DaemonSets run exactly one pod per node; you can't create surge pods'
- What holds
- DaemonSet RollingUpdate supports maxSurge (beta 1.22, GA 1.25). With maxSurge > 0 (and maxUnavailable 0) the new pod starts on the node before the old one is killed, so two pods briefly run on the node.
- The note said
- For the work-queue pattern 'The Job completes when all pods succeed'
- What holds
- With .spec.completions unset (work-queue Job), once any pod succeeds no new pods are created, and the Job completes when at least one pod has succeeded and all pods have terminated.
Sourcekubernetes.io/docs/…/job
LessonJobs and CronJobs
- The note said
- Lists 'cAdvisor' among DaemonSet monitoring agents
- What holds
- cAdvisor is embedded in the kubelet and its container metrics are scraped from the kubelet's /metrics/cadvisor endpoint; running cAdvisor as a separate DaemonSet is unusual. Better examples: node-exporter, Fluent Bit, the CloudWatch agent or an OpenTelemetry Collector.
Sourcekubernetes.io/docs/…/system-metrics
LessonDaemonSets
Note 26Namespaces and Resource Management
- The note said
- Policy enforcement 'through admission controllers. Tools like OPA Gatekeeper and Kyverno'
- What holds
- Teach the built-ins first: Pod Security Admission (GA 1.25), ValidatingAdmissionPolicy with CEL (GA 1.30) and MutatingAdmissionPolicy (alpha 1.30, beta 1.34 to 1.35, GA 1.36). Gatekeeper and Kyverno (v1.20.0) remain options for richer policy, image verification and generation.
- The note said
- QoS classes determined only by container-level requests/limits
- What holds
- Pod-level resources (spec.resources; PodLevelResources beta and on by default since 1.34, still beta in 1.37) also feed QoS: with pod-level CPU and memory requests equal to limits the pod is Guaranteed. In-place pod resize is GA in 1.35 (in-place resize of pod-level resources is beta in 1.36); a resize must keep the pod's original QoS class.
- The note said
- 'Pod security standards… can be enforced'
- What holds
- Enforcement is the built-in Pod Security Admission controller (GA 1.25), configured with namespace labels pod-security.kubernetes.io/enforce|audit|warn: privileged|baseline|restricted (plus optional -version labels). PodSecurityPolicy was removed in 1.25.
- The note said
- Per-StorageClass quota key 'requests.storage.standard: "50Gi"'
- What holds
- The key is <storage-class-name>.storageclass.storage.k8s.io/requests.storage, for example standard.storageclass.storage.k8s.io/requests.storage: 50Gi (and <class>.storageclass.storage.k8s.io/persistentvolumeclaims for counts).
- The note said
- 'When quotas are enabled, pods must specify resource requests and limits'
- What holds
- Only resources the quota actually tracks must be specified: a quota on requests.cpu requires CPU requests but not memory limits, and object-count quotas require nothing. A LimitRange can inject defaults so pods are not rejected.
- The note said
- 'kubelet evicts pods starting with BestEffort, then Burstable, then Guaranteed…'
- What holds
- Node-pressure eviction ranks pods by (1) whether usage of the starved resource exceeds requests, (2) Pod priority, (3) usage relative to requests. QoS class is not the ranking key; it falls out of the first criterion (BestEffort/Burstable over requests go first), and priority is a major factor the note omits.
Note 27Health Probes
- The note said
- 'the pod's IP is removed from Endpoint objects backing Services'
- What holds
- EndpointSlices (GA 1.21) are the source of truth for Service backends; kube-proxy and most controllers read them, and a not-ready pod is marked ready=false in its slice. The v1 Endpoints API is deprecated since 1.33 (still served, with warnings).
- The note said
- Probe mechanisms limited to HTTP, TCP and exec ('Probes can check container health in three ways')
- What holds
- There are four mechanisms: exec, grpc, httpGet and tcpSocket. gRPC probes (grpc.health.v1 Health/Check, port required, optional service) are GA since 1.27.
- The note said
- For successThreshold 'For liveness probes, 1 is typical'
- What holds
- successThreshold must be 1 for liveness and startup probes; validation rejects other values. Only readiness probes accept values above 1.
- The note said
- 'Startup probes run instead of liveness probes'
- What holds
- If a startup probe is configured, the kubelet runs neither liveness nor readiness probes until it succeeds; after that both run normally. If it fails past failureThreshold the container is killed.
Note 28Horizontal Pod Autoscaling
- The note said
- 'In EKS, Metrics Server must be installed separately. It's not included by default.'
- What holds
- Still not deployed by default, but it is available as the EKS community add-on metrics-server (console, API or eksctl), which EKS docs prefer over the manifest install; the add-on uses port 10251 to coexist with Fargate. Whether EKS Auto Mode deploys it was not confirmed.
- The note said
- 'Standard HPA has minimum 1 replica'
- What holds
- HPAScaleToZero is beta and enabled by default in 1.37 (alpha 1.16 to 1.36). minReplicas: 0 is accepted only when at least one Object or External metric is configured; resource metrics cannot scale from zero. On EKS 1.31 to 1.36 the minimum is still 1.
- The note said
- kubectl autoscale deployment myapp --cpu-percent=50 --min=2 --max=10
- What holds
- kubectl 1.34 added --cpu and --memory (percentage for utilization, quantity for average value) and deprecated --cpu-percent, which no longer appears in the reference. Use: kubectl autoscale deployment myapp --cpu=50% --min=2 --max=10.
- The note said
- Scaling algorithm tolerance not configurable
- What holds
- Per-HPA tolerance in spec.behavior.scaleUp/scaleDown.tolerance (HPAConfigurableTolerance) was alpha in 1.33 to 1.34, beta but off by default in 1.35 to 1.36, and GA in 1.37. Without it the cluster-wide default is 0.1 (--horizontal-pod-autoscaler-tolerance).
- The note said
- 'VPA… HPA and VPA can conflict'
- What holds
- Still true when both act on the same CPU/memory metric. The VPA story has changed: in-place pod resize is GA in Kubernetes 1.35, VPA 1.6.0 (2026-02-12) promoted updateMode InPlaceOrRecreate to GA (falls back to eviction when in-place is impossible), and VPA 1.5 deprecated updateMode Auto. Latest VPA is 1.8.1.
- The note said
- Cluster Autoscaler as the node scaler
- What holds
- Cluster Autoscaler still works on EKS, but EKS best practices present Karpenter (karpenter.sh/v1 NodePool; AWS provider v1.15.x) as the faster, more flexible option, and EKS Auto Mode runs Karpenter-based node provisioning for you (NodePool with nodeClassRef eks.amazonaws.com/NodeClass). Lessons should cover Karpenter and Auto Mode.
- The note said
- 'PodDisruptionBudgets affect scale-down… eviction is blocked until PDB allows'
- What holds
- HPA scale-down only lowers spec.replicas and the ReplicaSet controller deletes pods directly; PDBs apply only to the Eviction API (drains, Cluster Autoscaler/Karpenter node removal), so they never block HPA scale-down. Workload controllers are not limited by PDBs.
- The note said
- 'Pods without CPU requests can't contribute to scaling decisions'
- What holds
- Stronger than stated: if any container in the pods (sidecars included) lacks a request for the resource, utilization is undefined and the HPA takes no action for that metric (FailedGetResourceMetric, 'missing request for cpu'). Use ContainerResource metrics to target one container.
- The note said
- States the algorithm as 'desired = current x (current/target)'
- What holds
- desiredReplicas = ceil(currentReplicas x currentMetricValue / desiredMetricValue), skipped when the ratio is within the tolerance (default 0.1, configurable per HPA in 1.37), with special handling for missing metrics and not-ready pods and a default 300 s scale-down stabilization window.
Note 29GitOps Fundamentals
- The note said
- 'Flux… Originally from Weaveworks (who coined "GitOps")'; Flux presented as an active CNCF project
- What holds
- Origin is right, but Weaveworks shut down in early 2024. Flux stays a CNCF graduated project (graduated 2022-11-30) and GA; core maintainers are employed by ControlPlane (its main sponsor), SUSE and other companies, or are independent. Latest release is Flux v2.10.0 (2026-10-26).
- The note said
- 'Most tools default to 3-5 minutes' reconciliation
- What holds
- Argo CD polls Git every timeout.reconciliation 120s plus up to 60s jitter (timeout.reconciliation.jitter), so at most about 3 minutes; 0 disables polling. Flux has no global default: every source/Kustomization/HelmRelease sets a required spec.interval. Both support webhooks for near-immediate reconciliation.
- The note said
- 'ArgoCD is the most popular GitOps tool'
- What holds
- Supported by surveys but should be dated and attributed: the CNCF Argo CD End User Survey (2025-07-24) reports Argo CD as the majority-adopted GitOps tool (about 60% of respondents' clusters). Vendor surveys (Octopus Deploy's State of GitOps) report a similar lead over Flux; those figures were not confirmed against a primary source here.
- The note said
- 'image updates (various image update automation tools)'
- What holds
- Name them: Argo CD Image Updater (argoproj-labs, v1.5.0), Flux image-reflector-controller and image-automation-controller (v1.3.0), and Kargo (Akuity, v1.12.6) for stage-based promotion.
- The note said
- An attacker 'must either compromise Git… or compromise the in-cluster agent'
- What holds
- Overstated. The agent deploys whatever image or chart the manifests reference, so pushing a mutable tag to the registry or a chart version to a Helm repository changes production without touching Git. Pin images by digest and verify signatures at admission (Kyverno verifyImages, Sigstore policy-controller) or in the GitOps tool (Flux OCI/Helm verification).
Note 30ArgoCD Introduction
- The note said
- kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- What holds
- From Argo CD 3.3 the ApplicationSet CRD exceeds the 262144-byte last-applied annotation limit, so client-side apply fails. Use: kubectl apply -n argocd --server-side --force-conflicts -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml, and pin a release tag for production.
- The note said
- Argo CD architecture and defaults described for 2.x
- What holds
- Argo CD 3.0 changed defaults: annotation-based resource tracking, fine-grained RBAC for update/delete on sub-resources, logs RBAC enforced, default resource.exclusions, legacy repository config in argocd-cm removed, Dex RBAC based on federated_claims.user_id. Later: automated.enabled (3.1), retry.refresh (3.2), server-side install required (3.3), Helm 4 bundled (3.5), Server-Side Apply apps use Server-Side Diff (3.6). Latest release is v3.6.2.
- The note said
- Self-managed Argo CD on EKS with IRSA for cluster credentials
- What holds
- Self-managed with IRSA or Pod Identity remains valid. AWS also offers the managed EKS Capability for Argo CD (launched 2025-11-30 with ACK and kro): it runs outside your cluster, is billed per capability-hour, authenticates users through IAM Identity Center mapped to ADMIN/EDITOR/VIEWER roles, uses an IAM Capability Role, reaches target clusters through EKS access entries, and since August 2026 accepts custom argocd-cm configuration. One capability of each type per cluster.
- The note said
- 'The Dex Server provides authentication'
- What holds
- Dex is bundled and optional. Argo CD's SSO docs give two options: the bundled Dex (for SAML/LDAP or Dex connector features such as GitHub org/team mapping) or configuring an existing OIDC provider directly in argocd-cm oidc.config. Local users and the admin account remain.
- The note said
- 'Services are healthy when endpoints exist'
- What holds
- Argo CD's built-in Service health only assesses type LoadBalancer, which is Healthy once status.loadBalancer.ingress has a hostname or IP. Other Service types are Healthy regardless of endpoints.
- The note said
- Lists the ApplicationSet Controller as '(optional)'
- What holds
- The standard install.yaml deploys argocd-applicationset-controller and argocd-notifications-controller alongside argocd-server, argocd-repo-server, argocd-redis, argocd-dex-server and argocd-application-controller.
- The note said
- 'These components run as Deployments'
- What holds
- argocd-application-controller runs as a StatefulSet (for sharding across clusters); the other components are Deployments.
- The note said
- Redis provides caching 'for the API server'
- What holds
- Redis is a throwaway cache shared by the application controller, the repo server and the API server (manifests, app state, live resource tree).
Note 31ArgoCD Applications and Projects
- The note said
- ApplicationSet templates use '{{env}}' fasttemplate syntax
- What holds
- fasttemplate is still the default in 3.6 but the docs say it will be deprecated in favour of Go templates. Recommend goTemplate: true with goTemplateOptions: ['missingkey=error'] and {{.env}} syntax; templatePatch (go templating only) is the way to template non-string fields.
- The note said
- Kustomize options 'commonLabels' and version 'v4.5.7'
- What holds
- Application spec.source.kustomize.commonLabels is still a valid Argo CD field, but commonLabels in kustomization.yaml was deprecated in Kustomize v5.0.0 in favour of labels (kustomize edit fix migrates it). Argo CD bundles Kustomize 5.8.x; a non-bundled version such as v4.5.7 must be installed and registered in argocd-cm as kustomize.path.v4.5.7 before spec.source.kustomize.version can reference it.
- The note said
- Multi-source Applications with ref/$values
- What holds
- The current docs no longer label multi-source as beta and it is absent from the feature-maturity table of alpha/beta features. Caveats remain: $values may only start a value-file path, duplicate resources across sources raise RepeatedResourceWarning, and the docs warn against using more than 2 to 3 sources.
- The note said
- Actions 'get, create, update, delete, sync, override, and action'
- What holds
- Actions are get, create, update, delete, sync, rollback, action, override and invoke. Since 3.0, update and delete on an application no longer cover managed resources; grant update/* or delete/<group>/<kind>/<ns>/<name> explicitly. Resources include applications, applicationsets, clusters, projects, repositories, write-repositories, accounts, certificates, gpgkeys, logs (get), exec (create) and extensions (invoke).
- The note said
- 'JMESPath expressions provide more complex matching' followed by a managedFieldsManagers example
- What holds
- Argo CD does not use JMESPath. ignoreDifferences supports jsonPointers, jqPathExpressions (jq) and managedFieldsManagers; the example shown is managedFieldsManagers.
- The note said
- ignoreDifferences on /spec/replicas presented as the HPA fix
- What holds
- ignoreDifferences only affects diff/sync status; during sync Argo CD still applies the Git replicas unless the RespectIgnoreDifferences=true sync option is set (effective only once the resource exists). Simpler: omit spec.replicas from the manifest when an HPA owns it.
Note 32ArgoCD Sync Strategies
- The note said
- 'ServerSideApply… Recommended for most use cases with Kubernetes 1.22+'
- What holds
- Server-side apply is still opt-in per Application (syncOptions ServerSideApply=true), not the default. Since 3.6, Applications with ServerSideApply=true automatically use Server-Side Diff; the controller-wide flag (--server-side-diff-enabled / controller.diff.server.side) still defaults to false. Argo CD's own install now requires server-side apply.
- The note said
- 'It uses a three-way diff similar to kubectl apply, considering the last-applied annotation'
- What holds
- The legacy client-side three-way diff is still the default. Server-Side Diff (a server-side apply dry-run against kube-apiserver, so admission webhooks and defaults are included) is enabled per app via compare-options ServerSideDiff=true, controller-wide via the flag, or automatically for ServerSideApply=true apps since 3.6, which also removed the Structured-Merge diff.
- The note said
- SelfHeal timing
- What holds
- Self-heal retries use exponential backoff set by --self-heal-backoff-timeout-seconds (default 2), --self-heal-backoff-factor (default 3) and --self-heal-backoff-cap-seconds (default 300); --self-heal-timeout-seconds now has no default, and --self-heal-backoff-cooldown-seconds is deprecated since 3.3. The auto-sync page still mentions a 5-second timeout, which conflicts with the flag reference.
- The note said
- Retry configuration fields (limit/backoff)
- What holds
- retry has limit (-1 means unlimited) and backoff.duration/factor/maxDuration, plus retry.refresh: true (Argo CD 3.2+, CLI --sync-retry-refresh), which makes a retrying sync pick up new revisions.
- The note said
- 'Remember waves are strings, so "10" sorts before "2"'
- What holds
- argocd.argoproj.io/sync-wave is an integer (negative allowed, default 0) and waves run lowest to highest numerically, so wave 10 runs after wave 2. Behaviour for a non-integer value was not confirmed.
- The note said
- 'ManualSync can be true to also block manual syncs'
- What holds
- Inverted. Windows affect both manual and automated syncs; manualSync: true allows manual syncs during a deny window (or outside an allow window) while automated syncs stay blocked.
- The note said
- 'If selfHeal is enabled… Disable selfHeal temporarily if you need rollback to persist'
- What holds
- Rollback cannot be performed on an application with automated sync enabled at all. Disable automated sync first (remove the automated block or, from 3.1, set syncPolicy.automated.enabled: false), then run argocd app rollback APPNAME [ID].
- The note said
- The 'SelfHeal interval… defaulting to checking every few minutes'
- What holds
- Self-heal reacts to live-state changes from the controller's watch-based cluster cache within seconds (subject to the self-heal backoff). The roughly 3-minute interval is Git polling (timeout.reconciliation 120s plus up to 60s jitter).
- The note said
- Skip is used 'with PreSync or PostSync to run only during those phases'
- What holds
- Hook-annotated resources already run only in their phase. argocd.argoproj.io/hook: Skip tells Argo CD not to apply the manifest at all.
- The note said
- 'A Rollout in the middle of canary analysis shows as Progressing'
- What holds
- Argo CD surfaces Rollout status.phase: during an analysis or setWeight step it is Progressing, but a Rollout paused at a pause step (status.phase Paused or pauseConditions set) is mapped to Suspended; aborted rollouts show Degraded.
Note 33Argo Rollouts Introduction
- The note said
- Traffic management providers include 'AWS App Mesh'
- What holds
- AWS discontinued App Mesh on 2026-09-30; console and resource access ended and AWS points users to Amazon ECS Service Connect (on EKS: VPC Lattice, Istio or Gateway API). The appMesh field remains in the Rollouts API, but the Rollouts traffic-management docs no longer list it. Remove it from lessons.
- The note said
- Traffic providers include 'NGINX Ingress Controller'
- What holds
- The nginx provider is still in Rollouts, but ingress-nginx itself is retired and archived (last release 2026-03-19). Teach the Gateway API traffic router plugin (argoproj-labs/rollouts-plugin-trafficrouter-gatewayapi, v0.18.0), ALB, or Istio instead.
- The note said
- Install from releases/latest/download/install.yaml; feature set as described
- What holds
- The install command is unchanged (kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml); pin a version in production. Latest stable is v1.10.2, with v1.11.0-rc1 in pre-release. Gateway API routing is the argoproj-labs plugin (v0.18.0); the SMI provider is still listed but the SMI spec repository is archived; new traffic and metric providers are accepted only as plugins; consecutiveSuccessLimit exists since v1.8.
- The note said
- Calls it 'ALB Ingress Controller'
- What holds
- Name it AWS Load Balancer Controller (renamed from AWS ALB Ingress Controller at v2, 2020). The Rollouts ALB page uses the new name; its provider index still shows the old label.
- The note said
- Migration: 'Change the apiVersion and kind… The workload continues running; Argo Rollouts takes over management'
- What holds
- A new Rollout does not adopt the Deployment's ReplicaSets or pods; both run side by side (doubling pods behind a shared Service) until the Deployment is deleted or scaled down, and the docs warn to keep both running during cutover to avoid downtime. Alternative: keep the Deployment and reference it with spec.workloadRef plus scaleDown: never | onsuccess | progressively.
- The note said
- Rolling updates have 'no pause to verify'
- What holds
- Overstated. Deployments support kubectl rollout pause/resume and progressDeadlineSeconds. What they lack is step-based automated analysis, traffic-weight control and automated abort/rollback.
- The note said
- Presents 'Analysis Controllers' as a separate component
- What holds
- There is a single argo-rollouts controller Deployment; it reconciles Rollouts, AnalysisRuns and Experiments.
Note 34Canary Deployments
- The note said
- VirtualService apiVersion networking.istio.io/v1alpha3
- What holds
- Istio 1.22 promoted VirtualService, DestinationRule, Gateway, ServiceEntry, Sidecar, WorkloadEntry, WorkloadGroup, Telemetry and PeerAuthentication to v1. Use networking.istio.io/v1; v1alpha3/v1beta1 are still served with an identical schema.
Sourceistio.io/latest/…/v1-apis
LessonProgressive delivery
- The note said
- Ingress annotation kubernetes.io/ingress.class: nginx; NGINX Ingress Controller as the primary example
- What holds
- The kubernetes.io/ingress.class annotation was never formally defined and was replaced by spec.ingressClassName (IngressClass, Kubernetes 1.18). ingress-nginx is retired and archived (March 2026), so primary examples should use ALB, Istio or the Gateway API plugin.
- The note said
- ALB integration fields ingress/servicePort/rootService
- What holds
- Current fields: ingress (single) or ingresses (list, mutually exclusive), servicePort (required), rootService (optional; defaults to canary.stableService, required with pingPong), annotationPrefix. pingPong (pingService/pongService) is supported for ALB. TargetGroup IP/weight verification needs the controller flag --aws-verify-target-group.
- The note said
- failureLimit: 3 'fails after 3 consecutive failures'
- What holds
- failureLimit counts total failed measurements, not consecutive ones, and the metric fails only when failed > failureLimit, so with failureLimit: 3 the 4th failure fails the run (the Rollouts docs prose 'after three failed measurements' is imprecise; the controller code compares failed > failureLimit). failureLimit: -1 disables it.
- The note said
- scaleDownDelaySeconds: 300 'keeps the canary ReplicaSet for 5 minutes after abort'
- What holds
- canary.scaleDownDelaySeconds (default 30, traffic routing only) delays scaling down the previous stable ReplicaSet after a successful promotion. After an abort, canary pods are governed by abortScaleDownDelaySeconds (default 30; 0 means never scale down).
- The note said
- The pod anti-affinity example 'ensures canary pods don't share nodes with stable pods'
- What holds
- A podAntiAffinity on app: my-app matches pods of both versions, so it only spreads all app pods. Use strategy.canary.antiAffinity (required or preferred), which Rollouts injects against the previous ReplicaSet's pod-template-hash.
- The note said
- The ALB setup 'requires a root Service'
- What holds
- rootService is optional; when omitted the Ingress rule must reference the stableService. It is required only with pingPong.
- The note said
- The experiment step's analyses entries lack the name field
- What holds
- Each entry under experiment analyses requires name (ExperimentAnalysisTemplateRef.Name) in addition to templateName.
Note 35Blue-Green Deployments
- The note said
- 'ALB integration enables blue-green for external traffic through AWS load balancers'
- What holds
- Blue-green has no trafficRouting. With ALB the Ingress points at the activeService (and optionally the previewService) and promotion switches Service selectors. In IP mode, enable the controller's TargetGroup IP verification (--aws-verify-target-group) because readiness gates are not injected for pods selected only after the selector switch.
- The note said
- Field set for blueGreen strategy
- What holds
- Current blueGreen fields: activeService, previewService, autoPromotionEnabled, autoPromotionSeconds, previewReplicaCount, prePromotionAnalysis, postPromotionAnalysis, scaleDownDelaySeconds (default 30), scaleDownDelayRevisionLimit, abortScaleDownDelaySeconds (default 30), antiAffinity, activeMetadata and previewMetadata.
- The note said
- Shows blueGreen.trafficRouting with an Istio VirtualService
- What holds
- trafficRouting exists only under strategy.canary. Blue-green switches traffic solely by rewriting the active and preview Service selectors; weighted Istio routing requires the canary strategy.
- The note said
- When postPromotionAnalysis fails 'the rollout is considered failed (though traffic has already switched)'
- What holds
- If post-promotion analysis fails or errors, the Rollout aborts and switches the active Service back to the previous stable ReplicaSet, which is kept until post-promotion analysis succeeds.
- The note said
- Required podAntiAffinity on app: my-app 'ensures blue and green pods run on different nodes'
- What holds
- The selector matches every pod of both versions, so only one app pod fits per node (5 active + 5 preview need 10 nodes) and the rest stay Pending. Use blueGreen.antiAffinity, which targets only the previous ReplicaSet.
- The note said
- Rollout notification triggers placed 'In ArgoCD notification configuration' using rollout.status fields
- What holds
- Rollout notifications are configured in the argo-rollouts-notification-configmap ConfigMap (trigger.<name> and template.<name> keys) and sent by Argo Rollouts' own notification engine, with subscriptions as annotations on the Rollout. Argo CD's argocd-notifications-cm does not drive them.
- The note said
- 'During preview phase, the Application shows as Progressing'
- What holds
- While the Rollout is paused awaiting promotion (status.phase Paused), Argo CD maps it to Suspended.
- The note said
- 'if the old ReplicaSet has been removed'
- What holds
- The old ReplicaSet is scaled to zero after scaleDownDelaySeconds and kept up to revisionHistoryLimit, not removed.
Note 36Analysis and Metrics
- The note said
- Datadog provider with interval and a single query
- What holds
- The datadog provider defaults to apiVersion v1 (single query plus interval). apiVersion v2 supports queries (map) and formula, available since Rollouts v1.7, and is the form to teach for formulas; credentials come from the datadog Secret in the argo-rollouts namespace by default.
- The note said
- Prometheus provider address http://prometheus:9090
- What holds
- Address form is fine. The provider also supports timeout (seconds), headers, and authentication blocks: sigv4 for Amazon Managed Service for Prometheus (with IRSA on the controller), google for Google Managed Prometheus, and basic auth.
- The note said
- Metric limit fields listed
- What holds
- Current limit fields: failureLimit (default 0; -1 disables), consecutiveSuccessLimit (since v1.8; default 0 means disabled), inconclusiveLimit (default 0) and consecutiveErrorLimit (default 4). At least one of failureLimit or consecutiveSuccessLimit must be applicable.
- The note said
- 'The result is available as result[0] (for scalar) or result (for vector)'
- What holds
- Reversed. Instant-vector results arrive as an array and are read as result[0] (or with all()/any() for range queries); a scalar result is read as result.
- The note said
- Experiment example uses valueFrom.podTemplateHashValue: baseline/canary
- What holds
- podTemplateHashValue accepts only Stable or Latest. Experiment template hashes are passed as value: '{{templates.baseline.podTemplateHash}}' and '{{templates.canary.podTemplateHash}}', and each experiment analyses entry needs a name.
- The note said
- 'Total analysis duration: 1 minute delay + 5 minutes of measurement'
- What holds
- With initialDelay 1m, count 10 and interval 30s, the first measurement is at 1m and the last at 1m + 9 x 30s = 5.5 minutes.
- The note said
- Experiments compare versions with 'same traffic patterns to both versions'
- What holds
- Experiment ReplicaSets receive traffic only if a Service selects them or the experiment step sets weights with canary trafficRouting; otherwise they may get none, so traffic is not controlled automatically.
Note 37Argo Events Introduction
- The note said
- EventBus spec.nats.native with replicas: 3 as the default example
- What holds
- The native NATS (NATS Streaming/STAN) EventBus is deprecated: STAN reached end of life in June 2023. Existing STAN EventBuses still work in v1.9.11, but new EventBuses should use spec.jetstream (or Kafka). Teach JetStream.
- The note said
- Install from https://raw.githubusercontent.com/argoproj/argo-events/stable/manifests/install.yaml
- What holds
- Still the documented path, with the optional validating webhook from …/stable/manifests/install-validating-webhook.yaml (or namespace-install.yaml for a namespaced install). Latest release is v1.9.11 (2026-07-13); pin a tag for production.
- The note said
- Trigger operation sets and trigger types
- What holds
- The argoWorkflow trigger supports operation submit, submit-from, resubmit, resume, retry, suspend, terminate and stop. Verify the note's list against this set.
- The note said
- Shows a spec.s3 EventSource
- What holds
- Argo Events has no s3 EventSource type; the bucket/events/filter shape belongs to the minio EventSource. AWS S3 events flow S3 notification to SQS or SNS, consumed by the sqs or sns EventSource, with the key at body.Records.0.s3.object.key, so dataKey 'notification.s3.object.key' is not a real payload path.
Sourcegithub.com/argoproj/…/setup
LessonJobs and CronJobs
- The note said
- Expression filters 'use CEL (Common Expression Language)'
- What holds
- exprs filters are evaluated with govaluate, and field paths use gjson syntax. Each fields[] entry maps a simple identifier name to a path (for example name: author, path: body.commits.0.author.name) and expr uses the identifier, so 'body.commits[0].author.name != …' is invalid.
- The note said
- Argo CD sync trigger with header Authorization: 'Bearer {{secrets.argocd-token}}'
- What holds
- No such templating exists. Use the HTTP trigger's secureHeaders with valueFrom.secretKeyRef to inject the token from a Secret.
- The note said
- rateLimit uses unit: minute
- What holds
- The unit enum is Second, Minute, Hour (capitalised; default Second).
- The note said
- policy.k8s.backoff described as 'retries failed triggers with exponential backoff'
- What holds
- policy.k8s decides whether the triggered resource succeeded by polling its labels (for example workflows.argoproj.io/phase: Succeeded) with the given backoff, optionally erroring on timeout. Trigger retries are configured with the trigger-level retryStrategy.
- The note said
- 'create a Service and Ingress' for webhook access
- What holds
- Setting spec.service on the webhook EventSource makes the controller create the Service; only an Ingress, Gateway route or LoadBalancer is needed for external access.
Note 38Argo Workflows Introduction
- The note said
- kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/latest/download/install.yaml
- What holds
- The path still resolves, but the docs tell you to pick a specific release (latest v4.1.6) for production. From 4.0 the release manifests carry full-validation CRDs that must be applied with server-side apply; the quick start uses kubectl apply --server-side -n argo -f …/releases/download/<version>/quick-start-minimal.yaml.
- The note said
- Script template image python:3.9
- What holds
- Python 3.9 reached end of life on 2025-10-31 (3.9.25 was the final security release). Use a supported image such as python:3.13 or python:3.14.
Sourcepeps.python.org/pep-0596
LessonJobs and CronJobs
- The note said
- Feature/field set (template types, executor behavior)
- What holds
- Emissary is the only executor. The workflow pod's service account needs create and patch on workflowtaskresults.argoproj.io. Current line is 4.x (4.1.6), which made full-validation CRDs the default.
- The note said
- The artifact-repositories ConfigMap shown as if it configures the default repository
- What holds
- A ConfigMap named artifact-repositories is consulted by default, but it must carry the annotation workflows.argoproj.io/default-artifact-repository naming the data key to use (any key name; default-v1 is just a convention). Alternatively reference it from spec.artifactRepositoryRef or set artifactRepository in workflow-controller-configmap. As written, artifact passing fails.
Note 39CI/CD Pipeline Patterns
- The note said
- GitHub Actions uses actions/checkout@v3
- What holds
- v3 ran on the deprecated Node 16 runtime. Current majors: v5 (2025-08, Node 24), v6 (2025-11) and v7 (2026-06, latest v7.0.1). Use actions/checkout@v7 or pin a commit SHA.
Sourcegithub.com/actions/…/releases
LessonGitOps with Argo CD
- The note said
- 'These metrics (deployment frequency, lead time, change failure rate, MTTR) are the DORA metrics'
- What holds
- DORA now uses five software delivery performance metrics in two groups: throughput (change lead time, deployment frequency, failed deployment recovery time) and instability (change failure rate, deployment rework rate). MTTR was renamed failed deployment recovery time (2023) and rework rate was added in 2024.
Sourcedora.dev/guides/dora-metrics
LessonGitOps with Argo CD
- The note said
- Image signing with 'cosign, Notary'; scanners 'Trivy, Snyk, Anchore'
- What holds
- Notary v2 is now the Notary Project's Notation CLI (CNCF incubating). Teach Sigstore cosign or Notation for signing and verification at admission time with Kyverno verifyImages (v1.20.0) or Sigstore policy-controller. The scanners named remain active.
- The note said
- ApplicationSet {{autoSync}}/{{number}}/{{head_sha}} fasttemplate variables
- What holds
- The PR generator still exposes number, branch, head_sha (plus head_short_sha and others). With the recommended goTemplate: true they are written {{.number}}, {{.branch}}, {{.head_sha}}; fasttemplate remains the default but is slated for deprecation.
- The note said
- 'ArgoCD rollback uses ArgoCD's history… kubectl argo rollouts rollback or the UI'
- What holds
- Argo CD rollback is argocd app rollback APPNAME [ID] (automated sync must be off). The Rollouts plugin command is kubectl argo rollouts undo (also abort, retry, promote); kubectl argo rollouts rollback does not exist.
- The note said
- The ApplicationSet promotion example gates production
- What holds
- It does not: prune/selfHeal false leaves automated sync on because the automated block is present; '{{autoSync}}' renders a string into boolean fields; spec.project is missing. Use goTemplate with templatePatch to add the automated block (or, from Argo CD 3.1, syncPolicy.automated.enabled: false) only for non-production elements, and set project.
- The note said
- The GitHub Actions example works as written
- What holds
- It cannot: it needs an AWS credentials step (aws-actions/configure-aws-credentials with GitHub OIDC and permissions: id-token: write) before ECR login (aws-actions/amazon-ecr-login, which also outputs the registry), $ECR_REGISTRY is undefined, the deploy repo is cloned and pushed without a token or git user identity, and sed 's|image: .*|…|' rewrites every image line including sidecars and initContainers (use kustomize edit set image or yq on one path).
Note 40Observability and Monitoring
- The note said
- 'Applications instrumented with X-Ray SDK send trace data to X-Ray'
- What holds
- The X-Ray SDKs and Daemon entered maintenance mode on 2026-02-25 (security fixes only) and reach end of support on 2027-02-25. AWS recommends OpenTelemetry instrumentation (ADOT or upstream SDKs) sending to X-Ray through the CloudWatch agent, an OTel Collector or the CloudWatch OTLP endpoint.
- The note said
- 'Container Insights… Deployed via CloudWatch agent or ADOT'
- What holds
- Current EKS docs deliver Container Insights through the amazon-cloudwatch-observability EKS add-on in two configurations: OTel Container Insights (recommended, actively developed) and Enhanced Container Insights (Classic). Whether a separate ADOT-based Container Insights path is still supported was not confirmed; current docs do not present it.
- The note said
- Alertmanager config using route.routes[].match
- What holds
- match and match_re are deprecated; use matchers with the =, !=, =~, !~ syntax (for example matchers: ['severity="critical"']). Likewise target_match/source_match give way to target_matchers/source_matchers in inhibit rules.
- The note said
- Jaeger as an OTel-compatible backend
- What holds
- Jaeger v1 reached end of life on 2025-12-31. Jaeger v2 is built on the OpenTelemetry Collector (OTLP receiver, Collector-style YAML config), with no agent tier and no Jaeger client libraries; instrument with OpenTelemetry SDKs.
- The note said
- AMP requires in-cluster Prometheus or ADOT for collection
- What holds
- Amazon Managed Service for Prometheus offers AWS managed collectors: fully managed, agentless scrapers that discover and pull metrics from EKS clusters and remote-write them to a workspace, configurable when creating the cluster. In-cluster Prometheus, ADOT or the CloudWatch agent remain options.
- The note said
- Histograms described only in classic bucket form
- What holds
- Native histograms are stable since Prometheus 3.8 (scraping enabled per job or globally with scrape_native_histograms; the old feature flag is a no-op from 3.9). Latest is Prometheus 3.16.0. Teach classic and native histograms.
- The note said
- Promises three pillars but has no logging section
- What holds
- The note is incomplete. Add logs: Fluent Bit (deployed by the amazon-cloudwatch-observability add-on for Container Insights logs) to CloudWatch Logs, Loki, or OpenTelemetry logs, plus log/trace correlation by injecting trace_id/span_id into structured logs.
- The note said
- ServiceMonitor labeled only app: my-app; 'Prometheus discovers Services matching the selector'
- What holds
- kube-prometheus-stack defaults to serviceMonitorSelectorNilUsesHelmValues: true, so Prometheus selects only ServiceMonitors labelled release: <helm-release-name>. Add that label or set serviceMonitorSelectorNilUsesHelmValues: false (or an explicit serviceMonitorSelector).
Note 41Logging Architecture
- The note said
- Fluent Bit tail input uses 'Parser docker' for /var/log/containers/*.log; 'Parser docker' is wrong on containerd/CRI runtimes (grouped: two note-41 claims)
- What holds
- Since dockershim was removed in Kubernetes 1.24, EKS nodes run containerd and write CRI-format lines ('<time> stdout|stderr F|P <message>'). The docker JSON parser doesn't match those lines, so the message isn't extracted and JSON app logs aren't merged. Fluent Bit's documented tail configuration for Kubernetes is 'multiline.parser docker, cri' (or 'parser cri' on CRI-only nodes); keep Merge_Log On in the kubernetes filter to lift JSON payloads.
- The note said
- image: fluent/fluent-bit:latest with the cloudwatch_logs / opensearch outputs shown; the :latest tag also contradicts note 45's rule against :latest (grouped)
- What holds
- fluent/fluent-bit:latest resolves to the Fluent Bit 5.x line (v5.2.0 is the most recent release as of 2026-11-19), so a manifest written for 2.x/3.x can change behaviour on any pull. Pin a version tag or digest, as note 45 and the Kubernetes images guidance require. AWS for Fluent Bit 3.0.0 (Oct 2025) is built on Fluent Bit 4.1. For the opensearch and es outputs, set Suppress_Type_Name On: OpenSearch 2.x and Elasticsearch 8 reject mapping types.
- The note said
- CloudWatch Container Insights provides deeper EKS integration (logs + metrics + dashboards)
- What holds
- True, but the install path is the amazon-cloudwatch-observability EKS add-on, which offers two modes: OTel Container Insights (AWS's recommended mode; add-on v6.2.0+, EKS 1.28+, cAdvisor/node-exporter/kube-state-metrics metrics queryable with PromQL) and Enhanced Container Insights (Classic), which is in maintenance mode.
- The note said
- CloudWatch Logs retention is configurable 1 day to 10 years, or never expire
- What holds
- The range is right, but retention takes only discrete values: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288 or 3653 days, or never expire (no retention policy). An account-level retention policy, where one is set, overrides the log group's setting. For cost, the lower-cost log class formerly called Infrequent Access is named Essentials (read APIs return ESSENTIALS from Dec 2026).
- The note said
- With AWS_Auth, Fluent Bit uses IAM credentials (from IRSA)
- What holds
- Fluent Bit's AWS plugins use the standard AWS credential chain, which includes both IRSA and EKS Pod Identity. EKS best practices recommend Pod Identity unless you need IRSA; Pod Identity isn't available for Fargate or Windows pods, where IRSA remains the option.
- The note said
- Symlink direction stated loosely: /var/log/containers/*.log are symlinks pointing into /var/log/pods/<ns><pod><uid>/<container>/N.log
- What holds
- Confirmed. The kubelet creates /var/log/containers/<pod><namespace><container>-<id>.log as legacy symlinks to /var/log/pods/<namespace><pod><uid>/<container>/<restart>.log, where the files actually live. A tail DaemonSet must mount /var/log (or both directories) so the symlink targets resolve.
- The note said
- DaemonSet has no serviceAccountName and no RBAC, but the kubernetes filter needs get/list/watch on pods and namespaces
- What holds
- Confirmed. The kubernetes filter calls the API server for pod metadata, so the DaemonSet needs a ServiceAccount bound to a ClusterRole with get, list and watch on pods and namespaces (plus nodes/proxy when Use_Kubelet is on). With the default ServiceAccount those calls are denied (403) and records ship without Kubernetes metadata.
- The note said
- 'OpenSearch/Elasticsearch uses Index Lifecycle Management' (ILM is Elasticsearch-only; conflates OpenSearch with Amazon OpenSearch Service)
- What holds
- Confirmed. Index Lifecycle Management (ILM) is an Elasticsearch feature. OpenSearch, including Amazon OpenSearch Service (AWS's managed service that runs OpenSearch), uses Index State Management (ISM) policies for rollover, retention and deletion.
Note 42Cluster Autoscaling
- The note said
- Karpenter Helm install --version v0.32.0 with karpenter.sh/v1beta1 NodePool and karpenter.k8s.aws/v1beta1 EC2NodeClass
- What holds
- Karpenter v1.0 (Aug 2024) moved the APIs to karpenter.sh/v1 NodePool and karpenter.k8s.aws/v1 EC2NodeClass. v1.0 still accepted v1beta1 manifests for migration, and v1.1.0 dropped them. The most recent release as of 2026-11-19 is v1.15.2 (Nov 12, 2026); install from oci://public.ecr.aws/karpenter/karpenter with an explicit --version.
- The note said
- consolidationPolicy: WhenUnderutilized
- What holds
- Karpenter v1.0 renamed WhenUnderutilized to WhenEmptyOrUnderutilized. consolidateAfter applies to both WhenEmpty and WhenEmptyOrUnderutilized (default 0s; 'Never' disables consolidation). expireAfter moved to spec.template.spec.expireAfter (720h or Never), and disruption.budgets cap how many nodes are disrupted at once. The Karpenter docs also list a Balanced policy that skips consolidations whose savings don't justify the pod disruption.
- The note said
- nodeClassRef: { name: default }
- What holds
- In karpenter.sh/v1, nodeClassRef needs group: karpenter.k8s.aws, kind: EC2NodeClass and name: default. Karpenter v1.1.0 and later strictly require group and kind.
- The note said
- EC2NodeClass amiFamily: AL2
- What holds
- A v1 EC2NodeClass requires amiSelectorTerms (e.g. '- alias: al2023@latest'); amiFamily is optional when you use an alias. Amazon EKS stopped publishing EKS-optimized AL2 AMIs on Nov 26, 2025 and publishes none for Kubernetes 1.33+, so use AL2023 or Bottlerocket.
- The note said
- cluster-autoscaler image v1.28.0
- What holds
- Run the Cluster Autoscaler minor version that matches the cluster's Kubernetes minor (1.37.0 is the most recent CA release as of 2026-11-19). Kubernetes 1.28 is no longer offered on EKS: standard support covers 1.34-1.37 and extended support 1.31-1.33.
- The note said
- Karpenter installed in a 'karpenter' namespace with IRSA via eksctl
- What holds
- Karpenter's getting-started guide installs into kube-system, which gives the controller the cluster's API Priority and Fairness FlowSchema priority, and grants AWS permissions with EKS Pod Identity (eksctl podIdentityAssociations). Alternatively, EKS Auto Mode (Dec 2024) runs Karpenter-based node provisioning as an AWS-managed capability.
- The note said
- Cluster Autoscaler expander list and default behavior
- What holds
- The Cluster Autoscaler FAQ lists random, most-pods, least-waste, least-nodes, price, priority and grpc, with least-waste as the default (older releases defaulted to random, so check the default for the version you run). price works only on GCE, GKE and Equinix Metal.
- The note said
- AWS Node Termination Handler for Spot with CA
- What holds
- EKS managed node groups enable Spot Capacity Rebalancing and drain Spot nodes themselves, so NTH isn't needed for managed node groups; it still applies to self-managed ASGs. With Karpenter, use its native interruption handling. Karpenter's docs allow NTH alongside it only for Spot rebalance recommendations, which Karpenter doesn't act on, and warn that this adds node churn.
- The note said
- consolidateAfter: 30s with consolidationPolicy: WhenUnderutilized fails karpenter.sh/v1beta1 validation (note 43 repeats the same block; grouped)
- What holds
- Confirmed for notes 42 and 43. A karpenter.sh/v1beta1 CEL rule allowed consolidateAfter only with consolidationPolicy: WhenEmpty, so the API server rejects this NodePool. On karpenter.sh/v1 the equivalent valid block is consolidationPolicy: WhenEmptyOrUnderutilized with consolidateAfter: 30s.
- The note said
- The 'price' expander only works on GCE/GKE (and Equinix Metal); not available with --cloud-provider=aws
- What holds
- Confirmed. The FAQ restricts the price expander to GCE, GKE and Equinix Metal. On AWS use least-waste (the default), priority, least-nodes or most-pods.
- The note said
- 'The autoscaler runs as a single pod… if it fails, autoscaling stops' (CA supports leader election)
- What holds
- Cluster Autoscaler supports leader election (--leader-elect defaults to true), so you can run several replicas with one active leader. With a single replica, scaling decisions pause only until the pod is rescheduled; running nodes and pods are unaffected.
- The note said
- 'Karpenter with Spot natively handles interruption' omits the required SQS interruption queue and EventBridge rules
- What holds
- Confirmed. Karpenter handles interruptions only when you give it an SQS queue (settings.interruptionQueue / --interruption-queue) fed by EventBridge rules for Spot Interruption Warnings, Scheduled Change Health Events, Instance Terminating and Instance Stopping events. Without the queue it never sees the 2-minute Spot notice.
Note 43Cost Optimization
- The note said
- EKS control plane fixed at $0.10 per hour (~$73/month)
- What holds
- $0.10 per cluster-hour applies to versions in standard support. A cluster on a version in extended support costs $0.60 per cluster-hour. EKS Auto Mode adds a per-instance management fee, Provisioned Control Plane tiers cost $1.65-$13.90 per hour (XL to 8XL), and EKS Hybrid Nodes are billed per vCPU-hour.
Sourceaws.amazon.com/eks/pricing
LessonCost and capacity
- The note said
- Reserved Instances discounts of 30-60%; Savings Plans cover any instance type, any region, any OS
- What holds
- AWS advertises up to 72% off On-Demand for Reserved Instances and EC2 Instance Savings Plans, and up to 66% for Compute Savings Plans. Only Compute Savings Plans apply across instance family, size, AZ, Region, OS and tenancy (and to Fargate and Lambda); EC2 Instance Savings Plans are tied to one instance family in one Region.
- The note said
- service.kubernetes.io/topology-mode: Auto
- What holds
- The annotation still works, but spec.trafficDistribution is the standard field (GA in Kubernetes 1.33). PreferSameZone and PreferSameNode went alpha in 1.33, beta in 1.34 and GA in 1.35, and PreferClose is a deprecated alias for PreferSameZone. If both are set, topology-mode: Auto takes precedence, and the docs warn the annotation may be deprecated.
- The note said
- standard HPA has a minimum of 1
- What holds
- The HPAScaleToZero feature gate is beta and enabled by default in Kubernetes 1.37 (alpha from 1.16 to 1.36). minReplicas: 0 is accepted when the HPA has at least one object or external metric; HPAs scaling only on CPU/memory still need minReplicas >= 1. On clusters older than 1.37, including EKS, where alpha gates can't be enabled, the minimum is 1.
- The note said
- VPA updateMode values
- What holds
- VPA 1.5.0 deprecated updateMode 'Auto' (equivalent to 'Recreate', which is the default). Valid modes are Off, Initial, Recreate, InPlaceOrRecreate (in-place resize with eviction fallback; its feature gate was on by default from VPA 1.5.0 and removed in 1.7.0) and InPlace (in-place only, never evicts). The most recent VPA release as of 2026-11-19 is 1.8.1.
- The note said
- image: bitnami/kubectl
- What holds
- From Aug 28, 2025 Bitnami moved its versioned Docker Hub images to docker.io/bitnamilegacy, which gets no updates, and the free catalog keeps only a limited set of hardened images. Use a maintained kubectl image pinned by version or digest. Whether bitnami/kubectl in particular still receives tags is unconfirmed.
- The note said
- helm install kubecost kubecost/cost-analyzer --set kubecostToken=…
- What holds
- IBM acquired Kubecost (Sept 2024). Kubecost 3.x installs from the kubecost/kubecost chart (repo https://kubecost.github.io/kubecost) configured with global.clusterId; the cost-analyzer chart command is the 2.x path. Whether kubecostToken is still accepted is unconfirmed. AWS Split Cost Allocation Data for EKS adds pod-level costs to the Cost and Usage Report without a third-party tool.
- The note said
- Tools like kubernetes-reaper / kube-downscaler
- What holds
- No project named kubernetes-reaper could be found (similarly named projects include pod-reaper and kreaper), so cite a specific tool or drop it. The original hjacobs kube-downscaler is unmaintained; caas-team's py-kube-downscaler fork is in maintenance mode, and caas-team's GoKubeDownscaler is the maintained successor.
- The note said
- The eksctl example puts spot: true and instanceTypes under nodeGroups; those fields belong to managedNodeGroups
- What holds
- Confirmed. In eksctl, spot: true and instanceTypes are managedNodeGroups fields. Unmanaged nodeGroups don't support them and configure Spot through instancesDistribution instead.
- The note said
- The '100 Mbps cross-AZ ~ $1,500/month' math
- What holds
- Confirmed. 100 Mbps sustained is 12.5 MB/s, about 32,400 GB in a 30-day month. Cross-AZ traffic is billed $0.01/GB on each side ($0.02/GB effective) in us-east-1, which is about $648/month, not about $1,500.
- The note said
- 'Each Service of type LoadBalancer creates an NLB or ALB'
- What holds
- Confirmed. A Service of type LoadBalancer gets an NLB from the AWS Load Balancer Controller (or a Classic Load Balancer from the legacy in-tree provider), never an ALB. ALBs come from Ingress or Gateway API resources handled by the controller.
- The note said
- The scale-down CronJob has no ServiceAccount or RBAC; scaling back with --replicas=1 discards original counts
- What holds
- Confirmed. The CronJob needs a ServiceAccount with a Role granting get, list and patch on deployments and deployments/scale in each target namespace; the default ServiceAccount gets Forbidden. Record each Deployment's replica count (for example in an annotation) before scaling to zero, and restore from it.
- The note said
- 'Deployments scaled to zero still consume namespace resources'
- What holds
- Confirmed. A Deployment at zero replicas runs no pods, so it uses no CPU or memory and no compute ResourceQuota. It still counts toward object-count quotas such as count/deployments.apps, and its objects stay in etcd.
Note 44Disaster Recovery
- The note said
- velero install --plugins velero/velero-plugin-for-aws:v1.7.0
- What holds
- Velero v1.18.4 is the most recent stable release as of 2026-11-19 (v1.19 in release candidate) and pairs with velero-plugin-for-aws v1.14.x (plugin 1.13 pairs with Velero 1.17). File-system backup uses Kopia (the default uploader since Velero 1.12). Velero 1.17 removed Restic as a backup path, and restoring existing Restic backups is supported until v1.19.
- The note said
- In EKS … focus on backing up your resources (Velero)
- What holds
- AWS Backup also backs up EKS clusters natively. It creates a composite recovery point holding the cluster state (Kubernetes manifests) and the persistent volumes (EBS, EFS, S3), and requires the cluster's authentication mode to be API or API_AND_CONFIG_MAP. Velero remains an option.
- The note said
- External Secrets Operator usage / apiVersion: external-secrets.io/v1beta1 (grouped: notes 44, 45 and 53)
- What holds
- ESO's stable API is external-secrets.io/v1. ESO v0.17.0 (May 2025) stopped serving v1beta1, so v1beta1 ExternalSecret and SecretStore manifests are rejected by current releases (v2.15.0 is the most recent as of 2026-11-19). Change apiVersion to external-secrets.io/v1 in notes 44, 45 and 53.
- The note said
- S3 lifecycle StorageClass GLACIER / Glacier Deep Archive naming
- What holds
- In lifecycle rules, StorageClass GLACIER is the API name for S3 Glacier Flexible Retrieval (90-day minimum storage duration) and DEEP_ARCHIVE is S3 Glacier Deep Archive (180-day minimum). GLACIER_IR (Glacier Instant Retrieval) is a third option.
- The note said
- DR tiers omit 'Backup & Restore' and equate 'passive DR' with pilot light
- What holds
- Confirmed. AWS's DR whitepaper lists four strategies: backup and restore, pilot light, warm standby, and multi-site active/active. Backup and restore, pilot light and warm standby are all active/passive, so passive DR isn't a synonym for pilot light.
- The note said
- ECR replication registryId '123456789' is not a valid 12-digit account ID
- What holds
- Confirmed. ReplicationDestination.registryId must match [0-9]{12}; use a 12-digit placeholder such as 123456789012.
- The note said
- 'Load balancers are regional and multi-AZ by default'
- What holds
- Confirmed. An ALB requires subnets in at least two AZs, but an NLB can be enabled in one or more AZs (one subnet each), so its AZ coverage is whatever subnets you give it, and cross-zone load balancing is off by default for NLBs.
- The note said
- Velero is installed with static IAM keys (--secret-file ./credentials-velero) rather than IRSA/Pod Identity
- What holds
- Confirmed as a best-practice gap. The plugin README documents IAM-user keys and kube2iam (install with --no-secret), while EKS best practices recommend EKS Pod Identity, or IRSA, for pod credentials instead of long-lived keys. Use a role for the velero ServiceAccount and install with --no-secret.
Note 45Security Best Practices
- The note said
- The aws-auth ConfigMap (or EKS Access Entries) maps IAM identities to Kubernetes RBAC
- What holds
- The aws-auth ConfigMap is deprecated; EKS access entries are the supported way to grant IAM principals cluster access, controlled by the cluster's authenticationMode (CONFIG_MAP, API_AND_CONFIG_MAP or API). An access entry can carry Kubernetes group names or EKS access policies (e.g. AmazonEKSClusterAdminPolicy). Custom usernames can't start with system:, eks:, aws:, amazon: or iam:. Whether system:masters is rejected as an access-entry group name isn't stated in the EKS docs (unconfirmed).
- The note said
- IRSA as the way to give pods AWS permissions
- What holds
- EKS best practices: 'Unless you have specific usecases for IRSA, we recommend you use EKS Pod Identities.' Pod Identity uses the eks-pod-identity-agent and a role trusting pods.eks.amazonaws.com (sts:AssumeRole, sts:TagSession). It doesn't support Fargate or Windows pods, where IRSA is still required.
- The note said
- EKS encrypts etcd by default, but you can add envelope encryption with your own KMS key at create-cluster
- What holds
- On Kubernetes 1.28 and later, EKS envelope-encrypts all Kubernetes API data with KMS v2 and an AWS-owned key by default. You can use your own KMS key at creation or associate one with an existing cluster (aws eks associate-encryption-config); once enabled it can't be disabled.
- The note said
- aws ecr put-image-scanning-configuration --image-scanning-configuration scanOnPush=true
- What holds
- Repository-level PutImageScanningConfiguration is being deprecated in favour of registry-level aws ecr put-registry-scanning-configuration, whose rules set BASIC or ENHANCED (Amazon Inspector) scanning by repository filter.
- The note said
- Kyverno validationFailureAction: enforce with match.resources.kinds; lowercase 'enforce' is the deprecated spelling (grouped)
- What holds
- Kyverno 1.13 deprecated spec.validationFailureAction in favour of per-rule validate.failureAction, with the capitalised values Audit or Enforce. Kyverno later replaced ClusterPolicy with CEL-based policies.kyverno.io/v1 types such as ValidatingPolicy (stable in 1.17), and Kyverno 1.20.0 (Nov 12, 2026) blocks creating or updating legacy ClusterPolicy/Policy resources. Write the example as a ValidatingPolicy.
- The note said
- aws guardduty create-detector --features EKS_AUDIT_LOGS
- What holds
- EKS_AUDIT_LOGS is still a valid feature name, but the CLI form is --features Name=EKS_AUDIT_LOGS,Status=ENABLED. For runtime threat detection use RUNTIME_MONITORING, which covers EKS, ECS on Fargate and EC2; it can't be enabled together with the older EKS_RUNTIME_MONITORING.
- The note said
- Admission controllers via OPA Gatekeeper and Kyverno
- What holds
- Kubernetes has built-in CEL admission policies that need no webhook: ValidatingAdmissionPolicy (GA in 1.30) and MutatingAdmissionPolicy (GA in 1.36). Gatekeeper and Kyverno remain options.
- The note said
- IRSA trust policy omits the '<oidc>:aud': 'sts.amazonaws.com' condition
- What holds
- Confirmed. The trust policy in the EKS docs has a StringEquals condition on both '<oidc-provider>:sub': 'system:serviceaccount:<namespace>:<sa>' and '<oidc-provider>:aud': 'sts.amazonaws.com'.
- The note said
- Maps an IAM AdminRole to system:masters without warning that this group bypasses RBAC
- What holds
- Confirmed. Members of system:masters bypass all RBAC checks, and removing RoleBindings or ClusterRoleBindings can't revoke that access; the Kubernetes RBAC good practices say to avoid adding users to it. On EKS, grant admin through an access entry with AmazonEKSClusterAdminPolicy.
- The note said
- 'kube-bench run --targets node' on EKS should use the EKS benchmark (--benchmark eks-x.y)
- What holds
- Partly confirmed. kube-bench auto-detects EKS and maps Kubernetes 1.29-1.31 to eks-1.7.0 and 1.32-1.34 to eks-1.8.0. The project's job-eks.yaml passes --benchmark explicitly with --targets node,policies,managedservices,controlplane. Pass --benchmark eks-<version> on clusters outside the documented mapping so generic CIS node checks aren't used.
Note 46Troubleshooting Kubernetes
- The note said
- kubectl get endpoints my-service
- What holds
- core/v1 Endpoints is deprecated as of Kubernetes 1.33, and kubectl prints 'v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice'. Use kubectl get endpointslices -l kubernetes.io/service-name=my-service.
- The note said
- kubectl get pods -n ingress-nginx / ingress-nginx controller as the example
- What holds
- Kubernetes SIG Network announced the retirement of ingress-nginx on Nov 11, 2025. Maintenance ended in March 2026, and the project gets no further releases or security fixes. Use a Gateway API implementation or another maintained controller (on EKS, the AWS Load Balancer Controller).
- The note said
- Docker Hub rate limits pulls
- What holds
- True. Docker documents the limits per 6-hour window, not hourly: 100 pulls for unauthenticated users per IPv4 address or IPv6 /64, 200 for authenticated Personal accounts, and unlimited for Pro, Team and Business. Authenticate pulls or mirror images (e.g. through an ECR pull-through cache).
- The note said
- CrashLoopBackOff backoff behavior
- What holds
- The default backoff starts at 10s and doubles (20s, 40s, …) up to 300s, and resets once a container runs for 10 minutes without problems. KubeletCrashLoopBackOffMax (alpha 1.32, beta and on by default from 1.35) lets a node lower the cap through the kubelet's maxContainerRestartPeriod. ReduceDefaultCrashLoopBackOffDecay (alpha since 1.33) shortens the defaults only when enabled.
- The note said
- kubectl debug behavior
- What holds
- kubectl debug --profile accepts legacy, general, baseline, restricted, netadmin and sysadmin. kubectl 1.36 made general the default profile (previously legacy); the kubernetes.io task pages may still describe legacy.
- The note said
- 'kubectl debug node/… creates a privileged pod'
- What holds
- Confirmed. The node debugging pod shares the node's IPC, network and PID namespaces and mounts the node's root filesystem at /host, but it isn't privileged. Use --profile=sysadmin for a privileged container.
- The note said
- 'Pods using more than requests might be throttled (CPU)'
- What holds
- Confirmed. CFS throttling happens only when a container reaches its CPU limit. Above its request, a container competes for spare CPU in proportion to its request (CPU weight); a container with no CPU limit isn't throttled by CFS quota.
- The note said
- The metrics.k8s.io API (kubectl get --raw …/pods/my-pod) and kubectl top show usage only, not throttling
- What holds
- Confirmed. metrics.k8s.io (and kubectl top) reports only CPU and memory usage for autoscaling. To see throttling, use cAdvisor's container_cpu_cfs_throttled_periods_total relative to container_cpu_cfs_periods_total (kubelet /metrics/cadvisor, Prometheus or Container Insights).
- The note said
- 'kubectl debug my-pod --image=busybox' without --target=<container> can't see the app's processes
- What holds
- Confirmed. An ephemeral container joins the target container's process namespace only when you pass --target=<container> (and the runtime supports it); otherwise ps shows only the debug container's processes.
- The note said
- 'Terminating' is a kubectl display state, not a pod phase
- What holds
- Confirmed. Pod phase is only Pending, Running, Succeeded, Failed or Unknown. kubectl shows 'Terminating' when deletionTimestamp is set; ContainerCreating, ErrImagePull and CrashLoopBackOff are container state reasons, and the phase stays Pending during image pulls.
Note 47Performance Tuning
- The note said
- gp3: Baseline 3000 IOPS, 125 MB/s. Configurable up to 16,000 IOPS, 1,000 MB/s
- What holds
- gp3 baseline is 3,000 IOPS and 125 MiB/s at any size. You can provision up to 80,000 IOPS (500 IOPS per GiB) and 2,000 MiB/s; 16,000 IOPS and 1,000 MiB/s are the limits only for gp3 on Outposts.
- The note said
- io2: Up to 64,000 IOPS
- What holds
- All io2 volumes are io2 Block Express (from Apr 30, 2025), supporting up to 256,000 IOPS and 64 TiB on supported Nitro instances.
- The note said
- EFS Max I/O performance mode for highly parallel access
- What holds
- Max I/O is a previous-generation performance mode. It isn't supported with Elastic throughput or One Zone file systems, and AWS recommends General Purpose for all file systems.
- The note said
- Enable NodeLocal DNS Cache add-on
- What holds
- NodeLocal DNSCache isn't an EKS add-on (neither AWS nor community). Deploy it from the upstream Kubernetes manifest (nodelocaldns.yaml) or a Helm chart.
- The note said
- HPA behavior defaults implied
- What holds
- Defaults: scale-down stabilization window 300s; scale-up has no stabilization and allows the larger of 100% or 4 pods per 15s; global tolerance 10%. Per-HPA tolerance in spec.behavior (HPAConfigurableTolerance) was alpha in 1.33, beta in 1.35 and GA in 1.37.
- The note said
- Right-sizing by changing requests (implies restart)
- What holds
- In-place pod resize (InPlacePodVerticalScaling) is GA in Kubernetes 1.35 (beta in 1.33). CPU and memory requests and limits can be changed through the pods/resize subresource without recreating the pod, subject to each container's resizePolicy. Editing a Deployment's pod template still rolls the pods.
- The note said
- 'kubectl top pods --containers' to 'check for throttling'
- What holds
- Confirmed. kubectl top reports CPU and memory usage only. Throttling shows in cAdvisor's container_cpu_cfs_throttled_periods_total and container_cpu_cfs_periods_total.
- The note said
- 'Larger volumes have more baseline IOPS' applies to gp2, not gp3
- What holds
- Confirmed. Size-proportional baseline (3 IOPS per GiB) is gp2 behaviour. gp3 has a fixed 3,000 IOPS / 125 MiB/s baseline at any size and provisions extra IOPS and throughput independently of size.
- The note said
- QoS definitions are oversimplified
- What holds
- Confirmed. Guaranteed: every container sets CPU and memory requests and limits, with requests equal to limits. BestEffort: no container sets any CPU or memory request or limit. Burstable: any pod that is neither, such as one with requests only.
- The note said
- Probe example sets timeoutSeconds: 5 but never mentions that the default is 1s
- What holds
- Confirmed. timeoutSeconds defaults to 1 second (minimum 1), a common cause of spurious liveness failures on slow endpoints; state the default next to the example.
Note 48Interview Preparation
- The note said
- Explain how kube-proxy implements Services
- What holds
- On Linux, kube-proxy supports iptables (still the default in 1.37), nftables (GA in 1.33) and ipvs (deprecated in 1.35; disabled by default from 1.40 behind the KubeProxyIPVS gate and removed in 1.43). eBPF dataplanes such as Cilium can replace kube-proxy entirely.
- The note said
- I've completed the CKA certification and am working toward CKS
- What holds
- CKA, CKAD and CKS earned on or after Apr 1, 2024 are valid for 2 years (3 years if earned earlier). CKS requires having passed CKA. Under the Linux Foundation's CARE policy, earning or recertifying CKS on or after June 18, 2026 also extends CKA.
- The note said
- The 'strong answer' for creating a Deployment skips authN, authZ, admission and the scheduler's Binding write
- What holds
- Confirmed. A full answer: kube-apiserver authenticates and authorizes (RBAC) the request, runs mutating admission, schema validation and validating admission, and persists the object to etcd. The Deployment controller then creates a ReplicaSet, the ReplicaSet controller creates Pods, the scheduler writes a Binding for each Pod, and the kubelet starts the containers through the CRI runtime.
- The note said
- The 503-during-deploy answer misses the endpoint-removal vs SIGTERM race
- What holds
- Confirmed. Endpoint removal propagates to kube-proxy and load balancers asynchronously, so a pod can get SIGTERM while traffic is still routed to it. The fix: a preStop delay (the native sleep action, PodLifecycleSleepAction GA in 1.34) longer than the propagation time, a terminationGracePeriodSeconds that covers it, and AWS Load Balancer Controller pod readiness gates for IP targets.
Note 49Architecture Patterns
- The note said
- Ambient mesh (Istio ambient): node-level proxies instead of pod sidecars; L7 features require waypoint proxies (grouped)
- What holds
- Istio ambient mode is GA since Istio 1.24 (Nov 2024). A per-node ztunnel provides L4 features (mTLS, L4 authorization, telemetry), and optional waypoint proxies (Envoy) per namespace or service provide L7 features such as HTTP routing and L7 authorization. The most recent Istio release as of 2026-11-19 is 1.32.
- The note said
- Multi-cluster management tools (Rancher, OpenShift, Anthos); API gateways Kong, Ambassador
- What holds
- Anthos was folded into GKE Enterprise (2023). The open-source Ambassador API Gateway is Emissary-ingress, an active CNCF project.
- The note said
- keda.sh/v1alpha1 ScaledObject with aws-sqs-queue trigger
- What holds
- keda.sh/v1alpha1 is still the API. The aws-sqs-queue trigger takes queueURL (or queueURLFromEnv), awsRegion (required) and queueLength (default 5). Authenticate with a TriggerAuthentication using podIdentity.provider: aws. identityOwner has been deprecated since KEDA 2.13 and applies only to the aws-eks provider. Whether aws-eks has been removed is unconfirmed. The most recent KEDA release as of 2026-11-19 is v2.21.1.
- The note said
- Service mesh / API gateway framing
- What holds
- Gateway API (v1.0 GA in Oct 2023) is the Kubernetes standard for gateway routing, and its service-mesh support (GAMMA) has been in the Standard channel since v1.1.0 (May 2024). The most recent Gateway API release as of 2026-11-19 is v1.7.0.
- The note said
- The KEDA ScaledObject has no authenticationRef or awsRegion, so the SQS scaler fails
- What holds
- Confirmed for awsRegion, which the aws-sqs-queue scaler requires, so the trigger as written is invalid. Add awsRegion plus an authenticationRef to a TriggerAuthentication (podIdentity provider aws). The scaler docs don't say what happens with no authenticationRef (unconfirmed).
- The note said
- PDB minAvailable: 2 shown without a replica count
- What holds
- Confirmed. With exactly 2 replicas, minAvailable: 2 allows zero voluntary disruptions, so kubectl drain, node upgrades and Cluster Autoscaler or Karpenter consolidation can't evict those pods. Run more replicas than minAvailable or use maxUnavailable: 1.
Note 50Career Development
- The note said
- CKA/CKAD/CKS descriptions; CKS builds on CKA
- What holds
- Certifications earned on or after Apr 1, 2024 are valid 2 years (3 years before). CKS requires having taken and passed CKA; the Linux Foundation FAQ doesn't say the CKA must still be active. The CKA curriculum changed on Feb 18, 2025, adding Helm, Kustomize, CRDs/operators and Gateway API.
- The note said
- Certification list
- What holds
- CNCF also offers KCNA and KCSA. Holding KCNA, KCSA, CKA, CKAD and CKS at the same time earns Kubestronaut; Golden Kubestronaut additionally requires every CNCF certification plus LFCS. AWS retired the Data Analytics, Database and SAP on AWS Specialty exams in April 2024 and Machine Learning Specialty on Mar 31, 2026.
- The note said
- blogs, Twitter, and YouTube
- What holds
- Twitter rebranded as X in July 2023.
Note 51AWS VPC Deep Dive
- The note said
- Each NAT gateway exists in a single Availability Zone
- What holds
- True for zonal NAT gateways. Since Nov 2025, a regional NAT gateway (availability mode regional) expands across the VPC's AZs automatically as workloads appear, within up to 60 minutes. It doesn't support private NAT.
- The note said
- EKS documentation recommends subnets with at least /24 CIDR blocks, and /19 or larger for large clusters (attribution to EKS docs; grouped)
- What holds
- EKS requires at least 6 free IP addresses in each cluster subnet (16 recommended), and EKS best practices recommend at least a /28 for cluster subnets. eksctl creates /19 subnets by default, which the best practices call suitable for most workloads. '/24 minimum' isn't EKS wording; present it as your own sizing advice.
- The note said
- enableDnsHostnames (disabled by default)
- What holds
- enableDnsHostnames defaults to false for VPCs you create but true for the default VPC; enableDnsSupport defaults to true.
- The note said
- Secondary CIDR from 100.64.0.0/10 to relieve IP exhaustion
- What holds
- Valid, but EKS best practices also cover VPC CNI prefix delegation and IPv6 clusters as answers to IP exhaustion.
- The note said
- Never mentions that EKS requires both enableDnsSupport and enableDnsHostnames = true
- What holds
- Confirmed. EKS requires the VPC to have both DNS hostnames and DNS resolution enabled, or nodes can't register with the cluster; this also covers resolving a private cluster endpoint.
Note 52AWS IAM Advanced Patterns
- The note said
- SCP capabilities and syntax as described
- What holds
- Since Sep 19, 2025, SCPs support the full IAM policy language. Resource control policies (RCPs) complement SCPs by limiting what principals can do with resources in your accounts.
- The note said
- Pod identity is the newer alternative to IRSA … AWS manages the credential delivery
- What holds
- Pod Identity needs the eks-pod-identity-agent add-on and an IAM role trusting pods.eks.amazonaws.com with sts:AssumeRole and sts:TagSession. It works only for Linux pods on EC2 nodes (not Fargate, not Windows), and an association can name a target role for cross-account access.
- The note said
- Access Analyzer resource coverage and unused access findings
- What holds
- Unused access analyzers are paid, charged per IAM role or user analyzed per month. Internal access analyzers, also paid, report access to critical resources from inside your organization or account.
- The note said
- external identity providers like Okta, Azure AD
- What holds
- Azure AD was renamed Microsoft Entra ID on July 11, 2023.
- The note said
- 'The creator can only grant permissions they themselves have'
- What holds
- Confirmed. IAM has no such rule: a principal allowed iam:CreateRole and iam:AttachRolePolicy (or iam:PutRolePolicy) can grant permissions it doesn't hold. Permissions boundaries, enforced with the iam:PermissionsBoundary condition key, exist to block that escalation.
- The note said
- 'When multiple SCPs apply, the effective permission is the intersection'
- What holds
- Confirmed. An action must be allowed by an SCP at every level from the root to the account; at a single level, the Allows of all SCPs attached there combine. Any applicable explicit Deny wins.
- The note said
- SCPs don't apply to the management account or service-linked roles, and the note never says so
- What holds
- Confirmed. SCPs don't affect users or roles in the management account, and they don't restrict service-linked roles.
Note 53AWS Secrets Manager vs Parameter Store
- The note said
- You install ASCP as a DaemonSet; ASCP described as a standalone DaemonSet that creates and updates Kubernetes Secrets (grouped)
- What holds
- ASCP is a provider plugin for the Secrets Store CSI Driver; the driver and provider both run as DaemonSets and mount secrets as files into pods that use a SecretProviderClass volume. Install them with Helm or through the 'AWS Secrets Store CSI Driver provider' EKS add-on; ASCP authenticates with IRSA or EKS Pod Identity (usePodIdentity). Syncing to Kubernetes Secrets is the driver's optional secretObjects feature and happens only while a pod mounts the volume.
- The note said
- Common schedules range from 30 to 90 days
- What holds
- 30-90 days is a convention, not a limit. Secrets Manager rotation can run as often as every 4 hours and as rarely as every 999 days.
- The note said
- 'EC2 instances can retrieve parameters through instance metadata'
- What holds
- Confirmed. IMDS doesn't serve Parameter Store values. Instances call the SSM GetParameter or GetParameters API using their instance-profile credentials, which IMDS does serve.
- The note said
- Rotation is 'zero downtime' with both credentials valid, yet single-user rotation causes transient auth failures
- What holds
- Confirmed. Only the alternating-users strategy keeps the previous credentials valid during rotation. With single-user rotation, clients still using the old password fail until they fetch the new one, which AWS says to handle with retries.
Note 54AWS ECR Deep Dive
- The note said
- basic scanning using the Clair engine (grouped: two note-54 claims)
- What holds
- ECR basic scanning uses AWS-native scanning technology. The Clair-based basic scanning engine was deprecated and is unsupported after Oct 1, 2025. Enhanced scanning uses Amazon Inspector.
- The note said
- Supported upstreams include Docker Hub, ECR Public, Quay, GHCR and other registries; upstream authentication presented as optional (grouped)
- What holds
- Pull-through cache upstreams fall into three groups. No authentication: ECR Public, the Kubernetes registry (registry.k8s.io) and Quay. Credentials required, stored in a Secrets Manager secret whose name starts with ecr-pullthroughcache/: Docker Hub, GitHub Container Registry, Azure Container Registry, GitLab Container Registry (GitLab.com only) and Chainguard. IAM role: another ECR private registry (ECR-to-ECR).
- The note said
- AmazonEC2ContainerRegistryReadOnly grants pull access
- What holds
- True, but the AWS managed policy AmazonEC2ContainerRegistryPullOnly grants only the permissions needed to pull and is the narrower choice for node roles.
- The note said
- Lifecycle rules by tag pattern, tag status, age
- What holds
- Lifecycle rules can also count by sinceImagePulled and sinceImageTransitioned, and a rule can transition images to the archive storage class instead of expiring them.
- The note said
- The kubelet automatically gets ECR credentials
- What holds
- The kubelet gets ECR credentials through the ecr-credential-provider kubelet image credential provider plugin, which EKS AMIs configure, not through built-in kubelet logic.
- The note said
- CloudWatch metrics show pull success rates and latency
- What holds
- ECR publishes only RepositoryPullCount in the AWS/ECR namespace, plus API usage metrics in AWS/Usage. There is no pull success-rate or latency metric; diagnose failed pulls from kubelet/containerd events or CloudTrail.
- The note said
- The 'dry-run mode' for lifecycle policies
- What holds
- Confirmed. The feature is called lifecycle policy preview: aws ecr start-lifecycle-policy-preview, then get-lifecycle-policy-preview.
Note 55AWS Load Balancers Compared
- The note said
- For LoadBalancer Services the controller creates NLBs by default; annotation 'aws-load-balancer-type: external' (missing 'service.beta.kubernetes.io/' prefix; grouped)
- What holds
- The annotation key needs its prefix: service.beta.kubernetes.io/aws-load-balancer-type: external. Since AWS Load Balancer Controller v2.5, its Service mutating webhook (enableServiceMutatorWebhook, default true) sets loadBalancerClass: service.k8s.aws/nlb on new LoadBalancer Services, so the controller provisions them without the annotation. The NLB is internal by default (since v2.2.0) unless aws-load-balancer-scheme: internet-facing is set, and the default target type is instance.
- The note said
- Gateway Load Balancer is the newest load balancer type
- What holds
- Gateway Load Balancer launched in Nov 2020. Give the launch date instead of 'newest', which goes stale.
- The note said
- AWS Load Balancer Controller scope (Ingress and Service only)
- What holds
- The AWS Load Balancer Controller also implements Gateway API, with L7 routes on ALB and L4 routes on NLB; that support is GA in v3.0.0 (Jan 23, 2026). The most recent release as of 2026-11-19 is v3.6.3.
- The note said
- Security groups control traffic to load balancers
- What holds
- NLBs have supported security groups since Aug 10, 2023, but only if a security group is associated when the NLB is created (AWS Load Balancer Controller v2.6.0+ does this for new Services). Cross-zone load balancing is always on for ALBs at the load-balancer level (it can be turned off per target group) and off by default for NLBs and GWLBs.
- The note said
- 'NLB preserves the source IP address by default' is wrong for IP-type target groups with TCP/TLS
- What holds
- Confirmed. Client IP preservation is enabled by default for instance targets and for IP targets using UDP, TCP_UDP or QUIC, but disabled for IP targets using TCP or TLS. For IP-mode TCP/TLS, set preserve_client_ip.enabled=true (with the controller, the aws-load-balancer-target-group-attributes annotation) or enable proxy protocol v2.
- The note said
- 'Connection logs for NLB capture TLS connection details'
- What holds
- Confirmed. NLBs have access logs, created only for TLS listeners. Connection logs, which record client TLS connection details including mTLS, are an ALB feature.
Note 56AWS VPC Endpoints and PrivateLink
- The note said
- Each interface endpoint costs approximately $0.01 per hour per AZ plus $0.01 per GB; NAT gateway $0.045/GB
- What holds
- Interface endpoints cost about $0.01 per AZ-hour (varies by Region) plus tiered data processing per Region: $0.01/GB for the first PB, $0.006/GB for the next 4 PB and $0.004/GB beyond 5 PB. NAT gateway is $0.045 per hour plus $0.045/GB processed in US East; a regional NAT gateway is billed $0.045 per hour for each AZ it spans.
- The note said
- The ECR API endpoint (ecr.region.amazonaws.com) (grouped: two note-56 claims)
- What holds
- The ECR API interface endpoint is com.amazonaws.<region>.ecr.api, whose DNS name is api.ecr.<region>.amazonaws.com. Image pulls also need com.amazonaws.<region>.ecr.dkr and the S3 gateway endpoint for layers.
- The note said
- The STS endpoint enables IRSA
- What holds
- True for IRSA, which needs com.amazonaws.<region>.sts (and oidc-eks to set up IRSA from inside the VPC). EKS Pod Identity instead needs com.amazonaws.<region>.eks-auth.
- The note said
- Gateway endpoints serve S3 and DynamoDB
- What holds
- True; S3 and DynamoDB are the only services with gateway endpoints. Both also offer paid interface endpoints, which you need for access from on-premises or peered networks.
- The note said
- List of essential endpoints for EKS
- What holds
- The EKS private-cluster guide lists: ec2; ecr.api, ecr.dkr and s3; elasticloadbalancing; xray (optional); ssm (optional); logs; sts (IRSA); oidc-eks (IRSA setup); eks-auth (Pod Identity); eks; and route53. Add endpoints for any other AWS APIs your add-ons call, such as autoscaling for Cluster Autoscaler.
- The note said
- 'The EKS endpoint … enables the kubelet to communicate with the EKS control plane'
- What holds
- Confirmed. Kubelets reach the Kubernetes API through the cluster endpoint; with private endpoint access, that is EKS-managed network interfaces in your VPC, resolved through a Route 53 private hosted zone. The com.amazonaws.<region>.eks interface endpoint serves the EKS management API (DescribeCluster and similar). In a private cluster, nodes register only when cluster endpoint private access is on.
Note 57AWS CloudWatch Deep Dive
- The note said
- Enabling Container Insights for EKS deploys the CloudWatch Agent as a DaemonSet
- What holds
- Container Insights on EKS is installed through the amazon-cloudwatch-observability EKS add-on, which runs the CloudWatch agent and Fluent Bit as DaemonSets. AWS recommends the add-on's OTel Container Insights mode (v6.2.0+); Enhanced Container Insights (Classic) is in maintenance mode.
- The note said
- Logs Insights SQL-like query syntax
- What holds
- CloudWatch Logs Insights supports three query languages: Logs Insights QL (its own pipe-based language), OpenSearch PPL and OpenSearch SQL.
- The note said
- Subscription filters to Lambda, Firehose, OpenSearch; subscription filters reach OpenSearch through a console-created Lambda (grouped)
- What holds
- A log group can have up to five subscription filters (the review's two-filter limit is out of date). PutSubscriptionFilter destinations are Kinesis Data Streams, Amazon Data Firehose, Lambda (same account) and logical destinations (Kinesis or Firehose) for cross-account delivery; account-level subscription filters also exist. OpenSearch Service isn't a native destination: send through Firehose with an OpenSearch destination, or use the console's 'Create Amazon OpenSearch Service subscription filter'. Whether that console option still creates a Lambda function isn't stated in the docs (unconfirmed).
- The note said
- 'The agent collects metrics from the Kubernetes API'
- What holds
- Confirmed. Container Insights collects container metrics from cAdvisor in each node's kubelet and node metrics from node-exporter. Object-state metrics come from kube-state-metrics, which watches the API server, and the API server is scraped for its own metrics. The Kubernetes API is not the main source of usage metrics.
Note 58AWS CloudTrail and Audit Logging
- The note said
- Events are retained for up to 7 years (CloudTrail Lake)
- What holds
- CloudTrail Lake event data stores offer one-year extendable retention (default 366 days, up to 3,653 days, about 10 years) or seven-year retention (2,557 days). Since May 31, 2026, CloudTrail Lake is closed to new customers; existing customers get only critical fixes, and AWS points to CloudWatch as the alternative.
- The note said
- Management events are logged by default in every trail
- What holds
- Trails log management events by default, but no trail is needed to see them: Event history shows the last 90 days of management events per Region at no cost. A trail's first copy of management events is free; additional copies are charged.
- The note said
- Trail and Lake feature set
- What holds
- Trails can also log network activity events for VPC endpoints and deliver aggregated data events (5-minute summaries), both charged. CloudTrail Lake is closed to new customers since May 31, 2026.
- The note said
- EKS log types are misdescribed (api vs audit)
- What holds
- Confirmed. EKS control plane log types are: api (kube-apiserver component logs); audit (a record of every API request, who made it and what it changed, including the authorization decision); authenticator (IAM authentication); controllerManager; and scheduler.
- The note said
- Calls CloudTrail cost minimal without noting only the first copy of management events is free
- What holds
- Confirmed. A trail's first copy of management events is free. Additional trails that deliver the same management events, and all data, network activity and Insights events, are charged.
Note 59AWS KMS and Encryption Strategies
- The note said
- Automatic rotation for customer managed keys creates new key material annually; presents 'annually' as the fixed period (grouped)
- What holds
- Automatic rotation of customer managed keys runs on a configurable period of 90-2,560 days (default 365, set with RotationPeriodInDays), and on-demand rotation is also available. Each of a key's first two rotations adds $1/month to its price; later rotations are free.
- The note said
- Imported key material can't use automatic rotation
- What holds
- Automatic rotation still isn't available for keys with imported key material, but on-demand rotation works for symmetric encryption keys with imported (EXTERNAL) key material.
- The note said
- KMS keys can be configured for FIPS 140-2 compliance; CloudHSM FIPS 140-2 Level 3
- What holds
- AWS KMS HSMs are validated under FIPS 140-3 Security Level 3; KMS keys aren't configured per key for this. CloudHSM's hsm2m.medium instance type is FIPS 140-3 validated.
- The note said
- EKS … You specify a KMS key during cluster creation; implies EKS secrets encryption must be chosen at creation (grouped)
- What holds
- On Kubernetes 1.28 and later, EKS already envelope-encrypts all Kubernetes API data with an AWS-owned key by default. You can add your own KMS key at creation or later on an existing cluster (aws eks associate-encryption-config); once added it can't be disabled.
- The note said
- Customer managed keys cost $1 per month; API calls $0.03 per 10,000
- What holds
- Correct for symmetric keys and requests, with qualifiers: each of a key's first two rotations adds $1/month, most asymmetric requests cost $0.15 per 10,000, and the free tier covers 20,000 requests per month.
- The note said
- 'AWS managed keys rotate automatically every three years'
- What holds
- Confirmed. Since May 2022, AWS managed keys rotate every year (about 365 days).
- The note said
- 'Traffic within a VPC isn't encrypted by default' ignores Nitro in-transit encryption
- What holds
- Confirmed. Traffic between supported Nitro-based instance types is automatically encrypted in transit in hardware within a VPC or between peered VPCs; other paths aren't, so use TLS or mTLS where it matters.
Note 60AWS WAF and DDoS Protection
- The note said
- WAF attaches to CloudFront distributions, ALBs, API Gateway REST APIs, and AppSync GraphQL APIs
- What holds
- AWS WAF also protects Cognito user pools, App Runner services, Verified Access instances, Amplify apps and Bedrock AgentCore Gateway. CloudFront is the global resource type; the rest are regional.
- The note said
- Rate-based rules … (say, 2000 requests per 5 minutes)
- What holds
- Valid. Rate-based rules can also use a 1-, 2-, 5- or 10-minute evaluation window, a limit as low as 10, and aggregation by IP, forwarded IP or up to five custom keys.
- The note said
- Managed rule group catalog
- What holds
- The AWS Managed Rules catalog also includes Account Creation Fraud Prevention (ACFP) and an Anti-DDoS rule group, alongside Bot Control and Account Takeover Prevention (ATP).
- The note said
- Shield Advanced $3,000/month; protects CloudFront, Route 53, Global Accelerator, ALB, NLB, Elastic IPs; NLB protection imprecise (grouped)
- What holds
- Shield Advanced costs $3,000/month with a 1-year commitment, plus data transfer out usage fees. Protected resource types are CloudFront distributions, Route 53 hosted zones, Global Accelerator accelerators, Elastic IPs (including EC2 instances and NLBs through their EIPs), ALBs and Classic Load Balancers. An NLB is protected through its Elastic IP addresses, not as an NLB resource.
- The note said
- WAF pricing $5/Web ACL, $1/rule, $0.60 per million requests
- What holds
- Base prices hold: $5 per web ACL per month, $1 per rule per month (each rule group or managed rule group counts as one), and $0.60 per million requests. A web ACL above 1,500 WCU adds $0.20 per million requests for each extra 500 WCU. Bot Control, ATP and ACFP add a $10/month subscription plus per-request fees.
- The note said
- specify Web ACL ARN in Ingress annotations
- What holds
- With the AWS Load Balancer Controller, set alb.ingress.kubernetes.io/wafv2-acl-arn to a regional web ACL ARN ('none' removes the association). waf-acl-id is the WAF Classic annotation, and shield-advanced-protection toggles Shield Advanced.
- The note said
- 'AWS Managed Rules require subscription; you pay per million requests evaluated by each rule group'
- What holds
- Confirmed. Baseline AWS Managed Rules groups (core rule set, known bad inputs, admin protection, IP reputation, anonymous IP, SQL database, OS/application-specific) have no subscription fee: each counts as a $1/month rule group plus the web ACL's normal request charge. Only Bot Control, ATP and ACFP carry a subscription and per-request fees; Marketplace rule groups use the seller's pricing, and requests blocked by the Anti-DDoS group aren't charged.
Note 61AWS Organizations and Multi-Account Strategy
- The note said
- SCPs have a 5,120 character limit per policy (and max 5 SCPs per target).
- What holds
- In May 2026 AWS Organizations doubled both SCP quotas: an SCP document can be up to 10,240 characters and up to 10 SCPs can be attached directly to the root, each OU and each account (hard limits; inherited SCPs do not count). Resource control policies (RCPs) keep the old values: 5,120 characters and 5 per entity. Whitespace counts unless the policy is saved through the console, which strips whitespace outside quotes.
- The note said
- Deny-list is the common SCP pattern; SCPs only limit and use FullAWSAccess + Deny statements.
- What holds
- SCPs still never grant permissions, and deny-list (keep FullAWSAccess, add Deny statements) is still the common pattern. Since September 2025 SCPs support the full IAM policy language: Allow statements can use Condition, Resource/NotResource and NotAction, so allow-list SCPs can be scoped (for example Allow with an aws:RequestedRegion condition). Only Principal/NotPrincipal remain unsupported. Teach both patterns with the current grammar.
- The note said
- Control Tower provides predefined 'guardrails' and an account factory.
- What holds
- AWS Control Tower calls these 'controls' (the docs note the old term 'guardrail' as a synonym). Controls are preventive (SCPs, RCPs, declarative policies), detective (AWS Config rules) or proactive (CloudFormation hooks), and are browsed in the Control Catalog (formerly the controls library). Account Factory still exists, alongside Account Factory for Terraform (AFT).
- The note said
- The management account is formerly called master account; SCPs never affect it.
- What holds
- Both statements are correct: the master account was renamed to management account in October 2020, and SCPs do not affect users or roles in the management account (they do apply to delegated-administrator member accounts). The lesson leaves out the newer Organizations controls: resource control policies (RCPs, a resource-side perimeter that also does not apply to the management account), declarative policies (enforce EC2/VPC/EBS configuration in the service control plane), and IAM centralized root access management (remove member-account root credentials, run privileged root tasks via short-term root sessions).
- The note said
- Restricting expensive services: prevent P3 GPU instances in development accounts.
- What holds
- P3 (NVIDIA V100) is not in the EC2 current-generation accelerated computing list. Current high-cost GPU families are P5, P5e, P5en (H100/H200) and P6-B200 / P6-B300 (Blackwell). A durable example denies ec2:RunInstances when ec2:InstanceType matches p5, p6 (or p* generally) in development OUs.
- The note said
- Management account 'can access any account through organizations:* permissions'.
- What holds
- organizations:* manages the organization (accounts, OUs, policies); it gives no access to resources inside member accounts. Access requires sts:AssumeRole into a role in the member account, typically OrganizationAccountAccessRole, which Organizations creates automatically only for accounts created through Organizations (not for invited accounts; Control Tower/AFT may use another role name). New member accounts have no root credentials by default, and centralized root access can remove root credentials from existing ones.
- The note said
- SCPs apply to all principals in member accounts.
- What holds
- SCPs restrict IAM users and roles in member accounts, including the member account root user, but they do not affect service-linked roles, do not affect the management account, and do not restrict principals from outside the organization who access resources through resource-based policies (that is what RCPs address).
Note 62AWS Cost Explorer and Budgets
- The note said
- EKS cluster fees are $0.10 per hour per cluster ($73/month).
- What holds
- $0.10 per cluster-hour applies only while the Kubernetes version is in standard support (14 months). In extended support (the following 12 months, enabled by default) the fee is $0.60 per cluster-hour. EKS Provisioned Control Plane tiers add an hourly charge on top of the support fee (XL $1.65, 2XL $3.40, 4XL $6.90, 8XL $13.90 per cluster-hour). EKS Auto Mode adds a per-instance management fee on top of EC2 charges (rate not confirmed here; see the pricing page).
- The note said
- Cost Explorer date ranges can span up to 14 months of history.
- What holds
- Cost Explorer provides the current month plus the previous 13 months at daily and monthly granularity. You can opt in to multi-year data at monthly granularity (comparison lookback up to 38 months) and to granular hourly/daily data for the previous 14 days.
- The note said
- Hourly granularity requires enablement.
- What holds
- Correct, and it is a paid opt-in: hourly data covers only the past 14 days and is billed daily at $0.00000033 per usage record ($0.01 per 1,000 usage records per month) for the records hosted over that 14-day window.
- The note said
- Reserved Instances often save 30-60%; Spot 70-90%; Graviton 20-40%.
- What holds
- AWS publishes ceilings, not typical ranges: Spot up to 90% off On-Demand; EC2 Instance Savings Plans and Standard RIs up to 72%; Compute Savings Plans up to 66%. The Graviton figure is 'up to 40% better price performance' than comparable x86 instances, a price-performance claim rather than a discount. Present these as AWS 'up to' figures and dated marketing numbers.
- The note said
- Compute Savings Plans apply to EC2, Lambda, Fargate; EC2 Instance SPs to a family in a region.
- What holds
- Both descriptions are correct, but AWS offers four Savings Plans types: Compute (EC2 any family/Region, Fargate, Lambda; up to 66%), EC2 Instance (one family in one Region; up to 72%), Database (Aurora, RDS, DynamoDB, ElastiCache, DocumentDB, Neptune, Keyspaces, Timestream, DMS, OpenSearch; up to 35%), and SageMaker AI (up to 64%). EKS cluster fees are not covered; the underlying EC2/Fargate usage is.
- The note said
- Fargate pricing is per-vCPU and per-GB-memory per second.
- What holds
- Fargate bills vCPU, memory, OS, CPU architecture and ephemeral storage above the 20 GB included, per second with a 1-minute minimum for Linux and a 5-minute minimum for Windows (Windows also adds a per-vCPU license fee). Usage is measured from image pull start until the task/pod terminates.
Sourceaws.amazon.com/fargate/pricing
LessonCost and capacity
- The note said
- AWS-generated tag aws:createdBy shows who created a resource.
- What holds
- Only after the management account activates the AWS-generated cost allocation tag, and only for resources created after activation. It is applied best-effort (derived from CloudTrail) to a fixed list of services/events and only in specific Regions, appears only in Billing and Cost Management (not Tag Editor), and cannot be edited.
Note 63SLOs, SLIs, and Error Budgets
- The note said
- Service endpoint availability measures whether the Kubernetes Service has healthy endpoints.
- What holds
- Measure ready endpoints through EndpointSlices (discovery.k8s.io/v1, stable since 1.21; list by label kubernetes.io/service-name, use endpoints[].conditions.ready/serving). The core v1 Endpoints API is deprecated as of Kubernetes 1.33 (API server warns on use), truncates at 1000 endpoints, and lacks dual-stack and traffic-distribution data.
- The note said
- Prometheus with Alertmanager is the common SLI stack; Istio provides proxy-level metrics.
- What holds
- Prometheus/Alertmanager remains common. Istio's metrics depend on data-plane mode: sidecar mode emits L4+L7 standard metrics from each Envoy; ambient mode (GA in Istio 1.24) emits only L4 TCP metrics from ztunnel (reporter="source") and needs a waypoint proxy for HTTP/L7 metrics (reporter="waypoint"). Dashboards filtering on reporter=destination/source sidecar semantics need updating for ambient.
- The note said
- Latency SLI uses 'multiple thresholds - 50th, 95th, 99th percentile'.
- What holds
- Percentiles are distribution statistics, not thresholds. A latency SLI is the proportion of requests faster than a threshold (for example 'share of requests under 400 ms'); multiple SLO targets pair a threshold with a target proportion (90% < 100 ms, 99% < 400 ms). Percentiles are a way to observe the distribution and choose thresholds; counting slow requests directly is preferred over approximating from histograms.
Note 64Incident Management Fundamentals
- The note said
- Incident management platforms like PagerDuty, Opsgenie, or incident.io orchestrate response.
- What holds
- Atlassian ended Opsgenie sales on June 4, 2025 and ends support on April 5, 2027 (unmigrated data is deleted then). Opsgenie customers move to Jira Service Management (incident management) or Compass (alerting/on-call). Name PagerDuty, incident.io, Grafana IRM or Jira Service Management instead of Opsgenie.
Note 65On-Call Best Practices
- The note said
- Paging systems: PagerDuty, Opsgenie, and similar tools.
- What holds
- Same as note 64: Opsgenie is end-of-sale (June 4, 2025) and end-of-support (April 5, 2027); its on-call/alerting functions move to Jira Service Management or Compass.
Note 67Chaos Engineering Introduction
- The note said
- AWS Fault Injection Simulator is AWS's managed chaos service for EC2, ECS, EKS (old service name).
- What holds
- The service is AWS Fault Injection Service (FIS; formerly Fault Injection Simulator; managed policy names still say AWSFaultInjectionSimulator…). EKS actions: aws:eks:pod-delete, pod-cpu-stress, pod-memory-stress, pod-io-stress, pod-network-latency, pod-network-packet-loss, pod-network-blackhole-port, terminate-nodegroup-instances (managed node groups only) and inject-kubernetes-custom-resource (runs a Chaos Mesh or Litmus ChaosEngine). Not supported on EKS Anywhere, Outposts, Wavelength or Hybrid Nodes.
- The note said
- Litmus provides ChaosExperiments as custom resources.
- What holds
- Litmus 3.x (3.33.0 as of 2026-10-15) is managed through ChaosCenter; on-cluster it uses ChaosEngine (binds an experiment to a target), ChaosExperiment and ChaosResult CRDs (litmuschaos.io/v1alpha1). Both Litmus and Chaos Mesh are CNCF Incubating projects (since January and February 2022) with no graduation.
- The note said
- IRSA tokens expire and refresh; test refresh failure.
- What holds
- IRSA still works, but EKS Pod Identity is the simpler recommended path: no OIDC provider, an association maps an IAM role to a service account, the trust principal is pods.eks.amazonaws.com, and the EKS Pod Identity Agent on each node serves credentials that SDKs refresh through the container credentials endpoint. Chaos tests should cover the agent DaemonSet being unavailable as well as projected-token refresh.
- The note said
- When a node becomes unavailable, pods are rescheduled.
- What holds
- Only after a delay: the node controller marks Ready=Unknown after node-monitor-grace-period (50s default since Kubernetes 1.32; 40s earlier) and adds NoExecute unreachable/not-ready taints; pods are evicted only after their tolerationSeconds, which Kubernetes adds automatically as 300s. Controller-owned pods (Deployment/ReplicaSet) are then replaced; StatefulSet pods are not recreated elsewhere until the old pod is confirmed gone (node deletion or the node.kubernetes.io/out-of-service taint).
- The note said
- Asks whether PodDisruptionBudgets maintain availability when a node becomes unavailable.
- What holds
- PDBs cannot prevent involuntary disruptions such as node failure; those disruptions only count against the budget. PDBs gate voluntary evictions made through the Eviction API (kubectl drain, cluster autoscalers, node upgrades).
- The note said
- Presents
kubectl delete podas chaos alongside PDB testing without noting that delete bypasses PDBs. - What holds
- Deleting pods or Deployments bypasses PodDisruptionBudgets; only the Eviction API (kubectl drain, or POST to pods/<name>/eviction) is subject to them. To test a PDB, use eviction (drain or kubectl evict-style plugins), not delete. FIS aws:eks:pod-delete also deletes rather than evicts.
Note 68Capacity Planning
- The note said
- Fargate has per-account limits on concurrent pods.
- What holds
- Fargate's applicable quota is vCPU-based: 'Fargate On-Demand vCPU resource count' (default 6 for new accounts, adjustable, auto-raised with usage) per account per Region, plus a Spot vCPU quota and launch-rate throttling quotas. The pod count you can run is therefore total vCPU divided by per-pod vCPU size. (One EKS user-guide note still describes it as a pod/task count; the General Reference quota table is vCPU-based.)
- The note said
- EKS has limits on nodes per cluster, pods per node; request increases proactively.
- What holds
- EKS Service Quotas include managed node groups per cluster (30) and nodes per managed node group (450), both adjustable; there is no fixed nodes-per-cluster quota, and EKS supports up to 100,000 nodes in a single cluster for onboarded customers (engage AWS beyond about 1,000 nodes / 50,000 pods). Max pods per node defaults to 110 and is configurable; prefix delegation raises IP capacity; EKS Auto Mode caps nodes at 110 pods.
- The note said
- For very large clusters, EKS automatically scales the control plane, but there may be limits at extreme scale.
- What holds
- EKS has two control-plane modes. Standard mode (default) autoscales. Provisioned Control Plane is an opt-in mode with fixed scaling tiers XL, 2XL, 4XL, 8XL defining API request concurrency (2,000 to 16,000 seats on 1.34+), pod scheduling rate (167 to 400 pods/s), etcd database size (16 GB, or 24 GB for 4XL/8XL on 1.34+) and a 99.99% SLA, billed hourly on top of the cluster fee.
- The note said
- Karpenter provides faster, more flexible scaling than Cluster Autoscaler.
- What holds
- Teach Karpenter with its v1 APIs: karpenter.sh/v1 NodePool and karpenter.k8s.aws/v1 EC2NodeClass (v1beta1 support was dropped in Karpenter 1.1.0; current release v1.15.2, 2026-11-12). NodePool disruption budgets (default 10% of nodes) and the karpenter.sh/do-not-disrupt annotation govern consolidation. EKS Auto Mode runs a managed Karpenter-based autoscaler with eks.amazonaws.com NodeClass/NodePool, removing the need to operate either autoscaler.
- The note said
- Runway math: '30% headroom, 10% monthly growth -> about 3 months'.
- What holds
- The answer depends on what grows. If usage grows 10 percentage points per month, 3 months is right. If usage grows 10% per month compounding (the usual meaning), 70% reaches 100% in ln(1/0.7)/ln(1.1) = about 3.7 months. Measured against the note's own 60-70% utilization ceiling, a cluster already at 70% has roughly zero runway. State the growth model and the ceiling used.
Note 69Toil and Automation
- The note said
- 'The replication controller ensures the right number of pods run'.
- What holds
- ReplicationController is a legacy API superseded by Deployment and ReplicaSet. The ReplicaSet controller (inside kube-controller-manager) keeps the replica count for ReplicaSets, which Deployments create and manage.
Note 70Runbooks and Playbooks
- The note said
- Expected output 'Deployment restarted successfully' for kubectl rollout restart.
- What holds
kubectl rollout restart deployment/api -n productionprintsdeployment.apps/api restarted(the printer operation is 'restarted'). It only patches the pod template annotation; verify completion withkubectl rollout status deployment/api -n production, which ends withdeployment "api" successfully rolled outand exits non-zero if the progress deadline is exceeded.
Note 71Change Management for Reliability
- The note said
- Track deployment frequency, lead time, change failure rate, time to restore.
- What holds
- DORA renamed time to restore (MTTR) to 'failed deployment recovery time' in 2023, scoped to failures caused by a change, and added a fifth metric, deployment rework rate, in 2024. The five metrics are grouped as throughput (change lead time, deployment frequency, failed deployment recovery time) and instability (change fail rate, deployment rework rate).
- The note said
- Blue-green and canary are available through tools like Argo Rollouts.
- What holds
- Still accurate (Argo Rollouts v1.10.2, 2026-11-04). Gateway API traffic routing is provided through the argoproj-labs traffic-router plugin rather than a built-in router; the plugin system is marked alpha in the Rollouts docs.
Note 73Kubernetes Network Policies
- The note said
- AWS VPC CNI now offers native Network Policy support; enable through EKS add-on configuration.
- What holds
- Enable with add-on configuration {"enableNetworkPolicy": "true"} on VPC CNI v1.14.0-eksbuild.3 or later (cluster 1.26.7/eks.6 or 1.27.4/eks.5 or later, Linux kernel 5.10+); the network policy agent runs in the aws-node DaemonSet (metrics port 8162, health 8163). VPC CNI 1.21+ also enforces cluster-scoped ClusterNetworkPolicy (networking.k8s.aws/v1alpha1, Admin and Baseline tiers with Deny/Allow/Pass). Policies apply only to EC2 Linux nodes (not Fargate or Windows). In EKS Auto Mode you enable it with the amazon-vpc-cni ConfigMap key enable-network-policy-controller, and NodeClass networkPolicyEventLogs turns on policy event logging.
- The note said
- Calico is commonly used in EKS; install only Calico policy components alongside VPC CNI.
- What holds
- AWS best practices now position the VPC CNI network policy engine as the default and recommend running only one policy engine per cluster; they provide a migration tool (k8s-network-policy-migrator) from Calico/Cilium CRDs. Calico (or Cilium) is recommended only for requirements beyond native support, such as global policies, L7 rules, service-account-based rules or explicit deny/log actions.
- The note said
- No explicit deny rules; you can only allow traffic.
- What holds
- True for networking.k8s.io/v1 NetworkPolicy (still allow-only and without logging in Kubernetes 1.37). Cluster-scoped policies with Deny exist outside core: upstream SIG Network's ClusterNetworkPolicy (policy.networking.k8s.io/v1alpha2, network-policy-api v0.2.0) replaced AdminNetworkPolicy/BaselineAdminNetworkPolicy, with Admin and Baseline tiers and Accept/Deny/Pass actions; EKS VPC CNI 1.21+ implements its own ClusterNetworkPolicy (networking.k8s.aws/v1alpha1) with Deny.
- The note said
- Allow from ingress controller example uses the ingress-nginx namespace.
- What holds
- Ingress NGINX was retired: best-effort maintenance ended in March 2026 and the project receives no further releases, bug fixes or security patches (its repositories are read-only). Use a Gateway API implementation (or another maintained ingress controller) as the canonical example, selecting its namespace by kubernetes.io/metadata.name.
- The note said
- Limiting DNS resolution requires additional tools; Cilium provides DNS-based policies.
- What holds
- EKS Auto Mode supports DNS-based (FQDN and wildcard domain) egress policies natively through the ApplicationNetworkPolicy CRD and cluster-scoped DNS rules; this applies only to workloads on Auto Mode-launched EC2 instances. On non-Auto Mode clusters, standard VPC CNI policies remain IP/port-based, so FQDN rules still need Cilium or Calico.
- The note said
- Calls kubenet 'the default kubenet CNI'.
- What holds
- kubenet was a kubelet-internal network plugin, not a CNI plugin, and Kubernetes has never shipped a default CNI. The kubelet's --network-plugin and --cni-* flags were removed in Kubernetes 1.24 with dockershim; CNI management is the container runtime's job. kubenet also never enforced NetworkPolicy.
- The note said
- Intro says 'Traffic not explicitly allowed by a policy is denied'.
- What holds
- Pods are non-isolated by default. A pod becomes isolated for ingress (or egress) only when some NetworkPolicy selects it and lists Ingress (or Egress) in policyTypes; only then is traffic not allowed by some policy dropped, and only in that direction. Pods no policy selects stay fully open.
- The note said
- DNS egress example allows only UDP 53.
- What holds
- DNS uses TCP as well as UDP (truncated responses, large records, DNSSEC); RFC 7766 requires general-purpose DNS implementations to support both. Egress rules to cluster DNS must allow both UDP 53 and TCP 53 (and CoreDNS's target port if it differs).
- The note said
- Selects namespace label name: ingress-nginx and controller pods app: ingress-nginx.
- What holds
- Namespaces do not get a 'name' label; the control plane sets the immutable label kubernetes.io/metadata.name=<namespace>. The ingress-nginx manifests label the namespace and controller pods app.kubernetes.io/name: ingress-nginx (pods also app.kubernetes.io/component: controller), not app: ingress-nginx, so the example selects nothing.
Note 74Pod Security Standards
- The note said
- Pod Security Admission is enabled by default in Kubernetes 1.25+ / available in EKS 1.25+.
- What holds
- PodSecurity admission was beta and enabled by default from Kubernetes 1.23 and became stable in 1.25, the release that removed PodSecurityPolicy. EKS enables the PodSecurity admission plugin on every supported version (standard support 1.34-1.37, extended 1.31-1.33 as of 2026-11-19), so the version gate is moot.
- The note said
- Baseline/Restricted control lists as described (AppArmor, SELinux, seccomp, sysctls, capabilities, volume types).
- What holds
- The categories are right but the details are versioned: Baseline AppArmor now checks the appArmorProfile field (GA 1.30) as well as the legacy annotation; the SELinux type allowlist includes container_engine_t since 1.31; procMount must be Default; the safe-sysctl allowlist grows by release (tcp_rmem/tcp_wmem in 1.32, tcp_slow_start_after_idle and tcp_notsent_lowat in 1.37). Cite the PSS page for the target version.
- The note said
- OPA Gatekeeper and Kyverno can enforce and mutate.
- What holds
- Both can, but the lesson should add the built-in options: ValidatingAdmissionPolicy (GA 1.30) and MutatingAdmissionPolicy (GA 1.36, admissionregistration.k8s.io/v1). Kyverno (v1.20.0) has CEL-based policy kinds (ValidatingPolicy, MutatingPolicy, GeneratingPolicy, ImageValidatingPolicy in policies.kyverno.io) and marks kyverno.io/v1 ClusterPolicy deprecated; Gatekeeper (v3.23.1) can generate VAPs from templates.
- The note said
- Baseline 'HostPath volumes are restricted… Some specific paths might be allowed'.
- What holds
- Baseline forbids hostPath volumes entirely: spec.volumes[*].hostPath must be undefined/nil. There is no path allowlist (that was a PodSecurityPolicy feature).
- The note said
- Restricted requires 'runAsUser must specify a non-zero UID'.
- What holds
- Restricted requires runAsNonRoot: true (pod level or every container). runAsUser is optional; the 'Running as Non-root user (v1.23+)' control only forbids runAsUser: 0; any non-zero value or unset is allowed.
- The note said
- Restricted volume allowlist omits csi.
- What holds
- Restricted allows exactly: configMap, csi, downwardAPI, emptyDir, ephemeral, persistentVolumeClaim, projected, secret.
- The note said
- Baseline seccomp restrictions 'prevent disabling the default seccomp profile'.
- What holds
- Baseline only forbids explicitly setting seccompProfile.type: Unconfined (allowed: unset, RuntimeDefault, Localhost). An unset profile runs Unconfined unless the kubelet's SeccompDefault is enabled. Restricted is the level that requires RuntimeDefault or Localhost to be set.
Note 75Kubernetes RBAC Deep Dive
- The note said
- aws-auth ConfigMap maps IAM entities; EKS Access Entries (newer feature) are an alternative.
- What holds
- AWS documents aws-auth as deprecated and access entries plus access policies (AmazonEKSClusterAdminPolicy, AmazonEKSAdminPolicy, AmazonEKSEditPolicy, AmazonEKSViewPolicy) as the preferred mechanism. Authentication modes are CONFIG_MAP, API_AND_CONFIG_MAP and API (recommended); changes are one-way. Access-entry usernames cannot start with system:, eks:, aws:, amazon: or iam:, and eksctl will not migrate mappings to system:-prefixed groups other than EKS-specific ones; whether a STANDARD entry can list system:masters as a group was not confirmed here (use AmazonEKSClusterAdminPolicy).
- The note said
- Projected service account tokens: short-lived, audience-scoped, automatically mounted.
- What holds
- Correct, with specifics: TokenRequest-issued tokens default to a 1-hour lifespan and the kubelet refreshes them before expiry; kube-apiserver --service-account-extend-token-expiration (default true) extends admission-injected tokens up to 1 year for legacy clients. Secret-based tokens are not auto-created since 1.24, and the legacy token cleaner (stable since 1.30) deletes auto-generated secret tokens unused for one year by default.
- The note said
- Tools like rbac-lookup, kubectl-who-can, and rakkess provide RBAC analysis.
- What holds
- rbac-lookup is maintained (v0.10.3, 2025-08-01). kubectl-who-can's last release is v0.4.0 (2022-02-15, built on client-go v0.20) and rakkess's is v0.5.1 (2022-11-18), so both are effectively unmaintained. Built-in kubectl auth can-i --list covers the common case.
- The note said
- Default service account has 'no permissions beyond the minimum (creating tokens for itself)'.
- What holds
- Default RBAC grants no permissions to service accounts outside kube-system beyond the API discovery roles (system:basic-user, system:discovery, system:public-info-viewer via system:authenticated). A service account cannot create its own tokens; serviceaccounts/token create is not granted. The kubelet obtains tokens for pods.
- The note said
- 'Roles that can create or modify bindings can grant themselves more permissions'.
- What holds
- RBAC escalation prevention lets a user create/update a role binding only if they already hold every permission in the referenced role, or have the bind verb on it; creating/updating a Role/ClusterRole with permissions they lack requires the escalate verb. The real escalation paths are bind, escalate, impersonate, create pods (run as any service account in the namespace), and reading secrets.
- The note said
- Example IAM ARNs use a 9-digit account ID (123456789).
- What holds
- AWS account IDs are 12 digits; use the AWS documentation placeholder 111122223333 (for example arn:aws:iam::111122223333:role/my-role).
- The note said
- Verb list omits bind, escalate and impersonate.
- What holds
- Besides get, list, watch, create, update, patch, delete and deletecollection, RBAC has special verbs: bind and escalate (on roles/clusterroles), impersonate (on users, groups, serviceaccounts, uids) and use (e.g. legacy PSP). These are the verbs the escalation discussion depends on.
Note 76Custom Resource Definitions
- The note said
- OpenAPI schemas can't express all constraints; complex validation needs webhooks.
- What holds
- CRD validation rules in CEL (x-kubernetes-validations) are stable since Kubernetes 1.29 and handle cross-field rules and transition rules (oldSelf, e.g. immutability); validation ratcheting is GA in 1.33. Webhooks are only needed for checks that require external state or other objects.
- The note said
- No protobuf support. CRDs use JSON only.
- What holds
- CRDs still do not support Protocol Buffers (aggregated APIs do). CBOR is being added as a second encoding: KEP-4222 alpha in 1.32 (CBORServingAndStorage gate, off by default, which also makes CBOR the storage encoding for custom resources) with beta listed for 1.37; the exact default state in 1.37 was not confirmed here.
- The note said
- Only one version can be storage; deprecate old versions before removing them.
- What holds
- Correct, plus: before removing a version, rewrite stored objects to the new storage version and remove the old version from the CRD's status.storedVersions. Built-in Storage Version Migration (storagemigration.k8s.io) went beta in 1.35 and GA (v1, enabled by default) in 1.37, replacing the out-of-tree migrator.
- The note said
- kubectl apply --dry-run=server validates CRs.
- What holds
- Correct. Server-side field validation is GA since 1.27 and kubectl --validate defaults to strict, so unknown or duplicate fields are rejected (HTTP 400) instead of silently pruned; controllers default to Warn.
- The note said
- Sample Database uses version: "14" which fails the schema pattern '^\d+\.\d+$'.
- What holds
- The sample is rejected with 'spec.version in body should match '^\d+\.\d+$''. Use version: "14.0" or relax the pattern to '^\d+(\.\d+)?$'.
- The note said
- Schema type list (string, integer, boolean, array, object) omits number.
- What holds
- Structural schemas also support number (floating point; CEL type double) alongside integer, string, boolean, array and object; x-kubernetes-int-or-string and x-kubernetes-preserve-unknown-fields cover mixed/opaque values.
- The note said
- Scale subresource maps statusReplicasPath to .status.readyReplicas.
- What holds
- statusReplicasPath maps to scale.status.replicas and conventionally points to .status.replicas; labelSelectorPath (required for HPA/VPA) must point to a string field holding a serialized label selector (for example .status.labelSelector of type string), not a selector struct.
Note 77Building Kubernetes Operators
- The note said
- kubebuilder init --domain example.com; kubebuilder create api --group apps --version v1 --kind Database; generated layout.
- What holds
- Kubebuilder is v4 (v4.16.0, 2026-09-10, Kubernetes 1.37, controller-runtime v0.25). go/v4 is the default plugin; --repo <module path> is required outside GOPATH (no go.mod). Layout: api/<version>/, internal/controller/, internal/webhook/<version>/ (the --legacy webhook flag was removed in 4.16), cmd/main.go. Avoid --group apps, which collides with the core apps API in Go imports.
- The note said
- Operator SDK supports Go, Ansible and Helm operators with OLM integration.
- What holds
- Operator SDK is still released (v1.42.3, 2026-06-26) with Go, Ansible and Helm support, but the Ansible plugin is extracted to operator-framework/ansible-operator-plugins, and OLM v1 (operator-controller with the ClusterExtension API and catalogd) is the successor to OLM v0's Subscription/CSV model. Helm plugin location was not confirmed here.
- The note said
- controller-runtime provides default metrics; periodic resync occurs; framework requeues with exponential backoff.
- What holds
- Correct with specifics: returning a non-nil error requeues with exponential backoff and the Result is ignored; Result.Requeue is deprecated (use RequeueAfter); the cache SyncPeriod defaults to 10 hours and the docs advise not to rely on or tune it casually. Current release v0.25.3.
- The note said
- log := r.Log.WithValues(…)
- What holds
- Current Kubebuilder scaffolds have no Log field on the reconciler; they get a contextual logger with log := logf.FromContext(ctx) (sigs.k8s.io/controller-runtime/pkg/log), which already carries controller, namespace and name values.
- The note said
- reflect.DeepEqual(existing.Spec, desired.Spec) on a StatefulSet decides whether to update.
- What holds
- The API server defaults many StatefulSet fields (podManagementPolicy, updateStrategy, revisionHistoryLimit, persistentVolumeClaimRetentionPolicy, container terminationMessagePath, etc.), so the stored spec never deep-equals an undefaulted desired spec and the controller updates every reconcile. Compare only the fields you own, use controllerutil.CreateOrUpdate with a mutate function, or use server-side apply (Kubebuilder 4.16 scaffolds alpha SSA with create api --ssa).
- The note said
- Status example appends a new Ready condition every reconcile with LastTransitionTime: metav1.Now().
- What holds
- Use meta.SetStatusCondition(&obj.Status.Conditions, metav1.Condition{Type, Status, Reason, Message, ObservedGeneration: obj.Generation}): it updates the existing condition of that type and changes LastTransitionTime only when Status changes, so conditions stay one per type.
- The note said
- Go snippets use the single alias appsv1 for both the custom Database type and k8s.io/api/apps/v1.
- What holds
- Two imports with the same package name in one file do not compile ('appsv1 redeclared'). Alias them distinctly (for example dbv1 for the custom API and appsv1 for k8s.io/api/apps/v1) and choose a non-colliding --group.
Sourcego.dev/ref/spec
- The note said
- Adoption snippet ignores the r.Update error and checks OwnerReferences == nil.
- What holds
- Check metav1.GetControllerOf(obj) (or metav1.IsControlledBy) instead of a nil slice, set ownership with controllerutil.SetControllerReference (it errors if another controller already owns the object), and return the Update error so the request is retried.
Note 78Admission Controllers and Webhooks
- The note said
- Kyverno ClusterPolicy with validationFailureAction: enforce and match.resources.kinds.
- What holds
- Spec-level validationFailureAction is deprecated (since Kyverno 1.13) in favor of per-rule spec.rules[].validate.failureAction; lowercase enforce/audit are deprecated for Enforce/Audit; match.any[]/match.all[] replace bare match.resources. kyverno.io/v1 ClusterPolicy itself is deprecated in favor of CEL-based policies.kyverno.io kinds (ValidatingPolicy with validationActions, MutatingPolicy, GeneratingPolicy, ImageValidatingPolicy). Current Kyverno: v1.20.0.
- The note said
- Gatekeeper ConstraintTemplate with Rego violation[{"msg": msg}] {…}.
- What holds
- The v0 syntax still works because Gatekeeper (v3.23.1) defaults to Rego v0 even though OPA 1.0 made Rego v1 the OPA default. Rego v1 is opt-in since Gatekeeper 3.19 via targets[].code[] with engine Rego and version: "v1", written as violation contains {"msg": msg} if { … } without import rego.v1. Use templates.gatekeeper.sh/v1.
- The note said
- Webhooks have a timeout (default 10 seconds).
- What holds
- Correct: timeoutSeconds defaults to 10 and must be 1-30. Also state that failurePolicy defaults to Fail in admissionregistration.k8s.io/v1, so a slow or down webhook blocks matching requests.
- The note said
- Istio uses webhook injection to add Envoy proxies to spec.containers.
- What holds
- Sidecar mode still injects via a mutating webhook, but with Kubernetes native sidecars (stable in 1.33: initContainers with restartPolicy: Always) Istio injects istio-proxy as a native sidecar init container (ENABLE_NATIVE_SIDECARS defaults to true from Istio 1.27 per the 1.27 change notes, not confirmed on the stable site here). Ambient mode (GA in Istio 1.24) injects no sidecar at all: ztunnel per node plus optional waypoint proxies.
- The note said
- Rather than building custom webhooks, policy engines provide frameworks.
- What holds
- Kubernetes has built-in CEL admission policies: ValidatingAdmissionPolicy (GA 1.30) and MutatingAdmissionPolicy (alpha 1.32, beta 1.34, GA 1.36 at admissionregistration.k8s.io/v1). They run in-process with no webhook to operate; Kubernetes 1.36 also adds manifest-based admission policies loaded from files. Policy engines remain useful for reporting, generation and image verification.
- The note said
- Check --enable-admission-plugins in API server configuration.
- What holds
- Valid for self-managed clusters only. On EKS the API server flags are not configurable; the enabled admission controllers are listed per platform version (for 1.37: NodeRestriction, ExtendedResourceToleration, NamespaceLifecycle, LimitRanger, ServiceAccount, TaintNodesByCondition, PodSecurity, Priority, DefaultTolerationSeconds, DefaultStorageClass, StorageObjectInUseProtection, PersistentVolumeClaimResize, RuntimeClass, CertificateApproval, CertificateSigning, CertificateSubjectRestriction, DefaultIngressClass, MutatingAdmissionWebhook, ValidatingAdmissionWebhook, ResourceQuota).
- The note said
- Multiple webhooks 'run in order (sorted by name for each type)'.
- What holds
- Matching validating webhooks are called in parallel and any rejection fails the request. Mutating webhooks are called in sequence, but their order is not a contract: do not rely on it, make mutating webhooks idempotent, and use reinvocationPolicy: IfNeeded if you must observe later mutations.
- The note said
- namespaceSelector example uses key: environment NotIn [kube-system].
- What holds
- That selects on a custom 'environment' label and does not exclude kube-system. Exclude by name with matchExpressions: [{key: kubernetes.io/metadata.name, operator: NotIn, values: [kube-system]}] (the control plane sets that immutable label on every namespace).
- The note said
- JSONPatch 'add /metadata/labels/injected' and 'add /spec/containers/0/env/-'.
- What holds
- RFC 6902 'add' requires the parent to exist: adding /metadata/labels/injected fails when labels is absent (add /metadata/labels as an object first) and /spec/containers/0/env/- fails when env is absent. Keys containing '/' must be escaped as '~1' (and '~' as '~0') per RFC 6901, e.g. /metadata/labels/example.com~1injected.
- The note said
- External-validation Go snippet reads response.StatusCode without checking err and never closes the body.
- What holds
- On error the Response must be ignored (it is nil except on CheckRedirect failures), so check err first; on success the caller must close resp.Body (defer resp.Body.Close()). Also set a client timeout below the webhook timeoutSeconds.
Sourcepkg.go.dev/net/http
- The note said
- reinvocationPolicy IfNeeded re-runs 'if changes might affect this webhook's logic'.
- What holds
- With IfNeeded the webhook may be called again in the same admission evaluation if the object was modified by other admission plugins after its initial call. Kubernetes does not inspect the webhook's logic, does not guarantee exactly one extra call, and may reorder such webhooks; the default is Never.
Note 79etcd Operations and Backup
- The note said
- etcdctl snapshot restore … (and etcdctl snapshot save).
- What holds
- etcd 3.6 removed etcdctl snapshot restore and snapshot status (deprecated in 3.5); use etcdutl snapshot restore <file> --data-dir … (--name, --initial-cluster, --initial-cluster-token, --initial-advertise-peer-urls). etcdctl snapshot save still works. Kubernetes 1.34 and later pair with etcd 3.6.x (upgrade to 3.5.20+ before moving to 3.6).
- The note said
- CronJob uses image bitnami/etcd:latest.
- What holds
- From August 28, 2025 Bitnami moved its public catalog: versioned images went to the frozen docker.io/bitnamilegacy repository (no updates), and free hardened images are latest-only and intended for development; stable tags require a Bitnami Secure Images subscription. Use the upstream etcd image (registry.k8s.io/etcd or gcr.io/etcd-development/etcd) pinned to the cluster's etcd version.
- The note said
- Database size default limit is 2GB; key-value size limit 1.5MB.
- What holds
- Default storage quota is 2 GiB (--quota-backend-bytes), 8 GiB is the suggested maximum, and the default max request size is 1.5 MiB. EKS documents an 8 GiB etcd limit (monitor apiserver_storage_size_bytes); Provisioned Control Plane tiers raise the database to 16 GB (24 GB for 4XL/8XL on 1.34+).
- The note said
- In EKS, AWS handles etcd backups, encryption, scaling; you can't access etcd directly.
- What holds
- Direct etcd access is still not available. Since Kubernetes 1.28, EKS envelope-encrypts all Kubernetes API data with KMS v2 by default (customer-managed KMS keys optional). etcd runs three members across three AZs. Database size is visible through apiserver_storage_size_bytes and, for provisioned tiers, etcd_mvcc_db_total_size_in_use_in_bytes in CloudWatch. AWS does not offer customer-restorable etcd snapshots, so you still back up workloads at the API level.
- The note said
- Kubernetes can encrypt secrets before storing in etcd (EncryptionConfiguration).
- What holds
- Correct; the recommended provider is KMS v2 (stable since 1.29). KMS v1 is deprecated since 1.28 and disabled by default from 1.29 (needs --feature-gates=KMSv1=true). EncryptionConfiguration can cover any resource, not only Secrets.
- The note said
- Controller manager reads desired state from etcd and the scheduler queries etcd.
- What holds
- Only kube-apiserver talks to etcd. The scheduler and controllers list/watch through the API server using informer caches; Kubernetes advises that ideally only the API server has etcd access.
- The note said
- Kubernetes resources are stored as JSON.
- What holds
- kube-apiserver's --storage-media-type defaults to application/vnd.kubernetes.protobuf, so built-in resources are stored protobuf-encoded; custom resources are stored as JSON (CBOR possible behind the CBORServingAndStorage gate); resources covered by EncryptionConfiguration are stored as ciphertext.
- The note said
- Velero provides Kubernetes-native backup 'including etcd'.
- What holds
- Velero backs up Kubernetes objects by querying the API server and backs up volumes with snapshots or file-system backup (kopia); it never reads or snapshots etcd, which is why it works on managed control planes like EKS. Backups are not strictly atomic.
- The note said
- Large ConfigMaps or Secrets can hit the 1.5MB etcd value limit.
- What holds
- ConfigMap data cannot exceed 1 MiB (Secrets likewise 1 MiB), enforced by API validation, so that limit is hit before etcd's 1.5 MiB request limit.
- The note said
- Backup CronJob as written (etcdctl snapshot save without endpoints/certs, no hostNetwork, no control-plane scheduling, no aws CLI, :latest).
- What holds
- It cannot work: kubeadm etcd requires --endpoints=https://127.0.0.1:2379 plus --cacert/--cert/--key (from /etc/kubernetes/pki/etcd mounted via hostPath); 127.0.0.1 is only etcd with hostNetwork: true; the pod needs a nodeSelector/toleration for control-plane nodes; uploading to S3 needs an image with the aws CLI and credentials (Pod Identity/IRSA); and the image must be a pinned version. It is not applicable on EKS at all.
- The note said
- Advises keeping etcd members in the same availability zone.
- What holds
- Spread control-plane and etcd members across failure zones (one member per AZ in a low-latency Region); a single-AZ etcd loses quorum with that AZ. EKS itself runs three etcd instances across three AZs.
- The note said
- Restore steps omit a new --initial-cluster-token and that all members must restore from the same snapshot.
- What holds
- All members must restore from the same snapshot. Restore overwrites member ID and cluster ID and starts a new logical cluster; pass the same new --initial-cluster-token and --initial-cluster to each member so restored members join only each other, not surviving old members.
Note 80Pod Disruption Budgets in Practice
- The note said
- Managed node group rolling updates respect PDBs; nodes drained one at a time; upgrades may hang.
- What holds
- MNG updates drain in parallel up to updateConfig maxUnavailable or maxUnavailablePercentage (default 1 node, maximum 100). If pods cannot be evicted within 15 minutes the update fails with PodEvictionFailure (it does not hang) unless you pass --force, which deletes the pods. updateStrategy DEFAULT launches new nodes before terminating old ones; MINIMAL terminates first (useful for scarce GPU capacity).
- The note said
- 'PDB controller exposes metrics' kube_poddisruptionbudget_status_current_healthy, _desired_healthy, _pod_disruptions_allowed.
- What holds
- The metric names are right but they come from kube-state-metrics, not a PDB controller. kube-state-metrics also exports kube_poddisruptionbudget_status_expected_pods, kube_poddisruptionbudget_status_observed_generation and kube_poddisruptionbudget_created (stable), plus labels/annotations/deletion_timestamp (experimental).
- The note said
- PDB API policy/v1 examples.
- What holds
- policy/v1 is right (policy/v1beta1 was removed in 1.25; in v1 an empty selector {} matches every pod in the namespace, in v1beta1 it matched none). Add spec.unhealthyPodEvictionPolicy (stable since 1.31): IfHealthyBudget (default) or AlwaysAllow; the docs recommend AlwaysAllow so drains can evict misbehaving pods.
- The note said
- Cluster Autoscaler respects PDBs when scaling down.
- What holds
- Correct, and Karpenter does too: it respects blocking PDBs while draining until the NodeClaim's terminationGracePeriod expires, honors the karpenter.sh/do-not-disrupt pod annotation for voluntary disruption, and limits disruption with NodePool budgets (default 10% of nodes); forced expiration and terminationGracePeriod can override PDBs.
- The note said
- Multiple PDBs selecting the same pod must all be satisfied.
- What holds
- The Eviction API refuses to evict a pod covered by more than one PDB (HTTP 500, a misconfiguration), so overlapping selectors block drains entirely. Avoid overlapping PDBs except briefly while moving pods between budgets.
- The note said
- Deployment rolling updates interact with PDBs via maxUnavailable.
- What holds
- Workload rollouts (Deployment, StatefulSet) do not use the Eviction API and are not limited by PDBs; rollout behavior is governed by the workload's own strategy (maxUnavailable/maxSurge). Pods unavailable because of a rollout do count against the budget, which reduces disruptionsAllowed for concurrent evictions.
- The note said
- PDBs ensure StatefulSet disruptions don't violate ordering guarantees.
- What holds
- A PDB only counts healthy pods matched by its selector; it knows nothing about ordinals or ordering. StatefulSet ordering comes from podManagementPolicy and updateStrategy.
- The note said
- kubectl get pdb shows CURRENT HEALTHY / DESIRED HEALTHY / DISRUPTIONS ALLOWED.
- What holds
- kubectl get pdb prints NAME, MIN AVAILABLE, MAX UNAVAILABLE, ALLOWED DISRUPTIONS, AGE. Health counts are in .status (currentHealthy, desiredHealthy, disruptionsAllowed, expectedPods, observedGeneration); use -o yaml or describe.
- The note said
- Recommends kubectl get events --field-selector reason=EvictionBlocked.
- What holds
- The Eviction API answers a blocked eviction with HTTP 429 to the caller; the Kubernetes docs describe no event emitted for it and no 'EvictionBlocked' reason was found, so this query typically returns nothing. Watch the drain output, the PDB's status.disruptionsAllowed, or events from the evicting tool (for example Karpenter). Not confirmed: whether any component emits such a reason.
- The note said
- Drain walkthrough says the third eviction is blocked 'until a replacement starts'.
- What holds
- Eviction stays blocked until the replacement pod becomes available (Ready, and for minReadySeconds if set), so the PDB's healthy count is back above the threshold; a started but not-ready pod does not count.
- The note said
- StatefulSet example omits template.spec.containers.
- What holds
- PodSpec.containers is required ('There must be at least one container in a Pod'), so the manifest fails validation; add template.spec.containers with at least a name and image, and keep spec.selector matching the template labels.
Note 81Kubernetes Scheduler Deep Dive
- The note said
- Karpenter replaces Cluster Autoscaler and provisions nodes from pending pods
- What holds
- True. Karpenter v1 APIs are stable: NodePool karpenter.sh/v1, EC2NodeClass karpenter.k8s.aws/v1. The latest AWS provider release is v1.15.2 (2026-11-12). On EKS Auto Mode, AWS runs Karpenter as a managed component and you configure only NodePools.
- The note said
- Fargate has no node-level scheduling and each pod is isolated
- What holds
- Pods that match a Fargate profile get schedulerName: fargate-scheduler, a second scheduler that EKS runs. Each pod runs in its own VM and binds to its own fargate-* Node object, one pod per node. DaemonSets, privileged containers, hostNetwork and hostPort are not supported.
- The note said
- The default scheduler handles thousands of pods per minute
- What holds
- The Kubernetes docs give no throughput figure. Throughput depends on cluster size, plugins and percentageOfNodesToScore. That setting is adaptive: 50% at 100 nodes, falling to 10% at 5000 nodes, with a 5% floor.
- The note said
- kubectl logs -n kube-system kube-scheduler-<node> shows scheduler logs on EKS
- What holds
- EKS has no visible kube-scheduler pod. Enable the scheduler control plane log type and read it in CloudWatch Logs under /aws/eks/<cluster>/cluster. The kubectl command works only on self-managed clusters.
- The note said
- Multiple pods are scheduled in parallel through concurrent scheduling cycles
- What holds
- Scheduling cycles run serially, one pod at a time. Only binding cycles may run concurrently.
- The note said
- PDB blocking is a reason pods won't schedule
- What holds
- PDBs never block scheduling. They limit voluntary evictions. During preemption the scheduler respects PDBs only on a best-effort basis.
- The note said
- Required pod affinity filters out nodes that don't run the matching pods
- What holds
- Required pod affinity filters by topology domain: a node passes if any node in its topologyKey domain runs a matching pod. That equals 'nodes without those pods' only when topologyKey is kubernetes.io/hostname.
Note 82Multi-Cluster Kubernetes Strategies
- The note said
- KubeFed (types.kubefed.io/v1beta1) federates resources across clusters
- What holds
- KubeFed is archived as kubernetes-retired/kubefed (SIG Multicluster archived it in 2023). Alternatives are Karmada (CNCF graduated, September 2026), Open Cluster Management, and Argo CD ApplicationSets with a cluster generator. This also applies to note 86's multi-cluster DNS via KubeFed.
- The note said
- AWS App Mesh provides a mesh that can span EKS clusters (repeated in notes 83, 84 and 85)
- What holds
- App Mesh support ended 2026-09-30, and its console and resources are no longer accessible. On EKS, use VPC Lattice through the AWS Gateway API Controller, or Istio.
- The note said
- EKS Connector registers external clusters with the EKS console
- What holds
- Still offered as a read-only console view of non-EKS clusters (aws eks register-cluster plus the eks-connector agent). The separate EKS Dashboard aggregates EKS clusters across accounts and Regions through AWS Organizations.
- The note said
- Istio, Linkerd and Consul Connect support multi-cluster mesh
- What holds
- Istio ambient multi-network multicluster reached beta in 1.29 (February 2026). Since 2.15 (February 2024), Linkerd open source ships only edge releases; stable builds come from Buoyant Enterprise. Consul has been under the Business Source License since August 2023.
- The note said
- An ExternalName Service is a drop-in for cross-cluster calls
- What holds
- ExternalName returns only a CNAME. It does no port remapping and has no endpoints, and HTTP Host and TLS SNI carry the alias name. The Kubernetes docs warn against using it for HTTP and HTTPS.
Note 83Introduction to Service Mesh
- The note said
- Istio CRDs use networking.istio.io/v1beta1, security.istio.io/v1beta1 and telemetry.istio.io/v1alpha1 (repeated in notes 84, 87 and 98)
- What holds
- Promoted to v1 in Istio 1.22 (May 2024), including the Telemetry API. v1beta1 is still served. The current Istio release is 1.32.0 (2026-11-09).
- The note said
- Cilium's eBPF mesh is the newer sidecarless approach
- What holds
- Istio ambient mode (ztunnel plus waypoints) has been sidecarless and GA since Istio 1.24 (November 2024), so Cilium is not the only sidecarless option.
- The note said
- VPC Lattice is AWS's newer application networking service
- What holds
- VPC Lattice has been GA since 2023. On EKS the AWS Gateway API Controller drives it for east-west traffic. The AWS Load Balancer Controller added GA Gateway API support for north-south traffic in March 2026.
- The note said
- Mesh overhead is typically 1-3 ms per hop
- What holds
- Istio 1.18 sidecar benchmarks measured about 1.7 ms at P90. The Istio 1.22 docs report ambient ztunnel adding about 0.17 ms at P90 and 0.20 ms at P99. Quote any figure with its version and data-plane mode.
- The note said
- AuthorizationPolicy with separate '- from' and '- to' rules restricts both
- What holds
- Rules are ORed: a match occurs when at least one rule matches. Put from and to in the same rule.
- The note said
- A VirtualService can route to subsets v1/v2 without a DestinationRule
- What holds
- Subsets must be defined in a DestinationRule. Routing to an undefined subset returns 503s.
Note 84Istio Deep Dive
- The note said
- The Istio Operator (IstioOperator CR in-cluster) manages installation
- What holds
- The in-cluster operator was deprecated in 1.23 and removed in 1.24. IstioOperator survives only as input to istioctl install -f. Use Helm or the separate Sail Operator.
- The note said
- Installation profiles: minimal, default, demo, production
- What holds
- The profiles are default, demo, minimal, remote, ambient, empty and preview, plus platform profiles. There is no production profile.
- The note said
- Gateway selector istio: ingressgateway for ingress
- What holds
- Still documented, but Istio intends to make the Kubernetes Gateway API its default traffic-management API. Prefer a Gateway with gatewayClassName: istio.
- The note said
- service.beta.kubernetes.io/aws-load-balancer-type: nlb
- What holds
- The legacy in-tree controller handles the nlb value. With the AWS Load Balancer Controller, use aws-load-balancer-type: external plus aws-load-balancer-nlb-target-type: ip or instance. EKS recommends creating new NLBs only with the Load Balancer Controller.
- The note said
- Istio is sidecar-only (no mention of ambient); 1.29.x line
- What holds
- Ambient has been GA since 1.24. Istio 1.32.0 was released 2026-11-09, and 1.29 reached EOL on 2026-10-12.
- The note said
- Install Jaeger with the samples/addons/jaeger.yaml addon
- What holds
- The Istio Jaeger task defers installation to the Jaeger docs. It configures an opentelemetry extensionProvider (jaeger-collector:4317) that the Telemetry API selects. Default sampling is 1%.
- The note said
- Ensure sufficient VPC IP addresses for sidecars
- What holds
- Sidecars share the pod's network namespace and IP, so they consume no extra VPC IPs.
- The note said
- helm install istio-base istio/base -n istio-system (no --create-namespace)
- What holds
- The command fails if the namespace does not exist. The documented command is helm install istio-base istio/base -n istio-system --set defaultRevision=default --create-namespace.
- The note said
- Labelling a namespace injects sidecars
- What holds
- Injection occurs at pod creation time. Existing pods need kubectl rollout restart.
Note 85Envoy Proxy Fundamentals
- The note said
- Envoy config uses resource_api_version: V3
- What holds
- v3 is the only xDS version. Pin examples to a stated Envoy release; Envoy is at 1.40.2.
- The note said
- Circuit breaker thresholds 100/100/1000/3 presented as defaults
- What holds
- Envoy's defaults are max_connections 1024, max_pending_requests 1024, max_requests 1024 and max_retries 3. Only max_retries matches.
- The note said
- outlier_detection max_ejection_percent: 50
- What holds
- The Envoy default is 10%, and consecutive_5xx defaults to 5. A value of 50 is a tuning choice, not a default.
- The note said
- 503 UC means no healthy upstream; UC and UF both mean upstream connection failure
- What holds
- UH means no healthy upstream, UF means upstream connection failure, and UC means upstream connection termination. Also relevant: UO is upstream overflow (circuit breaker) and URX is the retry limit exceeded.
- The note said
- Change log level with GET /logging?level=debug
- What holds
- All admin mutations must be HTTP POST, for example POST /logging?level=debug.
- The note said
- tcp_keepalive presented as connection pooling
- What holds
- It is a socket option (upstream_connection_options.tcp_keepalive), not connection pooling.
Note 86Kubernetes DNS and CoreDNS
- The note said
- Cluster DNS is often at 10.96.0.10
- What holds
- 10.96.0.10 is the kubeadm default. Unless you set a custom service CIDR at creation, EKS assigns 10.100.0.0/16 or 172.20.0.0/16, so DNS is at 10.100.0.10 or 172.20.0.10.
- The note said
- CoreDNS watches Services and Endpoints
- What holds
- CoreDNS watches EndpointSlices. The Endpoints API is deprecated in Kubernetes 1.33.
- The note said
- kubectl apply -f the nodelocaldns.yaml from master
- What holds
- First substitute _PILLARLOCALDNS, _PILLAR_DNSDOMAIN_ and _PILLARDNSSERVER_ with sed. IPVS mode uses a different substitution and also changes kubelet --cluster-dns.
- The note said
- CoreDNS is a managed EKS add-on maintained by AWS
- What holds
- True. The add-on supports autoScaling configuration values (enabled, minReplicas, maxReplicas). nodesPerReplica and cpuCoresPerReplica need a minimum add-on build, for example v1.14.3-eksbuild.16 on 1.35/1.36.
- The note said
- Default CoreDNS resources 100m/70Mi (limit 170Mi), cache 30, max_concurrent 1000
- What holds
- Not confirmed for current EKS add-on builds. Check aws eks describe-addon-configuration and the live Corefile for the installed version.
- The note said
- Use busybox nslookup for DNS testing
- What holds
- The Kubernetes docs use a dnsutils pod based on registry.k8s.io/e2e-test-images/agnhost:2.39. They warn about musl DNS issues in Alpine 3.17 and earlier, not about busybox.
- The note said
- Stub domains are configured via kubelet clusterDNS/clusterDomain
- What holds
- Those kubelet fields set the pod's nameserver and search domain. Stub domains are Corefile server blocks that use forward.
- The note said
- RPZ example 'rpm { zone … }'
- What holds
- 'rpm' is a typo, and CoreDNS has no in-tree rpz plugin.
- The note said
- Four DNS queries per external resolution
- What holds
- With ndots:5, the resolver tries every search domain (three cluster domains plus node domains) before the absolute name, and glibc sends both A and AAAA for each. That is typically 8-10 or more queries.
Note 87gRPC in Kubernetes
- The note said
- Kubernetes 1.24+ supports native gRPC probes
- What holds
- gRPC probes are beta and on by default in 1.24, and GA in 1.27.
- The note said
- grpc.Dial(…) with grpc.WithInsecure()
- What holds
- Dial and DialContext are deprecated in favour of NewClient (still supported throughout 1.x), and WithInsecure is deprecated. Use grpc.NewClient(target, grpc.WithTransportCredentials(insecure.NewCredentials())). NewClient defaults to the dns resolver.
- The note said
- grpc_prometheus and otelgrpc.UnaryServerInterceptor() interceptors
- What holds
- go-grpc-prometheus is archived; use go-grpc-middleware/providers/prometheus. The otelgrpc interceptors were deprecated in v0.46.0 and removed in v0.61.0 (May 2025); use grpc.StatsHandler(otelgrpc.NewServerHandler()).
- The note said
- NGINX Ingress serves gRPC via backend-protocol: GRPC
- What holds
- ingress-nginx was retired in March 2026 and receives no further releases or fixes. Use Gateway API GRPCRoute (gateway.networking.k8s.io/v1, GA since Gateway API v1.1).
- The note said
- kubernetes.io/ingress.class: alb annotation
- What holds
- Deprecated in favour of spec.ingressClassName: alb. The controller still accepts the annotation for backward compatibility.
- The note said
- AuthorizationPolicy methods: ["orders.OrderService/*"]
- What holds
- methods matches HTTP verbs, and for gRPC the method is always POST. Use paths: ["/orders.OrderService/*"].
- The note said
- Browsers can't use HTTP/2 directly
- What holds
- Browsers speak HTTP/2 but do not expose frame and trailer control to JavaScript. That gap is why gRPC-Web exists.
- The note said
- HTTP/2 has no head-of-line blocking
- What holds
- HTTP/2 removes head-of-line blocking at the HTTP layer only. TCP-level blocking remains; HTTP/3 over QUIC removes it.
- The note said
- ALB gRPC example (missing HTTPS listener; target-type ip required)
- What holds
- gRPC needs an HTTPS listener and backend-protocol-version: GRPC. target-type ip is not required: instance and ip are both supported, and instance mode needs a NodePort Service.
- The note said
- DNS TTL governs endpoint updates for dns:/// targets
- What holds
- Clients re-resolve mainly on connection loss. Set the server's MaxConnectionAge (with a grace period) to force reconnects, or use a headless Service with round_robin, or a mesh.
Note 88Internal Developer Platforms
- The note said
- Crossplane RDSInstance in database.aws.crossplane.io/v1beta1 (claimed to be from an archived provider)
- What holds
- crossplane-contrib/provider-aws is not archived, but it is the older community provider. The Upjet family (provider-upjet-aws, provider-aws-rds) uses rds.aws.upbound.io/v1beta1 Instance. Namespaced Crossplane v2 MR groups were not verified.
- The note said
- Composition uses spec.resources (native patch-and-transform)
- What holds
- Crossplane v2 removed native patch-and-transform, which was deprecated in v1.17. Use mode: Pipeline with function-patch-and-transform. Crossplane is at v2.4.x.
- The note said
- Claims let developers request resources
- What holds
- In Crossplane v2, namespaced and cluster-scoped XRs do not support claims. Only LegacyCluster XRs keep them.
- The note said
- Backstage is a CNCF project
- What holds
- Backstage has been CNCF incubating since March 2022 and is not graduated. The new backend system is the default, and legacy backend support was removed by v1.42.
- The note said
- ACK as the automation layer
- What holds
- ACK, kro and Argo CD are also available as AWS-managed EKS Capabilities.
- The note said
- XRD composite kind and claim kind both 'Database'
- What holds
- The XRD kind and claimNames.kind must differ, for example XDatabase and Database.
Note 89GitOps with Argo CD
- The note said
- kubectl get all -l app.kubernetes.io/instance=my-app finds app resources
- What holds
- Argo CD 3.0 made annotation tracking (argocd.argoproj.io/tracking-id) the default. The label selector matches nothing unless resourceTrackingMethod is set to label.
- The note said
- notifications_catalog/install.yaml installs Argo CD Notifications
- What holds
- The notifications controller ships with Argo CD. That manifest installs only the trigger and template catalog.
- The note said
- ExternalSecret external-secrets.io/v1beta1 (also note 95)
- What holds
- ESO stopped serving v1beta1 in v0.17.0; use external-secrets.io/v1. ESO is at v2.15.0.
- The note said
- Kustomize commonLabels and patchesStrategicMerge
- What holds
- Deprecated in Kustomize v5.0.0. Use labels and patches.
- The note said
- ApplicationSet template '{{cluster}}' (fasttemplate)
- What holds
- fasttemplate is still the default and is not formally deprecated. The docs call Go templates (goTemplate: true, {{.cluster}}) more powerful.
- The note said
- Hook phases are PreSync, Sync, PostSync, Skip, SyncFail
- What holds
- PostDelete (added in v2.10) and PreDelete also exist.
- The note said
- Install Argo CD from stable manifests (version unstated)
- What holds
- Argo CD is at v3.6.2. Version 3.0 changed the tracking and RBAC defaults.
Sourcegithub.com/argoproj/…/v3.6.2
LessonGitOps with Argo CD
- The note said
- EKS cluster secret uses bearerToken
- What holds
- For EKS, use awsAuthConfig (clusterName, roleARN) with IRSA or Pod Identity. Since 2026-08-21, the EKS Capability for Argo CD supports a subset of argocd-cm keys.
- The note said
- Argo CD Vault Plugin for secrets
- What holds
- The Argo CD docs strongly caution against injecting secrets during manifest generation. Prefer ESO or the Secrets Store CSI Driver.
- The note said
- prometheus chart targetRevision 15.0.0
- What holds
- prometheus-community/prometheus is at 29.47.2 (app v3.16.0).
- The note said
- Redis caches only for the repo server
- What holds
- Redis is a throw-away cache shared by the application controller, the API server and the repo server.
- The note said
- App-of-apps Application without destination and project
- What holds
- destination and project are both required Application spec fields.
- The note said
- $values valueFiles without a ref: values source
- What holds
- $values needs spec.sources with one source that carries ref: values.
Note 90Infrastructure as Code with Terraform
- The note said
- S3 backend locking with dynamodb_table
- What holds
- DynamoDB locking is deprecated and will be removed in a future minor version. Use use_lockfile = true. Terraform is at 1.17.2.
- The note said
- terraform-aws-modules/eks 19.0.0 with cluster_name/cluster_version
- What holds
- v20 added access entries. v21 renamed cluster_name to name and cluster_version to kubernetes_version, and requires AWS provider 6.0 or later. The module is at v21.30.2.
- The note said
- cluster_version = "1.28"
- What holds
- 1.28 is out of all EKS support. Standard support covers 1.34-1.37 and extended support covers 1.31-1.33.
- The note said
- terraform-aws-modules/vpc 3.0.0
- What holds
- The VPC module is at v6.8.0.
- The note said
- hashicorp/aws ~> 5.0
- What holds
- v6.0 went GA in June 2025, and the provider is at v6.73.0.
- The note said
- Terraform 1.5.0, checkout@v3, setup-terraform@v2, configure-aws-credentials@v2
- What holds
- Terraform is at 1.17.2. The action majors are actions/checkout v7, hashicorp/setup-terraform v4 and aws-actions/configure-aws-credentials v6.
- The note said
- kubernetes_namespace / kubernetes_deployment resources
- What holds
- Deprecated in hashicorp/kubernetes provider 3.0.0 (2025-12-03). Use the _v1 resources.
- The note said
- Terragrunt path = find_in_parent_folders()
- What holds
- The no-argument form looks for a root terragrunt.hcl. Terragrunt recommends root.hcl with find_in_parent_folders("root.hcl"), and the root-terragrunt-hcl strict control turns the old form into an error.
- The note said
- OpenTofu is an open-source fork
- What holds
- OpenTofu has been a Linux Foundation project since September 2023 and a CNCF Sandbox project since 2025-04-23.
- The note said
- Use the terraform import CLI
- What holds
- import blocks (Terraform 1.5+) with terraform plan -generate-config-out are the config-driven way to import.
- The note said
- Lock file is named terraform.lock.hcl
- What holds
- The lock file is .terraform.lock.hcl.
- The note said
- OIDC workflow without permissions: id-token: write
- What holds
- id-token: write is required for OIDC role assumption, plus contents: read for checkout.
- The note said
- Apply on main runs apply -auto-approve on a fresh plan
- What holds
- That applies a plan nobody reviewed. Save the reviewed plan with plan -out, then apply that file.
- The note said
- aws_instance examples omit ami
- What holds
- ami is required unless a launch_template supplies the AMI.
- The note said
- Deploy my-app:latest via kubernetes_deployment
- What holds
- The spec never changes, so Terraform never sees a re-pushed image. Pin a tag or digest.
Note 91CI/CD Pipeline Design
- The note said
- actions/upload-artifact@v3
- What holds
- v3 artifact actions fail on github.com from 2025-01-30. upload-artifact is at v7.
- The note said
- cache@v3, codecov@v3, codeql-action@v2, slack-github-action@v1, create-pull-request@v5, paths-filter@v2
- What holds
- The current majors are cache v6, codecov v7, CodeQL v4, slack-github-action v4, create-pull-request v8 and paths-filter v4. CodeQL v2 was retired in January 2025, and v3 is deprecated with GHES 3.19 (December 2026). cache@v3 still resolves to v3.4.0+, which works on cache service v2.
- The note said
- aquasecurity/tfsec-action for IaC scanning
- What holds
- tfsec has been folded into Trivy (trivy config), and the tfsec README documents the migration.
Sourcegithub.com/aquasecurity/tfsec
LessonGitOps with Argo CD
- The note said
- FROM node:18 / node:18-slim (also note 94)
- What holds
- Node 18 reached EOL on 2025-04-30, and Node 20 on 2026-04-30. Use Node 24 or 26 LTS.
- The note said
- docker-compose up -d
- What holds
- Compose v1 stopped receiving updates in July 2023. Use docker compose.
- The note said
- GitLab only: - main
- What holds
- only/except are not actively developed. Use rules:.
Sourcedocs.gitlab.com/ci/yaml
LessonGitOps with Argo CD
- The note said
- Actions referenced at @master/@main (trivy-action, snyk, trufflehog)
- What holds
- Floating refs are a supply-chain risk; pin to full commit SHAs. On 2026-03-19, attackers force-pushed malicious commits onto trivy-action tags.
- The note said
- runs-on: ubuntu-latest-4-cores
- What holds
- An org admin names larger runners, so this is not a standard label.
- The note said
- Image pushed to ecr.amazonaws.com/my-app
- What holds
- The format is <account>.dkr.ecr.<region>.amazonaws.com/<repo>, and pushing requires an ECR login first.
- The note said
- Deploy job runs kubectl without checkout, credentials or kubeconfig
- What holds
- The job needs checkout, configure-aws-credentials, aws eks update-kubeconfig, and an EKS access entry for the role.
- The note said
- amazon-ecr-login uses OIDC
- What holds
- amazon-ecr-login reuses the credentials that configure-aws-credentials sets. OIDC belongs to that step.
- The note said
- cosign sign --key on a tag
- What holds
- Sign by digest. cosign is at v3.1.4.
- The note said
- create-pull-request with a repository input
- What holds
- There is no repository input. Check out the target repo to a path and pass path:.
- The note said
- npm test inside the slim production image
- What holds
- The production stage has no devDependencies. Run tests in the build stage.
Note 92Feature Flags and Progressive Delivery
- The note said
- LaunchDarkly LDClient('sdk-key') with a user dict
- What holds
- SDK 8 introduced contexts, and SDK 9 removed users. Use ldclient.set_config(Config(key)), ldclient.get() and Context.create(…). The SDK is at 9.21.0.
- The note said
- Argo Rollouts argoproj.io/v1alpha1 (1.8.x)
- What holds
- The API is still v1alpha1, and the release is v1.10.2.
- The note said
- Flagger flagger.app/v1beta1 with built-in metrics
- What holds
- The API is still v1beta1, and the release is v1.45.0. The provider list was not re-verified.
Sourcegithub.com/fluxcd/…/v1.45.0
LessonProgressive delivery
- The note said
- Inline analysis omits a required arg
- What holds
- Template args without a value are required, so the AnalysisRun fails.
- The note said
- Metric interval: 1m without count
- What holds
- Without count, the metric runs indefinitely and the analysis step never completes. Set count and failureLimit.
- The note said
- Saturation PromQL as written
- What holds
- Use rate(container_cpu_usage_seconds_total[5m]) divided by container_spec_cpu_quota/container_spec_cpu_period.
- The note said
- setWeight gives a precise traffic percentage
- What holds
- Without trafficRouting, setWeight is a best-effort replica ratio: 10% of 10 replicas is 1 pod.
Note 93Developer Experience Metrics
- The note said
- Change failure rate tiers Elite 0-15/High 16-30/Medium 31-45/Low 46-60
- What holds
- No DORA report uses these tiers. The 2023 report has 5/10/15/64%. The 2024 report has Elite 5%, High 20%, Medium 10% and Low 40%.
- The note said
- MTTR is the fourth DORA metric
- What holds
- MTTR was replaced by failed deployment recovery time.
- The note said
- Four DORA metrics with Elite-Low tiers
- What holds
- There are five metrics, adding deployment rework rate. The 2025 report uses seven team archetypes and an AI Capabilities Model instead of tiers.
- The note said
- Elite lead time is under one day
- What holds
- This matches 2023/2024 ('less than a day'). In 2021, elite was under one hour. Cite the report year.
Note 94Container Image Security
- The note said
- COSIGN_EXPERIMENTAL: "true" for keyless
- What holds
- Keyless signing has been the default since cosign 2.0. cosign is at v3.1.4.
Sourcegithub.com/sigstore/…/v3.1.4
LessonImage supply chain
- The note said
- Keyless cosign verify without identity flags
- What holds
- Keyless verify requires --certificate-identity(-regexp) and --certificate-oidc-issuer(-regexp).
- The note said
- Kyverno ClusterPolicy with validationFailureAction: enforce
- What holds
- Lowercase values are deprecated, and 1.13 moved the setting to per-rule failureAction. Kyverno 1.19 deprecated kyverno.io/v1 ClusterPolicy/Policy, and 1.20.0 (2026-11-12) no longer enforces them. Use policies.kyverno.io/v1 ValidatingPolicy or ImageValidatingPolicy. This also affects the latest-tag policy.
Sourcekyverno.io/docs/…/upgrading
LessonImage supply chain
- The note said
- policy.sigstore.dev/v1alpha1 ClusterImagePolicy
- What holds
- v1beta1 is documented. policy-controller is at v0.15.1.
- The note said
- Base images golang:1.21, alpine:3.18, ubuntu:22.04
- What holds
- Go 1.21 reached EOL on 2024-08-13 and Alpine 3.18 on 2025-05-09. Ubuntu 22.04 keeps standard support until 2027-06.
Sourceendoflife.date/go
LessonImage supply chain
- The note said
- npm ci --only=production
- What holds
- Use --omit=dev.
Sourcedocs.npmjs.com/cli/…/npm-ci
LessonImage supply chain
- The note said
- ECR scanning is built in via scan_on_push
- What holds
- Basic scanning uses AWS-native technology, and enhanced scanning uses Amazon Inspector.
- The note said
- Create a new non-root user on a node slim image
- What holds
- UID/GID 1000 already belongs to the node user. Use USER node.
- The note said
- USER appuser with runAsNonRoot
- What holds
- The kubelet cannot verify a non-numeric user. Use a numeric UID or set runAsUser.
Sourcekubernetes.io/docs/…/pod-v1
LessonImage supply chain
- The note said
- slsa-generator-container generate command
- What holds
- This CLI does not exist. Use the slsa-github-generator container workflow, buildx provenance or GitHub attestations.
- The note said
- cosign attest without --type is an error
- What holds
- --type defaults to custom, so the command succeeds with a custom predicate type.
- The note said
- imagePullPolicy: Always ensures patched images
- What holds
- Always only re-resolves the tag.
Sourcekubernetes.io/docs/…/images
LessonImage supply chain
Note 95Secrets Management Deep Dive
- The note said
- aescbc encryption provider example
- What holds
- The docs mark aescbc as not recommended because of padding-oracle attacks. Use KMS v2 or secretbox.
- The note said
- kms provider without apiVersion (KMS v1)
- What holds
- KMS v1 was deprecated in 1.28 and disabled by default in 1.29. Use apiVersion: v2, stable since 1.29.
- The note said
- EKS envelope encryption needs a KMS key at cluster creation
- What holds
- EKS 1.28+ envelope-encrypts all API data by default with KMS v2 and an AWS-owned key. A customer key can be added at any time.
- The note said
- eksctl create cluster --encrypt-secrets --encrypt-kms-arn
- What holds
- These flags do not exist. Use ClusterConfig secretsEncryption.keyARN, or eksctl utils enable-secrets-encryption --cluster --key-arn.
- The note said
- Mozilla SOPS
- What holds
- SOPS lives at getsops/sops as a CNCF Sandbox project.
- The note said
- SecretProviderClass serviceAccountName uses IRSA
- What holds
- ASCP defaults to IRSA and also supports Pod Identity with usePodIdentity: "true".
- The note said
- sealed-secrets Helm repo
- What holds
- The repo URL is unchanged. The image status after the 2025 Bitnami catalog changes is unconfirmed.
- The note said
- HashiCorp Vault
- What holds
- Vault has been under the BSL since 2023. OpenBao is the open-source fork.
Sourceopenbao.org
- The note said
- RoleBinding ServiceAccount subject without namespace
- What holds
- ServiceAccount subjects require a namespace.
- The note said
- secretObjects objectName matches the ARN
- What holds
- It must match the objectAlias or the path-translated objectName. Sync also needs syncSecret.enabled and a pod that mounts the volume.
- The note said
- KMS plugin socket configuration on EKS
- What holds
- The EKS control plane is managed, so you cannot set this.
- The note said
- kubeseal works with a custom release name/namespace by default
- What holds
- Pass --controller-name and --controller-namespace, or use the default names.
- The note said
- Kubernetes Secrets have no audit trail
- What holds
- Audit logging records Secret access.
Note 96Runtime Security and Falco
- The note said
- Falco driver.kind=ebpf is the modern driver
- What holds
- modern_ebpf has been the default since 0.38. The legacy eBPF probe was deprecated in 0.43 and removed in 0.44.0. Falco is at 0.45.2.
- The note said
- Metrics falco_events_total and falco_rules_matched_total
- What holds
- The native metric is falcosecurity_falco_rules_matches_total.
- The note said
- Change rule priority with append: true
- What holds
- Use override: {priority: replace} (0.37.0+). append is deprecated and applies only to condition, exceptions and lists.
- The note said
- Default rules detect many threats
- What holds
- Only stable rules ship in falco_rules.yaml. Container metadata comes from the container plugin.
- The note said
- Falco Talon example syntax
- What holds
- Talon uses '- action:' with 'actionner:' and '- rule:' with 'match:'. The note's example was not confirmed.
- The note said
- k8saudit plugin webhook on EKS
- What holds
- EKS does not expose an audit webhook. Use the k8saudit-eks plugin (CloudWatch) with the json plugin.
- The note said
- Rule field rate: 1/60
- What holds
- Falco rules have no rate field.
- The note said
- Falcosidekick hostport without a scheme
- What holds
- hostport must be a URL that includes the scheme.
- The note said
- Detect container entry with proc.pname=runc
- What holds
- That check is fragile. Use the container_entrypoint macro.
Note 97Kubernetes Audit Logging
- The note said
- Custom audit policy and --audit-* flags on EKS
- What holds
- EKS uses a fixed audit policy. You can only enable or disable the audit log type.
- The note said
- Example userAgent kubectl/v1.28.0
- What holds
- Kubernetes is at 1.37.
- The note said
- Retention: PCI 1 year, HIPAA 6 years for audit logs
- What holds
- PCI DSS requires 12 months, with 3 immediately available. HIPAA's six-year rule covers policy documentation, not audit logs specifically.
- The note said
- Audit policy users wildcard for kube-system service accounts
- What holds
- users does not take wildcards. Use userGroups: ["system:serviceaccounts:kube-system"].
- The note said
- list/watch level None rule placed before the secrets rule
- What holds
- The first matching rule wins, so the secrets rule never fires for those verbs.
- The note said
- Audit policy delivered as a ConfigMap
- What holds
- The audit policy is a control-plane file, not a ConfigMap.
- The note said
- S3 Object Lock must be enabled at bucket creation
- What holds
- You can enable Object Lock on existing versioned buckets. GOVERNANCE mode can be bypassed; COMPLIANCE mode cannot.
- The note said
- Firehose subscription filter without role_arn
- What holds
- role_arn is required for Firehose destinations.
- The note said
- TokenReview events indicate failed authentication
- What holds
- Failed logins appear as 401 responses.
Note 98Zero Trust Networking
- The note said
- IRSA as workload identity; IRSA gives per-pod credentials
- What holds
- IRSA gives every pod of a service account the same role. Pod Identity is preferred, and its session tags (kubernetes-pod-name, kubernetes-pod-uid and others) identify the pod.
- The note said
- Network policies are enforced on EKS
- What holds
- Enforcement requires enableNetworkPolicy in the VPC CNI. EKS also supports ClusterNetworkPolicy with Admin and Baseline tiers.
- The note said
- Cilium monitoring mode for policies
- What holds
- The setting is policyAuditMode and is not meant for production. Upstream, ClusterNetworkPolicy v1alpha2 replaces AdminNetworkPolicy and BaselineAdminNetworkPolicy.
- The note said
- Istio mTLS certificates rotate frequently
- What holds
- The default certificate TTL is 24h.
- The note said
- Without a default deny, a NetworkPolicy is ineffective
- What holds
- Selecting a pod isolates it for the listed policyTypes.
- The note said
- podSelector: {} allows traffic cluster-wide
- What holds
- podSelector: {} covers only the same namespace. Add namespaceSelector: {} for cluster-wide.
- The note said
- DNS egress allows UDP 53 only
- What holds
- Also allow TCP 53, and the NodeLocal DNSCache IP if you use it.
- The note said
- Istio egress gateway configuration
- What holds
- An egress gateway needs a Gateway, a DestinationRule and a two-hop VirtualService.
- The note said
- Behavioral analysis YAML presented as configuration
- What holds
- It is pseudo-code. No standard resource defines that kind, so the API server rejects it unless a matching CRD is installed.
- The note said
- RequestAuthentication alone enforces JWT
- What holds
- Requests without a token pass. Enforce with an AuthorizationPolicy using requestPrincipals.
Note 99OpenTelemetry Deep Dive
- The note said
- OpenTelemetry is the second-largest CNCF project
- What holds
- OpenTelemetry has the second-highest CNCF velocity and graduated on 2026-05-21.
- The note said
- Resource attributes deployment.environment and db.system
- What holds
- Use deployment.environment.name and db.system.name.
- The note said
- Python meter.create_gauge
- What holds
- Not verified for a specific SDK version; check the installed opentelemetry-api.
- The note said
- X-Ray via aws-otel-collector:latest DaemonSet
- What holds
- The X-Ray SDKs and daemon have been in maintenance since 2026-02-25, with end of support on 2027-02-25. Use the ADOT or CloudWatch Observability add-on, and pin image versions.
- The note said
- Collector receivers listen on 0.0.0.0 by default
- What holds
- The default bind address has been localhost since v0.104.0. Set 0.0.0.0 explicitly in containers.
- The note said
- Python auto-instrumentation exports to port 4317
- What holds
- Python auto-instrumentation uses http/protobuf on port 4318; gRPC is not supported.
- The note said
- Core collector image lacks the prometheus receiver/prometheusremotewrite exporter
- What holds
- The core distribution includes both. It lacks awsxray, so a config that uses awsxray still fails on the core image.
- The note said
- HTTP metric names and units as written
- What holds
- Durations are in seconds, and the active-requests metric is http.server.active_requests.
- The note said
- Processor order with batch before memory_limiter
- What holds
- memory_limiter goes first and batch goes last.
- The note said
- traces{…} query presented as PromQL
- What holds
- That syntax is TraceQL.
- The note said
- Exemplar exposition syntax
- What holds
- The exemplar must include its value after the label set.
- The note said
- requests propagates trace headers automatically
- What holds
- requests needs the requests instrumentation enabled.
- The note said
- View example without the aggregation import
- What holds
- Import ExplicitBucketHistogramAggregation.
- The note said
- DaemonSet collector with pod service discovery
- What holds
- Every replica scrapes every pod, so samples are duplicated. Use the Target Allocator or filter by node.
- The note said
- Tail sampling across multiple replicas
- What holds
- Route spans with the loadbalancing exporter keyed on traceID so each trace reaches one replica.
Note 100Building Reliable Systems
- The note said
- topologySpreadConstraints without labelSelector
- What holds
- A nil selector matches nothing, so the constraint counts no pods. Add labelSelector, and matchLabelKeys if needed.
- The note said
- Circuit breaker that catches all exceptions
- What holds
- If the fallback swallows exceptions, the breaker never records failures and never opens. Record the failure before falling back.