This commit is contained in:
Nico Schottelius 2021-05-16 23:07:15 +02:00
parent 1da0d8f2e7
commit d6dc008cc2

View file

@ -12,7 +12,7 @@ kubeadm init --skip-phases=addon/kube-proxy --service-cidr 2a0a:e5c0:13:aaa::/10
## Worker nodes ## Worker nodes
``` ```
kubeadm join [2a0a:e5c0:13:0:225:b3ff:fe20:38cc]:6443 --token bw3x98.chp31kcgcd4b5fpf --discovery-token-ca-cert-hash sha256:d99d8d9d28a74a268e1c080d19aaed210b1a0ab4d5bbf4dfc07a06494926fa69 kubeadm join [2a0a:e5c0:13:0:225:b3ff:fe20:38cc]:6443 --token bw3x98.chp31kcgcd4b5fpf --discovery-token-ca-cert-hash sha256:...
``` ```
@ -48,3 +48,21 @@ kube-controller-manager-server47 1/1 Running 0
kube-scheduler-server47 1/1 Running 0 3m55s kube-scheduler-server47 1/1 Running 0 3m55s
[21:54] server47.place7:~/v3-calico# [21:54] server47.place7:~/v3-calico#
``` ```
## Getting calicoctl
```
kubectl apply -f https://docs.projectcalico.org/manifests/calicoctl.yaml
```
And alias it:
```
alias calicoctl="kubectl exec -i -n kube-system calicoctl -- /calicoctl"
```
## Configuring BGP routing
```
calicoctl create -f - < bgp....yaml
```