ungleich-k8s/k8s/c0
2021-07-11 14:29:43 +02:00
..
calico-bgp.yaml ++c0 configuration 2021-07-11 14:29:43 +02:00
kubeadm.yaml ++c0 2021-07-11 13:50:44 +02:00
README.md ++c0 configuration 2021-07-11 14:29:43 +02:00

c0.k8s.ooo

Base cluster for managing other clusters.

Bootstrap Control Plane

  • apu1: kubeadm init --config k8s/c0/kubeadm.yaml --upload-certs
  • apu2: kubeadm join api.c0.k8s.ooo:6443 ...
  • apu3: kubeadm join api.c0.k8s.ooo:6443 ...

Removing taints, self contained cluster:

kubectl taint nodes --all node-role.kubernetes.io/master-

Bootstrapping networking

mount --make-shared /sys
mount --make-shared /run
kubectl apply -f v3-calico/calico.yaml
kubectl apply -f https://docs.projectcalico.org/manifests/calicoctl.yaml
alias calicoctl="kubectl exec -i -n kube-system calicoctl -- /calicoctl"