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

MachineHealthCheck will fail until Cluster is Provisioned #3792

Closed
zawachte opened this issue Oct 14, 2020 · 3 comments
Closed

MachineHealthCheck will fail until Cluster is Provisioned #3792

zawachte opened this issue Oct 14, 2020 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@zawachte
Copy link
Contributor

What steps did you take and what happened:

So I am applying a machine health check at the same time I apply the rest of the "cluster template" and I see in the controller logs that the get remote cluster client is always failing until the cluster is provisioned. Which makes sense, at this point, there is no kubeconfig secret.

What did you expect to happen:

This leads me to two questions...

  1. Is it not recommended to apply a MHC before the cluster is provisioned?
  2. If 1. is not the case ... should we just check cluster status before continuing with the MHC reconcile?

/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 14, 2020
@vincepri
Copy link
Member

Parts of this will be fixed and improved with @ncdc's work on #3752

@vincepri
Copy link
Member

In general, the log failures are expected if the cluster isn't reachable or up yet. That said, we should do a better job to either ignore or delay these errors or logs whenever possible.

From a user perspective, one should be able to apply MHC whenever — the system should react based on the information it has about the cluster / machines that are being watched.

@zawachte
Copy link
Contributor Author

#3752 looks like it improves all of this. thanks. Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants