DevOps interview Qs Flashcards
1
Q
Why might I choose the get config to a pod using a config map, rather than setting env vars in helm
A
Can change config map on running pod
2
Q
Why secrets in mount rather than env var
A
Env var could leak to sub processes or get in logs
3
Q
Command that run when pod starts defined in dockerfile. Can I override the startup command when I run a pod running that image in k8s
A
Yes.
Dockerfile:
Entry point
Cod
K8s yaml
Command: [“”]
Args:[“”,””]