Question
Perform the following tasks:
-
Add an init container to the pod named hungry-bear
, defined in the spec file at /opt/KUCC00108/pod-spec-KUCC00108.yaml
-
The init container should create an empty file at /workdir/calm.txt
-
If /workdir/calm.txt
is not present, the pod should exit
-
Once updated, create the pod using this spec file
Which of the following correctly modifies the YAML to meet all requirements?