add kind HA cluster config

api-as-package
pegasust 2022-09-27 23:04:43 -07:00
parent 87db6821c3
commit e7fb85dc95
2 changed files with 15 additions and 0 deletions

2
kind/deploy.ps1 Normal file
View File

@ -0,0 +1,2 @@
kind delete cluster
kind create cluster --config kind-ha-cluster.yml

13
kind/kind-ha-cluster.yml Normal file
View File

@ -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