Skip to content

Commit 4dc9ba4

Browse files
committed
Add MachineHealthCheck for MachinePools in test templates
1 parent 9f892f6 commit 4dc9ba4

8 files changed

+127
-0
lines changed

templates/test/ci/cluster-template-prow-ci-version-dra.yaml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/cluster-template-prow-machine-pool-ci-version.yaml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/cluster-template-prow-machine-pool-flex.yaml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/ci/cluster-template-prow-machine-pool.yaml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
apiVersion: cluster.x-k8s.io/v1beta1
3+
kind: MachinePool
4+
metadata:
5+
name: ${CLUSTER_NAME}-mp-0
6+
namespace: default
7+
spec:
8+
template:
9+
metadata:
10+
labels:
11+
"nodepool": "pool1"

templates/test/ci/prow-machine-pool/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ namespace: default
44
resources:
55
- ../../../flavors/machinepool-windows
66
- ../prow/mhc-kubeadmcontrolplane.yaml
7+
- ../prow/mhc.yaml
78
- ../prow/cni-resource-set.yaml
89
- ../../../addons/windows/csi-proxy/csi-proxy-resource-set.yaml
910
- ../../../addons/windows/containerd-logging/containerd-logger-resource-set.yaml
@@ -36,6 +37,7 @@ patches:
3637
- path: ../patches/windows-containerd-labels.yaml
3738
- path: ../patches/cluster-label-calico.yaml
3839
- path: ../patches/cluster-label-cloud-provider-azure.yaml
40+
- path: ../patches/mhc-machinepool.yaml
3941

4042
sortOptions:
4143
order: fifo

templates/test/dev/cluster-template-custom-builds-dra.yaml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/test/dev/cluster-template-custom-builds-machine-pool.yaml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)