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

Make kubeadm.applyNodeLabels apply label to all nodes #16416

Merged
merged 5 commits into from
Nov 29, 2023

Conversation

marcellmartini
Copy link
Contributor

The kubeadm.applyNodeLabels only apply labels to the primary node. With this PR it will apply labels every time a new node joins the cluster.

closes #16415

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 2, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 2, 2023
@k8s-ci-robot
Copy link
Contributor

Welcome @marcellmartini!

It looks like this is your first PR to kubernetes/minikube 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/minikube has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @marcellmartini. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 2, 2023
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels May 2, 2023
@spowelljr
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 2, 2023
@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 9, 2023
@marcellmartini
Copy link
Contributor Author

Hi @spowelljr, is there anything else that I have to do on this PR? Let me know if anything is missing. 😃 👍

@marcellmartini marcellmartini force-pushed the feature/issue-16415 branch 2 times, most recently from e111e9a to 36b51b9 Compare May 9, 2023 18:38
@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@medyagh
Copy link
Member

medyagh commented Jun 14, 2023

/retest-this-please

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marcellmartini, medyagh

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 Jun 14, 2023
@medyagh
Copy link
Member

medyagh commented Jun 14, 2023

@marcellmartini thank you for this contribution and patience with the PR review

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@medyagh
Copy link
Member

medyagh commented Jul 4, 2023

/retest-this-please

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 16416) |
+----------------+----------+---------------------+
| minikube start | 50.8s    | 52.4s               |
| enable ingress | 27.9s    | 26.8s               |
+----------------+----------+---------------------+

Times for minikube start: 52.5s 50.8s 51.4s 50.7s 48.6s
Times for minikube (PR 16416) start: 53.7s 50.3s 49.2s 54.5s 54.5s

Times for minikube ingress: 27.2s 28.2s 27.1s 27.2s 29.6s
Times for minikube (PR 16416) ingress: 26.7s 27.1s 25.7s 27.2s 27.2s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 16416) |
+----------------+----------+---------------------+
| minikube start | 22.9s    | 23.0s               |
| enable ingress | 49.3s    | 48.5s               |
+----------------+----------+---------------------+

Times for minikube (PR 16416) start: 21.6s 21.8s 25.2s 21.6s 24.8s
Times for minikube start: 21.3s 24.4s 25.0s 22.3s 21.4s

Times for minikube ingress: 49.3s 48.3s 50.4s 49.3s 49.3s
Times for minikube (PR 16416) ingress: 48.3s 47.8s 48.3s 49.3s 48.9s

docker driver with containerd runtime

+-------------------+----------+---------------------+
|      COMMAND      | MINIKUBE | MINIKUBE (PR 16416) |
+-------------------+----------+---------------------+
| minikube start    | 20.6s    | 21.3s               |
| ⚠️  enable ingress | 31.7s    | 39.1s ⚠️             |
+-------------------+----------+---------------------+

Times for minikube start: 20.2s 20.1s 22.5s 19.9s 20.1s
Times for minikube (PR 16416) start: 20.4s 22.5s 20.8s 23.3s 19.7s

Times for minikube ingress: 31.3s 30.3s 47.3s 31.3s 18.3s
Times for minikube (PR 16416) ingress: 31.3s 54.3s 31.3s 47.3s 31.3s

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
QEMU_macOS TestMultiNode/serial/MultiNodeLabels (gopogh) n/a
Docker_Linux_crio_arm64 TestScheduledStopUnix (gopogh) 2.37 (chart)
QEMU_macOS TestAddons/StoppedEnableDisable (gopogh) 10.53 (chart)
KVM_Linux TestMultiNode/serial/StartAfterStop (gopogh) 13.53 (chart)

To see the flake rates of all tests by environment, click here.

@medyagh
Copy link
Member

medyagh commented Nov 29, 2023

thank you for this contribution @marcellmartini

@medyagh medyagh merged commit d8422bf into kubernetes:master Nov 29, 2023
@medyagh medyagh changed the title Feature: Make kubeadm.applyNodeLabels apply label to all nodes Make kubeadm.applyNodeLabels apply label to all nodes Nov 29, 2023
@marcellmartini marcellmartini deleted the feature/issue-16415 branch November 30, 2023 02:39
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply default minikube labels to all nodes
6 participants