- Take me to Practice Test
Solutions to Practice Test - Manual Scheduling
-
Run,
kubectl create -f nginx.yamlDetails
$ kubectl create -f nginx.yaml -
Run the command 'kubectl get pods' and check the status column
Details
$ kubectl get pods -
Run the command 'kubectl get pods --namespace kube-system'
Details
$ kubectl get pods --namespace kube-system -
Set
nodeNameproperty on the pod to node01 nodeDetails
$ vi nginx.yaml $ kubectl delete -f nginx.yaml $ kubectl create -f nginx.yaml -
Set
nodeNameproperty on the pod to master nodeDetails
$ vi nginx.yaml $ kubectl delete -f nginx.yaml $ kubectl create -f nginx.yaml