-
Notifications
You must be signed in to change notification settings - Fork 41.8k
Centralizes images into agnhost (part 4) #81170
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
Centralizes images into agnhost (part 4) #81170
Conversation
9e57a8d to
dfd5357
Compare
8346f20 to
9ff36bc
Compare
9ff36bc to
d79e1a4
Compare
|
/test pull-kubernetes-integration |
d79e1a4 to
7c3e004
Compare
|
/uncc ixdy |
|
/cc |
|
/priority important-soon |
Centralizes the following images into agnhost: - dnsutils - mounttest - resource-consumer-controller - test-webserver Adds CoreDNS to agnhost image, which can be used in some DNS related tests (dnsmasq is Linux-only). Adds Windows support to mounttest. Bumps agnhost version to 2.9. Bumps kitten version to 1.1. Bumps nautilus version to 1.1.
|
I've raised these questions at the K8S infra WG meeting, you can see the minutes here: https://docs.google.com/document/d/16VBfsFMynA7tObzuZGPpw-sKDKfFc_T5W_E4IeEIaOQ/edit# But in summary:
I've sent a PR for this here: kubernetes/k8s.io#400 . The PR will have to merge, then the google group will have to be created, and then the registry.
I've added PRs for this: #84058 and kubernetes/test-infra#14833
It seems like test-infra has a lazy-build based on directory modifications, which would solve this.
Seems that this will remain as is. So, the PRs would look something like this:
Added here: #84058
I've completed the items listed above. They have to be reviewed and merged. Then, we should probably be done with that and we can then merge this. |
|
Thank you for the comprehensive update @BCLAU. Would you then say that it is feasible to have everything merged until the code freeze date? And would it make sense to add the open PRs mentioned in your comment to the 1.17 milestone? |
I would say yes. I've got a few reviews on them as well, so they're getting closer to getting merged, hopefully. And I would say yes, it'll definitely be helpful to have them added to the milestone. It'll help the test image changes get in smoother and without having to rely on a human to build and publish the affected images. |
4f5675e to
8f09901
Compare
|
/test pull-kubernetes-e2e-gce-100-performance |
|
@BCLAU Friendly reminder: code freeze is rapidly approaching and will take place in November 14th. Is this PR still intended for 1.17? Otherwise we will need to move it to 1.18 milestone. |
|
/hold cancel Iti is the next PR in the queue for agnhost, it is approved, and it had the lgtm label at one point. |
|
Hm. I'd rather let the reviewers focus on the oher, more important PRs, like the Image Promoter for v1.17. We can punt this to the next release. |
|
/milestone v1.18 |
|
The Image Promoter bits are in place, so, merging this PR should cause the next agnhost image to be automatically built and published. We should be able to see the job here: https://testgrid.k8s.io/sig-testing-images#post-kubernetes-push-images So, I think we can proceed with this PR. |
|
/lgtm let's give this a shot! |
Prior to the Image Centralization part 4 (kubernetes#81170), a PR merged that enables the Image Promoter to run on the k/k test images. The Image Promoter currently only builds the Conformance-related images, but the Image Centralization part 4 centralized some of those images into agnhost, so they need to be removed from the conformance_images list. Additionally, kubernetes#81226 proposes mounttest-user image to be removed, and RunAsUser to be used in tests instead. The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4) is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists (it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient. Bumps image versions for: jessie-dnsutils, nonewprivs, resource-consumer, sample-apiserver. These images are included in the conformance_images that are being built by the Image Promoter, so we're bumping them just to make sure we're not breaking anything and cause all the CIs to fall. We're going to bump the image versions used in tests in a subsequent PR. The image version was not bumped for: agnhost, kitten, nautilus, as they were already bumped by the Image Centralization part 4 PR.
Prior to the Image Centralization part 4 (kubernetes#81170), a PR merged that enables the Image Promoter to run on the k/k test images. The Image Promoter currently only builds the Conformance-related images, but the Image Centralization part 4 centralized some of those images into agnhost, so they need to be removed from the conformance_images list. Additionally, kubernetes#81226 proposes mounttest-user image to be removed, and RunAsUser to be used in tests instead. The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4) is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists (it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient. Bumps image versions for: jessie-dnsutils, nonewprivs, resource-consumer, sample-apiserver. These images are included in the conformance_images that are being built by the Image Promoter, so we're bumping them just to make sure we're not breaking anything and cause all the CIs to fall. We're going to bump the image versions used in tests in a subsequent PR. The image version was not bumped for: agnhost, kitten, nautilus, as they were already bumped by the Image Centralization part 4 PR.
What type of PR is this?
/kind feature
/sig testing
/sig windows
/area conformance
What this PR does / why we need it:
Centralizes the following images into
agnhost:Adds Windows support for
mounttest.Adds CoreDNS to agnhost image, which can be used in some DNS related tests (dnsmasq is Linux-only).
Bumps
agnhostversion to 2.9.Bumps
kittenversion to 1.1.Bumps
nautilusversion to 1.1.Which issue(s) this PR fixes:
Related: #76342
Fixes #80194
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: