Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on guide CSE TKGm health checks #1204

Open
rvvliet78 opened this issue Feb 5, 2024 · 1 comment
Open

Documentation on guide CSE TKGm health checks #1204

rvvliet78 opened this issue Feb 5, 2024 · 1 comment
Assignees

Comments

@rvvliet78
Copy link

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.

@adambarreiro
Copy link
Collaborator

Thanks for reporting, I will check this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants