Answers for "where to write kubectl command"

12

bash install kubectl

curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
kubectl version --client
Posted by: Guest on October-13-2020
0

command to set ns in kubectl

kubectl config set-context --current --namespace=<insert-namespace-name-here>
# Validate it
kubectl config view --minify | grep namespace:
Posted by: Guest on July-21-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language