Make control plane split by role work. - #18597
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test pull-kops-scenario-splitkcp-gcp |
002f219 to
5872931
Compare
d89d0fd to
16f1178
Compare
|
/test pull-kops-scenario-splitkcp-gcp |
|
/test pull-kops-scenario-splitkcp-gcp |
1 similar comment
|
/test pull-kops-scenario-splitkcp-gcp |
82b9270 to
e57277f
Compare
|
/test pull-kops-scenario-splitkcp-gcp |
bd97a83 to
a99a585
Compare
1945c9b to
6b8ad59
Compare
|
/test pull-kops-e2e-k8s-aws-amazonvpc |
|
/test pull-kops-e2e-k8s-aws-calico |
| Yes bool | ||
| Interval time.Duration | ||
| NodeName string | ||
| NodeLabels string |
There was a problem hiding this comment.
Suggestion:
-
I like to add comments (or at least a comment) when adding a field that causes re-indentation of a struct. Because then the next update won't cause a full re-flow.
-
I think this should be
map[string]string. It's a pain to have that as a flag, so let's parse it as soon as possible (e.g. in RunE function of the cobra.Command)
| // If it is one of our managed labels, "prune" values we don't want to be there | ||
| switch k { | ||
| case nodelabels.RoleLabelAPIServer16, nodelabels.RoleLabelNode16, nodelabels.RoleLabelControlPlane20: | ||
| case nodelabels.RoleLabelAPIServer16, |
There was a problem hiding this comment.
Can we define nodelabels.All or similar? I'm worried about "action at a distance" - too easy to forget to update this list when adding a new RoleLabel
Got the IG creation working. Kubelet is coming up on the etcd IG. Currently having issues with getting the etcd to attach to peers. fixed goimports Fixed ptr to to new on count.
Fixed image rewrite to work for all of control plane. Fixed docs to reflect changes. Fixed role direct equality check. Fix node check for bastion. Fix KubControllerManager to KubeControllerManager.
Fixed experimental roles test. Fixed nodelabel tests.
6b8ad59 to
aeb19b6
Compare
|
@cheftako: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
aeb19b6 to
dd340e2
Compare
Create Etcd, Scheduler and Kube-Controller-Manager only IGs.
Able to create a cluser where the control plane is the composition of 4 IGs.
Enables separate APIServer, Etcd, Scheduler and KCM IGs.
CCM and Kops-Controller are then run on the APIServer.