Login
Remember
Register
Ask a Question
Write a kubectl command to Create a static pod, have it run a command (so it does not exit) dryrun so that you get yaml file saved :
0
votes
asked
Aug 7, 2023
in
Kubernetes K8s
by
john ganales
Write a kubectl command to Create a static pod, have it run a command (so it does not exit) dryrun so that you get yaml file saved :
kubectcommand
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 7, 2023
by
john ganales
kubectl run static-busybox --image=busybox --command sleep 1000 --dry-run=client -o yaml > static-pod-busyboxyaml
...