0 votes
in Kubernetes K8s by
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 :

1 Answer

0 votes
by
kubectl run static-busybox --image=busybox --command sleep 1000 --dry-run=client -o yaml > static-pod-busyboxyaml
...