File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,14 @@ rebuild-cluster: delete-cluster
6565 ./scripts/delete-standard-storageclass.sh
6666 ./scripts/remove-control-plane-taint.sh
6767
68+ # Creates a k8s cluster with a single worker
69+ rebuild-cluster-single-worker : delete-cluster
70+ ./scripts/deploy-k8s-cluster-single-worker.sh
71+ ./scripts/deploy-calico.sh
72+ ./scripts/preload-images.sh
73+ ./scripts/delete-standard-storageclass.sh
74+ ./scripts/remove-control-plane-taint.sh
75+
6876delete-cluster :
6977 ./scripts/delete-k8s-cluster.sh
7078
Original file line number Diff line number Diff line change 1+ kind : Cluster
2+ apiVersion : kind.x-k8s.io/v1alpha4
3+ networking :
4+ ipFamily : dual
5+ disableDefaultCNI : true
6+ apiServerAddress : " 0.0.0.0"
7+ apiServerPort : 6443
8+ nodes :
9+ - role : control-plane
10+ image : kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
11+ - role : worker
12+ image : kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -x
3+
4+ # Kind base with kindnetcni and ipv4/ipv6
5+ kind create cluster --config=config/k8s-cluster/single-worker.yaml
You can’t perform that action at this time.
0 commit comments