# install gcloud sdk from | |
https://cloud.google.com/sdk/auth_success | |
# then run locally | |
gcloud auth login | |
gcloud projects list | |
gcloud config set project YOUR-PROJECT-ID | |
gcloud compute instances list # should be empty right now | |
# CREATE cks-master VM using gcloud command | |
# not necessary if created using the browser interface | |
gcloud compute instances create cks-master --zone=europe-west3-c \ | |
--machine-type=e2-medium \ | |
--image=ubuntu-2004-focal-v20220419 \ | |
--image-project=ubuntu-os-cloud \ | |
--boot-disk-size=50GB | |
# CREATE cks-worker VM using gcloud command | |
# not necessary if created using the browser interface | |
gcloud compute instances create cks-worker --zone=europe-west3-c \ | |
--machine-type=e2-medium \ | |
--image=ubuntu-2004-focal-v20220419 \ | |
--image-project=ubuntu-os-cloud \ | |
--boot-disk-size=50GB | |
# you can use a region near you | |
https://cloud.google.com/compute/docs/regions-zones | |
# INSTALL cks-master | |
gcloud compute ssh cks-master | |
sudo -i | |
bash <(curl -s https://raw.githubusercontent.com/killer-sh/cks-course-environment/master/cluster-setup/latest/install_master.sh) | |
# INSTALL cks-worker | |
gcloud compute ssh cks-worker | |
sudo -i | |
bash <(curl -s https://raw.githubusercontent.com/killer-sh/cks-course-environment/master/cluster-setup/latest/install_worker.sh) |
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND