-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
use image_family instead of static image reference #17722
Conversation
@MHBauer: GitHub didn't allow me to request PR reviews from the following users: bsdnet. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cos-stable is a moving target, and it maybe change , fo example: it maybe cos-83 or cos-84.
If the purpose of the image is for pre-commit , I would suggest using LTS image/family instead.
To do step by step, maybe we rename cos-stable-77-12371-227-0 to cos-77-12371-227-0
first for now. It is a safe bet per my today's knowledge.
jobs/e2e_node/image-config.yaml
Outdated
cos-stable2: | ||
image_regex: cos-stable-77-12371-227-0 # docker v19.03.1, deprecated after 2020-12-17 | ||
cos-stable: | ||
image_family: cos-stable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to use family, cos-81-lts should be more proper.
Using cos-81-lts family can potentially break jobs. When gcp switches to cos-83-lts they may not provide cos-81-lts anymore. This is what will happen with cos-73-lts soon as it approaches EOL. |
We don't know that as we haven't tested it. Recently we did similar switch from cos-stable-73 to cos-73 and it broke one of the PR jobs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should 1 be cos-stable and 2 be cos-XX-lts? ought to require rolling them less frequently?
|
Yes, if it is cos-xx-lts, and it is stable and less frequently. For cos-stable, it supposes every 6 weeks. |
This seems to be a very reasonable approach for the cos images. I'd suggest updating this PR to do that. @bsdnet and Ning Liao (nick?) are working on the cos image update policy, we can adjust this again later if needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the conversation, I agree it would be good to have 1 be cos-stable and 2 be cos-XX-lts. Would be good to update the PR to reflect that.
Also, @bsdnet and Ning are creating/reviewing the cos image policy. We could update later if needed based on policy.
Have I understood correctly that we're discussing these 2 possible image maintenance policies?
|
Yes, that is the current thinking. I believe we should proceed with this approach. @bsdnet and Ning can share their thoughts on COS image policy, and we can adjust if needed going forward. @bart0sh Does that sound reasonable to you? |
@vpickard @bsdnet @MHBauer So, what would be our decision? Should we continue using 'image:', start using 'image-family:' or anything else? As far as I understood this proposal we should keep using 'image:' and implement automation around it. |
@bsdnet any updates on it? With the current structure of tests - |
The doc is updated in https://github.com/kubernetes/kubernetes/tree/master/cluster/gce/gci https://github.com/kubernetes/kubernetes/tree/master/cluster/gce/gci#what-image-is-needed-for-your-test specifies how to choose an image. |
+1 to running tests with |
Based on the sig-node ci meeting today, the general consensus is to have one image for all of the job types (PR, CI, etc), and the preferred image would be to use the image_family (cos-81-lts, for example). +1 to @karan comment above. |
60f2638
to
e5334cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, MHBauer, SergeyKanzhelev 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 |
The intention here seems to be to test on the stable version of cos.
The history of this file shows many other environments, such as coroes, containervm, different versions of ubuntu with different versions of docker.
Given that it hasn't been running on cos for 6 weeks or so, I'm not sure there's much signal in running on multiple cos versions. cos-stable image_family should float as we like. Alternatively, we can go on an lts image family, such as cos-77-lts.
This would effect these jobs as they reference this file: