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

Set the right kubelet version for the kubeadm PR job #4705

Merged
merged 1 commit into from
Sep 22, 2017

Conversation

luxas
Copy link
Member

@luxas luxas commented Sep 22, 2017

cc @jessicaochen @pipejakob @krzyzacy
This is needed so that the PR job actually uses the kubelet & other debs from the PR, not post-commit ci/latest

@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 22, 2017
@luxas
Copy link
Member Author

luxas commented Sep 22, 2017

Comment too long, pylint not happy

/shrug

@k8s-ci-robot k8s-ci-robot added the ¯\_(ツ)_/¯ ¯\\\_(ツ)_/¯ label Sep 22, 2017
@luxas
Copy link
Member Author

luxas commented Sep 22, 2017

@ixdy @krzyzacy now ready to merge

@@ -578,6 +578,13 @@ def main(args):
'--kubernetes-anywhere-kubeadm-version=%s' % version,
])

if args.kubeadm == "pull":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I anticipate you will get a push not to do this in scenarios but rather to do this in kubetest (ie. https://github.com/kubernetes/test-infra/blob/master/kubetest/anywhere.go).

Idea: maybe we should support something like "kubeadm" in addition to "stable" and gs:// link for kubernetesAnywhereKubeletVersion where "kubeadm" means to match the version of kubeadm in anywhere.go.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I also want to get this out of scenarios eventually.
But for now, I want to get it working first.

@jessicaochen
Copy link
Member

I will not block since it is blocking PRs but do consider the suggestion placing this logic in anywhere.go. /lgtm

@ixdy ixdy merged commit b85ec1e into kubernetes:master Sep 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. ¯\_(ツ)_/¯ ¯\\\_(ツ)_/¯
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants