CKAD v1.35 · Application Design and Build (20%) → "Understand multi-container Pod design patterns (sidecar, init, others)" Target time: 8 minutes
In namespace dev, create a Pod named weblog with two containers:
app image nginx:1.27-alpine
writes access logs to /var/log/nginxshipper image busybox:1.36
runs: sh -c 'tail -F /logs/access.log'
reads the SAME log directory at /logsShare the log directory between them with an emptyDir volume named logs.
Both containers must be Running. kubectl logs weblog -c shipper must show
nginx access-log lines after you hit the app.