From 84807d27306a1f705ff748e248a55e8f5188f02f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 11 Jul 2021 16:11:15 +0200 Subject: [PATCH] ++flux --- k8s/c0/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/k8s/c0/README.md b/k8s/c0/README.md index cab3f15..7638275 100644 --- a/k8s/c0/README.md +++ b/k8s/c0/README.md @@ -21,5 +21,21 @@ 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" +calicoctl create -f - < ./k8s/c0/calico-bgp.yaml ``` + +## Flux bootstrap + +On a client: + +``` +wget https://github.com/fluxcd/flux2/releases/download/v0.16.1/flux_0.16.1_linux_amd64.tar.gz +tar xvfz flux_0.16.1_linux_amd64.tar.gz +./flux bootstrap git --path=./cluster/c0 --cluster-domain c0.k8s.ooo --url ssh://git@code.ungleich.ch/ungleich-intern/k8s-config.git --branch=main +``` + +## rook bootstrap + +* via flux