terraform-provider-vcd icon indicating copy to clipboard operation
terraform-provider-vcd copied to clipboard

Documentation on guide CSE TKGm health checks

Open rvvliet78 opened this issue 1 year ago • 1 comments

Hello,

In the guide: Container Service Extension v4.1 Kubernetes clusters management

When following this guide I get a cluster deployed with status "null" and in the logs it shows: denied the request: time: unknown unit "ss" in duration "900ss"] during patching objects"

I managed to trace this back to the guide to the a section about the Health Checks, in this section is a code snipped is placed:

apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineHealthCheck metadata: name: ${CLUSTER_NAME} namespace: ${TARGET_NAMESPACE} labels: clusterctl.cluster.x-k8s.io: "" clusterctl.cluster.x-k8s.io/move: "" spec: clusterName: ${CLUSTER_NAME} maxUnhealthy: ${MAX_UNHEALTHY_NODE_PERCENTAGE}% nodeStartupTimeout: ${NODE_STARTUP_TIMEOUT}s selector: matchLabels: cluster.x-k8s.io/cluster-name: ${CLUSTER_NAME} unhealthyConditions: - type: Ready status: Unknown timeout: ${NODE_UNKNOWN_TIMEOUT}s - type: Ready status: "False" timeout: ${NODE_NOT_READY_TIMEOUT}s ---

In this snipped the s needs to be removed behind: nodeStartupTimeout, and timeout, in three places.

rvvliet78 avatar Feb 05 '24 09:02 rvvliet78