-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Control Plane tracking issue #1756
Comments
/milestone v0.3.0 |
Please open new issues if more detail is required on any particular task. Maintainers should be able to edit this issue if desirable. If not, please close the issue when it is sufficiently out of date. |
Can't edit the thing, but
is being treated as #1727 unless there's objections. |
@randomvariable I updated it above |
If anyone wants to volunteer to help out for something, please leave a comment before starting work to let others know that work is inflight for it already. Current work in progress:
|
@detiber I can take up delete |
Just going to note some TODO's here unless someone's got a better idea:
|
Updated WIP:
|
I'm going to wire up the e2es with KubeadmControlPlane objects |
|
@dlipovetsky are you still planning on working on delete? |
@detiber I was out over the holidays. Yes, working on it! |
Another task: |
Seems we're already setting controller owner references:
And we rely on the Cluster controller to set an OwnerReference on |
/assign @randomvariable @detiber |
I'm going to pick up documentation here. I don't expect it to be too verbose yet as things are still rapidly changing, but at least having an example and a high level outline should help somewhat. |
Actually I'm going to pick up implementing the Failure Domain business in this controller |
Now that delete is in, I'm going to pick up scale down. While etcd healthchecks are being finished, I will work around them in some way--maybe stub them out. |
Scale up / Scale down |
Upgrades |
Health checks |
Documentation And with that, we can close this issue /close |
@chuckha: Closing this issue. In response to this:
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. |
KubeadmControlPlane implementation
Status: work is blocked on the merging of #1613Foundational patterns
These tasks put down patterns in order to distribute the remaining work. These will happen more or less serially
Follow-up work
These will already have patterns in place and can happen in one or more PRs from one or more authors, generally at any point. There may be exceptions so please check if you are unsure.
Validations & defaulting
Document validation and defaulting webhooks including how to set up, requirements and customization if applicable.
If
KubeadmControlPlane.Spec.KubeadmConfigSpec
does not define external etcd (webhook):KubeadmControlPlane.Spec.Replicas
is an odd number.KubeadmConfigSpec
.(this is covered because we have a scale subresource - Kubernetes validates this for us)KubeadmControlPlane.Spec.Replicas
is >= 0 or is nilKubeadmControlPlane.Spec.Version != ""
(openapi)KubeadmControlPlane.Spec.KubeadmConfigSpec
must be treated as immutable (via webhook)KubeadmControlPlane.Spec.Replicas: 1
Modifications
ControlPlaneRef
andControlPlaneReady
to the ClusterSpec and ClusterStatus types respectivelyCluster.Spec.ControlPlaneRef
is not set.Main implementation
The text was updated successfully, but these errors were encountered: