Skip to content

Machines conditions should provide more visibility to the underlying Node #3138

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

Closed
vincepri opened this issue Jun 3, 2020 · 9 comments
Closed
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@vincepri
Copy link
Member

vincepri commented Jun 3, 2020

Today, it's hard to understand that a Machine is fully healthy, and what determines a Machine not healthy.

For example, KCP performs kubeadm-specific health checks (inspect the etcd node, static pods, and so on). We should expose all of these internal checks by writing specific conditions on Machines from different controllers.

Let's brainstorm though on a design that could work across the board, given that kubeadm isn't the one and only bootstrapper used out there.

  • Machine controller should try to verify as much as possible, and only manage conditions that are common across bootstrappers. For example, "NodeReady" is something that we can easily check.
  • A new controller under KCP could check all control-plane nodes managed by KCP and start adding conditions that are very specific to how KCP deploys control plane nodes (stacked etcd, and so on).
  • CABPK controller could be responsible for all generic kubeadm-specific machine information (TBD what that would look like though).

There is a clear overlap in these examples, in the final form they shouldn't have any. Each condition needs a clear owner/manager. The main goal of this issue is to provide a uniform and coherent in-depth view on a Machine's health.

/kind feature

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 3, 2020
@vincepri
Copy link
Member Author

vincepri commented Jun 3, 2020

cc @detiber @fabriziopandini

@fabriziopandini
Copy link
Member

rif #3139 (review)

@vincepri
Copy link
Member Author

vincepri commented Jun 8, 2020

/milestone v0.3.x

@vincepri
Copy link
Member Author

vincepri commented Aug 3, 2020

/milestone v0.4.0

@k8s-ci-robot k8s-ci-robot modified the milestones: v0.3.x, v0.4.0 Aug 3, 2020
@vincepri
Copy link
Member Author

vincepri commented Aug 3, 2020

/priority important-soon

@k8s-ci-robot k8s-ci-robot added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Aug 3, 2020
@sedefsavas
Copy link

We have some conditions to add to Machines and KCP to increase visibility, feedbacks welcome here:
https://docs.google.com/document/d/1pEMf8AuPgUF_ClTM4uCEiDkb-iyUgwcxinwArtpa45c/edit?usp=sharing

@fabriziopandini
Copy link
Member

/assign
/lifecycle active

/milestone v0.3.11

@fabriziopandini
Copy link
Member

#3900 is merged
/close

@k8s-ci-robot
Copy link
Contributor

@fabriziopandini: Closing this issue.

In response to this:

#3900 is merged
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants