From e7fb85dc956d80394f6f0be6ca934e4917265a58 Mon Sep 17 00:00:00 2001 From: pegasust Date: Tue, 27 Sep 2022 23:04:43 -0700 Subject: [PATCH] add kind HA cluster config --- kind/deploy.ps1 | 2 ++ kind/kind-ha-cluster.yml | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 kind/deploy.ps1 create mode 100644 kind/kind-ha-cluster.yml diff --git a/kind/deploy.ps1 b/kind/deploy.ps1 new file mode 100644 index 0000000..fd3807a --- /dev/null +++ b/kind/deploy.ps1 @@ -0,0 +1,2 @@ +kind delete cluster +kind create cluster --config kind-ha-cluster.yml diff --git a/kind/kind-ha-cluster.yml b/kind/kind-ha-cluster.yml new file mode 100644 index 0000000..c8b0414 --- /dev/null +++ b/kind/kind-ha-cluster.yml @@ -0,0 +1,13 @@ +# a cluster with 3 control-plane nodes and 5 workers +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane +- role: control-plane +- role: control-plane +- role: worker +- role: worker +- role: worker +- role: worker +- role: worker +