Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gcloud set kubectl context

#Assuming you have gcloud CLI installed and the default zone set
gcloud container clusters set-credentials cluster-name

#Configuring a cluster in a different zone from the default
gcloud container clusters set-crendentials cluster-name --zone=us-west1

#or

gcloud container clusters set-crendentials cluster-name --region=us-west1
Comment

PREVIOUS NEXT
Code Example
Shell :: nginx redirect to port 
Shell :: git pull shows already up to date 
Shell :: ssh copy 
Shell :: install neofetch on ubuntu 
Shell :: how to update forked repo in github 
Shell :: http-server mac install 
Shell :: Not Found The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at localhost Port 80 
Shell :: install scrollmagic npm 
Shell :: how to open appimage in linux 
Shell :: run global packages macos composer 
Shell :: linux mv all folder to previous folder 
Shell :: how to change the web default browser in linux 
Shell :: grant current user access to /dev/kvm 
Shell :: how to check directory size in linux 
Shell :: sound and video on cards will not function until mpv or mplayer is installed 
Shell :: homebrew install sass 
Shell :: Install Docker Engine on EC2 Instance 
Shell :: best linux vpn server 
Shell :: how to install homebrew on macos 
Shell :: install dlib gpu check 
Shell :: docker splunk 
Shell :: giving permission to folder in ubuntu 
Shell :: applescript open new terminal tab 
Shell :: vim insert text at the the beginning of multiple lines 
Shell :: nmap vulnerabilty scan 
Shell :: migrate has no installation candidate 
Shell :: mac address in linux 
Shell :: logrotate force rotation 
Shell :: python pytorch 
Shell :: bash how to quotes work 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =