First join other nodes before running flux bootstrap
This commit is contained in:
parent
feb045ab8e
commit
237def767f
|
@ -24,6 +24,11 @@ sed -i -e "s/127.0.0.1/$REMOTE_IP/" ~/.kube/config
|
||||||
|
|
||||||
add_interface_label
|
add_interface_label
|
||||||
|
|
||||||
|
kubectl apply -k ${SCRIPT_DIR}/../clusters/titan.lan.huizinga.dev/kube-vip/
|
||||||
|
|
||||||
|
echo "Join the other nodes to the cluster, once done hit enter"
|
||||||
|
read
|
||||||
|
|
||||||
# Add sops secret to the cluster
|
# Add sops secret to the cluster
|
||||||
kubectl apply -f ${SCRIPT_DIR}/namespace.yaml
|
kubectl apply -f ${SCRIPT_DIR}/namespace.yaml
|
||||||
sops decrypt ${SCRIPT_DIR}/sops-gpg.yaml | kubectl apply -f -
|
sops decrypt ${SCRIPT_DIR}/sops-gpg.yaml | kubectl apply -f -
|
||||||
|
@ -34,6 +39,4 @@ flux bootstrap git --url ssh://git@huizinga.dev/Dreaded_X/flux-infra --branch=ma
|
||||||
# Update the ip to the control plane virtual ip
|
# Update the ip to the control plane virtual ip
|
||||||
sed -i -e "s/$REMOTE_IP/$VIP/" ~/.kube/config
|
sed -i -e "s/$REMOTE_IP/$VIP/" ~/.kube/config
|
||||||
|
|
||||||
sleep 5
|
|
||||||
|
|
||||||
kubectl get nodes
|
kubectl get nodes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user