Tuesday, November 3, 2020

Commands and Arguments - Kubernetes

1. Create a pod with the ubuntu image to run a container to sleep for 5000 seconds. Modify the file ubuntu-sleeper-2.yaml. Note: Only make the necessary changes. Do not modify the name.

Pod Name: ubuntu-sleeper-2 Command: sleep 5000

---> Edit the file as follows: 


The run kubectl create -f ubuntu-sleeper-2.yml


No comments:

Post a Comment