QuestionQ46

Prepare the Environment for an NKP Deployment

A developer asked a Platform Engineer to review a deployment in the cluster named iot-1 in the iot-plant-3 workspace, but the engineer does not have the kubeconfig file.

Which command is valid to generate the kubeconfig file for reviewing the Kubernetes cluster?

Explanation

NKP retrieves a cluster access configuration with nkp get kubeconfig. The -c iot-1 option selects the target cluster, -n iot-plant-3 identifies its namespace, and shell redirection writes the generated kubeconfig to iot-1.conf.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!