ConfigMaps and Secrets, Horizontal Pod Autoscaling, Probes and Rolling Deployments
Learn ConfigMaps and Secrets, Horizontal Pod Autoscaling, Probes and Rolling Deployments (Phase 11 · Docker and Kubernetes (Core), Microservices) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
ConfigMaps and Secrets • ConfigMap : non-sensitive configuration (key/values or files) injected as environment variables ( envFrom ), files in a mounted volume, or command args. Secret : sensitive data (passwords, tokens, TLS keys): base64-encoded ( not encrypted by default): enable encryption at rest , restrict RBAC , prefer external managers (Vault, External Secrets, Sealed Secrets). Mounted files update when the object changes (env vars do not): pods usually need a rolling restart ( kubectl rollout restart , Reloader, or Spring Cloud Kubernetes reload). • Spring mapping: env...