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

Update references to control-plane-count #15733

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

rifelpet
Copy link
Member

@rifelpet rifelpet commented Aug 2, 2023

kubetest2-kops searches for create-args values of --control-plane-count. While kops recognizes both --control-plane-count and --master-count, kubetest2-kops will add --control-plane-count if it isn't already set in --create-args. This means any references to --master-count need to be updated to --control-plane-count.

This should fix at least this job: https://testgrid.k8s.io/kops-gce#kops-leader-migration

I0801 22:50:40.366862 5814 local.go:42] ⚙️ /home/prow/go/src/k8s.io/kops/_rundir/121db271-a4e7-46bc-842f-abf92494756d/kops create cluster --name ha-migration.k8s.local --cloud gce --kubernetes-version v1.23.17 --ssh-public-key /tmp/kops-ssh2613636737/key.pub --set cluster.spec.nodePortAccess=0.0.0.0/0 --channel=alpha --node-count=1 --master-count=3 --zones=us-central1-a,us-central1-b,us-central1-c --master-zones=us-central1-a,us-central1-b,us-central1-c --gce-service-account=default --admin-access 35.224.130.54/32 --control-plane-count 1 --master-volume-size 48 --node-volume-size 48 --master-size e2-standard-2 --project k8s-kubeadm-1-6-on-1-7 I0801 22:50:40.455002 6136 create_cluster.go:885] Using SSH public key: /tmp/kops-ssh2613636737/key.pub I0801 22:50:40.760691 6136 new_cluster.go:579] VMs will be configured to use specified Service Account: default Error: specified 3 control-plane zones, but also requested 1 control-plane nodes. If specifying both, the count should match.

kubetest2-kops searches for create-args values of --control-plane-count. While kops recognizes both --control-plane-count and --master-count, kubetest2-kops will add --control-plane-count if it isn't already set in --create-args. This means any references to --master-count need to be updated to --control-plane-count.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 2, 2023
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 2, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 2, 2023
@k8s-ci-robot k8s-ci-robot merged commit 5ab4dda into kubernetes:master Aug 2, 2023
8 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.28 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants