Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 338 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 338 Bytes

home-k8s

HomeLab Kubernetes Pulumi

Untaint Master Nodes

kubectl taint node --all node-role.kubernetes.io/master:NoSchedule-

Create Kubernetes Token

TOKEN=$(kubectl -n kube-system describe secret default| awk '$1=="token:"{print $2}')
kubectl config set-credentials kubernetes-admin --token="${TOKEN}"