Add bootstrapper base

This commit is contained in:
2022-12-10 22:08:07 +01:00
commit 88d112b47b
20 changed files with 258 additions and 0 deletions

16
kind/create-kind.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
#
. kind.sh
kind create cluster --name "$CLUSTER_NAME"
until kubectl cluster-info --context "kind-$CLUSTER_NAME"
do
echo "waiting for cluster to come online..."
sleep 1
done
echo "checking nodes"
kubectl get nodes
kubectl wait --for=condition=ready nodes/clank-boostrap-control-plane

5
kind/delete-kind.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
. kind.sh
kind delete cluster --name "$CLUSTER_NAME"

3
kind/kind.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
CLUSTER_NAME=clank-boostrap