killer-sh/cks-course-environment

Shell

503

86 commits

updated Apr 13, 2026

See the code

README

Kubernetes CKS Course Environment

This is the repository of the CKS FULL COURSE on Youtube

There is also the CKS SIMULATOR

Course Resources

Many sections reference commands or links in their resources.

RESOURCES

Killercoda Scenarios

Many topics have interactive in-browser Killercoda scenarios at the end. Solve these to test and harden your knowledge!

SCENARIOS

Support

https://killer.sh/slack https://killer.sh/support

Setup Cluster in Gcloud

Setup cks-master

Create VM

1. create VM:
name: cks-master
family: e2-medium (2vCPU, 4GB)
image: ubuntu24.04 LTS focal
disk: 50GB

Like:

gcloud compute instances create cks-master --zone=europe-west3-c \
--machine-type=e2-medium \
--image=ubuntu-2404-noble-amd64-v20250530 \
--image-project=ubuntu-os-cloud \
--boot-disk-size=50GB

# see available images:
gcloud compute images list --project=ubuntu-os-cloud --no-standard-images --filter="name~'ubuntu-2404'"

Configure

sudo -i
bash <(curl -s https://raw.githubusercontent.com/killer-sh/cks-course-environment/master/cluster-setup/latest/install_master.sh)

Setup cks-worker

Create VM

1. create VM:
name: cks-worker
family: e2-medium (2vCPU, 4GB)
image: ubuntu24.04 LTS focal
disk: 50GB

Like:

gcloud compute instances create cks-worker --zone=europe-west3-c \
--machine-type=e2-medium \
--image=ubuntu-2404-noble-amd64-v20250530 \
--image-project=ubuntu-os-cloud \
--boot-disk-size=50GB

# see available images:
gcloud compute images list --project=ubuntu-os-cloud --no-standard-images --filter="name~'ubuntu-2404'"

Configure

sudo -i
bash <(curl -s https://raw.githubusercontent.com/killer-sh/cks-course-environment/master/cluster-setup/latest/install_worker.sh)

Connect to cluster

# install "gcloud" command

# connect "gcloud" to your GCP
gcloud auth login
gcloud projects list
gcloud config set project YOUR_PROJECT

# connect to instance
gcloud compute instances list
gcloud compute ssh cks-master

Open ports

gcloud compute firewall-rules create nodeports --allow tcp:30000-40000

killer-sh/cks-course-environment

Shell

503

86 commits

updated Apr 13, 2026

See the code

README

Kubernetes CKS Course Environment

This is the repository of the CKS FULL COURSE on Youtube

There is also the CKS SIMULATOR

Course Resources

Many sections reference commands or links in their resources.

RESOURCES

Killercoda Scenarios

Many topics have interactive in-browser Killercoda scenarios at the end. Solve these to test and harden your knowledge!

SCENARIOS

Support

https://killer.sh/slack https://killer.sh/support

Setup Cluster in Gcloud

Setup cks-master

Create VM

1. create VM:
name: cks-master
family: e2-medium (2vCPU, 4GB)
image: ubuntu24.04 LTS focal
disk: 50GB

Like:

gcloud compute instances create cks-master --zone=europe-west3-c \
--machine-type=e2-medium \
--image=ubuntu-2404-noble-amd64-v20250530 \
--image-project=ubuntu-os-cloud \
--boot-disk-size=50GB

# see available images:
gcloud compute images list --project=ubuntu-os-cloud --no-standard-images --filter="name~'ubuntu-2404'"

Configure

sudo -i
bash <(curl -s https://raw.githubusercontent.com/killer-sh/cks-course-environment/master/cluster-setup/latest/install_master.sh)

Setup cks-worker

Create VM

1. create VM:
name: cks-worker
family: e2-medium (2vCPU, 4GB)
image: ubuntu24.04 LTS focal
disk: 50GB

Like:

gcloud compute instances create cks-worker --zone=europe-west3-c \
--machine-type=e2-medium \
--image=ubuntu-2404-noble-amd64-v20250530 \
--image-project=ubuntu-os-cloud \
--boot-disk-size=50GB

# see available images:
gcloud compute images list --project=ubuntu-os-cloud --no-standard-images --filter="name~'ubuntu-2404'"

Configure

sudo -i
bash <(curl -s https://raw.githubusercontent.com/killer-sh/cks-course-environment/master/cluster-setup/latest/install_worker.sh)

Connect to cluster

# install "gcloud" command

# connect "gcloud" to your GCP
gcloud auth login
gcloud projects list
gcloud config set project YOUR_PROJECT

# connect to instance
gcloud compute instances list
gcloud compute ssh cks-master

Open ports

gcloud compute firewall-rules create nodeports --allow tcp:30000-40000

Significant stargazers

Carlos Mendible

269 followers · starred Oct 2024

Eric Bailey

244 followers · starred Jul 2025

za

120 followers · starred Sep 2025

Oaker Min

254 followers · starred Oct 2024