Skip to content

kubernetes setup with containerd as container runtime.

Notifications You must be signed in to change notification settings

groldo/kubernetes_lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes

This project sets up a kubernetes cluster with vagrant on virtualbox machines. For more information regarding troubleshooting, learnings and so on see

Usage

setup local machine

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
cat files/ssh-config >> ~/.ssh/config
# adjust ssh config to your needs, especially IdentityFile might be diverging
# also see vagrant ssh-config for help
ansible -m ping -i inventory/kubernetes_hosts.yml kubernetes

install kubernetes

./install.sh

join further master nodes

Have a look at join_master_nodes

finalize cluster with network

kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.24.5/manifests/canal.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.1/aio/deploy/recommended.yaml
kubectl get pods -n kube-system -w
# watch pods as they go up

cleanup

./destroy.sh

About

kubernetes setup with containerd as container runtime.

Resources

Stars

Watchers

Forks

Packages

No packages published