Rules!

  1. Be fast, avoid creating yaml manually from scratch
  2. Use only kubernetes.io/docs for help.
  3. Check our solution after you did yours. You probably have a better one!

Todays Task: Make Pods immutable

  1. Create Pod holiday with two containers c1 and c2 of image bash:5.1.0, ensure the containers keep running
  2. Create Deployment snow of image nginx:1.19.6 with 3 replicas
  3. Force container c2 of Pod holiday to run immutable: no files can be changed during runtime
  4. Make sure the container of Deployment snow will run immutable. Then make necessary paths writable for Nginx to work.
  5. Verify everything

.

.

.

.

.

Solution

#certification #practice #security #cloud #kubernetes

CKS Exam Series 3 Immutable Pods
1.75 GEEK