Complete the command to list all namespaces in Kubernetes.
kubectl get [1]The command kubectl get namespaces lists all namespaces in the Kubernetes cluster.
Complete the command to switch to the default namespace in Kubernetes.
kubectl config set-context --current --namespace=[1]The default namespace in Kubernetes is named default. This command sets the current context to use it.
Fix the error in the command to describe the default namespace.
kubectl describe [1] defaultThe resource type to describe a namespace is namespace. Using 'pod', 'service', or 'node' will describe other resources.
Fill both blanks to create a pod in the default namespace using kubectl.
kubectl run nginx --image=nginx --restart=Never -n [1] --port=[2]
The pod is created in the default namespace and listens on port 80, the standard HTTP port.
Fill all three blanks to list pods in the default namespace with wide output.
kubectl get [1] -n [2] -o [3]
This command lists all pods in the default namespace with detailed information shown by the wide output option.