Complete the code to show detailed information about a pod named 'my-pod'.
kubectl [1] pod my-podThe kubectl describe command shows detailed information about a Kubernetes resource, such as a pod.
Complete the code to describe a service named 'web-service' in the 'production' namespace.
kubectl describe service web-service -n [1]The -n flag specifies the namespace. Here, 'production' is the target namespace.
Fix the error in the command to describe a deployment named 'frontend'.
kubectl [1] deployment frontendThe correct command is kubectl describe. Short forms like 'desc' or 'show' are invalid.
Fill both blanks to describe a pod named 'api-pod' in the 'default' namespace.
kubectl [1] pod api-pod -n [2]
The command kubectl describe shows details. The -n flag sets the namespace.
Fill all three blanks to describe a node named 'node-1' with label selector 'env=prod' and output in YAML format.
kubectl [1] node node-1 -l [2] -o [3]
kubectl describe shows detailed info. The -l flag filters by label. The -o yaml outputs in YAML format.