I am trying to run Lab on CKA certification in KodeKloud Lab and I face issue, while I attempt to create pod from definition file in YAML: no matter how I define image setting - it always failes with the message: error: required image is not set.
The full overview about my commands and YAML config is below:
controlplane ~ ➜ kubectl run redis --image=redis123
controlplane ~ ➜ kubectl run -f redis.yaml
error: required flag(s) “image” not set
controlplane ~ cat redis.yaml
- name: redis
IT IS STRANGE that Lab can spin up the pod from imperative command, but fails with definition file. It used to work some time ago, but not anymore.
I am using Chrome browser for accessing Lab if it matters at all.