apiVersion: machine.openshift.io/v1beta1
kind: MachineHealthCheck
metadata:
name: example
namespace: openshift-machine-api
spec:
selector:
matchLabels:
machine.openshift.io/cluster-api-machine-role: <role>
machine.openshift.io/cluster-api-machine-type: <role>
machine.openshift.io/cluster-api-machineset: <cluster_name>-<label>-<zone>
unhealthyConditions:
- type: "Ready"
timeout: "300s"
status: "False"
- type: "Ready"
timeout: "300s"
status: "Unknown"
maxUnhealthy: "40%"
apiVersion : machine.openshift.io/v1beta1
kind : MachineHealthCheck
metadata :
name : example 1
namespace : openshift- machine- api
spec :
selector :
matchLabels :
machine.openshift.io/cluster-api-machine-role : <role> 2
machine.openshift.io/cluster-api-machine-type : <role> 3
machine.openshift.io/cluster-api-machineset : <cluster_name> - <label> - <zone> 4
unhealthyConditions :
- type : "Ready"
timeout : "300s" 5
status : "False"
- type : "Ready"
timeout : "300s" 6
status : "Unknown"
maxUnhealthy : "40%" 7
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow