MachineHealthCheck is the Schema for the machinehealthchecks API
5 top-level fields · last changed in Cluster API v0.3.7
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Specification of machine health check policy
ClusterName is the name of the Cluster this object belongs to.
Any further remediation is only allowed if at most "MaxUnhealthy" machines selected by "selector" are not healthy.
Machines older than this duration without a node will be considered to have failed and will be remediated.
Label selector to match machines whose health will be exercised
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key is the label key that the selector applies to.
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
UnhealthyConditions contains a list of the conditions that determine whether a node is considered unhealthy. The conditions are combined in a logical OR, i.e. if any of the conditions is met, the node is unhealthy.
Most recently observed status of MachineHealthCheck resource
total number of healthy machines counted by this machine health check
total number of machines counted by this machine health check
ObservedGeneration is the latest generation observed by the controller.
Targets shows the current list of machines the machine health check is watching
Source: cluster.x-k8s.io_machinehealthchecks.yaml
Changes to MachineHealthCheck (cluster.x-k8s.io/v1alpha3) in each Cluster API version, compared to the version before it.
2 properties have been added
Released · View MachineHealthCheck in v0.3.7
MachineHealthCheck was first seen on this version of Cluster API
Released · View MachineHealthCheck in v0.3.0
No examples of MachineHealthCheck yet. Contribute one on GitHub.