Hands-on task
This task is step 8 of the course “Kubernetes: manifests from Namespace to RBAC”
k8s: initContainer
In /root/pod.yaml there is a Pod web with a main container web (image nginx). Extend it: add an init container init (image busybox) that runs to completion before the main one starts.
Edit the file in the Editor tab.
What you'll practise:
- kubernetes
- init containers
- pod
- yq
- pod lifecycle