Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#3815 from cablunar/fix/MachineHeal…
Browse files Browse the repository at this point in the history
…thCheck-templates

Added machinehealthcheck to cluster-template-machinepool
  • Loading branch information
k8s-ci-robot authored Nov 7, 2022
2 parents 33dc8b3 + cf46bd1 commit 71f07ab
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions templates/cluster-template-machinepool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,21 @@ spec:
name: '{{ ds.meta_data.local_hostname }}'
kubeletExtraArgs:
cloud-provider: aws
---
apiVersion: cluster.x-k8s.io/v1beta1
kind: MachineHealthCheck
metadata:
name: "${CLUSTER_NAME}-kcp-unhealthy"
spec:
clusterName: "${CLUSTER_NAME}"
maxUnhealthy: 100%
selector:
matchLabels:
cluster.x-k8s.io/control-plane: ""
unhealthyConditions:
- type: Ready
status: Unknown
timeout: 300s
- type: Ready
status: "False"
timeout: 300s

0 comments on commit 71f07ab

Please sign in to comment.