Complete the code to create a new namespace named 'dev'.
kubectl create namespace [1]The command kubectl create namespace dev creates a new namespace called 'dev'.
Complete the command to list all namespaces in the cluster.
kubectl get [1]The command kubectl get namespaces lists all namespaces in the cluster.
Fix the error in the command to delete the 'test' namespace.
kubectl delete [1] testTo delete a namespace, use kubectl delete namespace test. Using 'pod' or others will delete wrong resources or cause errors.
Fill both blanks to run a pod named 'web' in the 'prod' namespace.
kubectl run web --image=nginx --namespace=[1] --restart=[2]
The command kubectl run web --image=nginx --namespace=prod --restart=Never creates a pod named 'web' in the 'prod' namespace.
Fill all three blanks to create a resource quota named 'quota1' in namespace 'test' limiting pods to 5.
kubectl create quota [1] --namespace=[2] --hard=[3]
This command creates a resource quota named 'quota1' in the 'test' namespace limiting pods to 5.