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

chore(Makefile): update base image #380

Merged
merged 1 commit into from
May 18, 2020

Conversation

jchauncey
Copy link
Contributor

Use the new debian-base image published to us.gcr.io/k8s-artifacts-prod instead of the old location

Use the new debian-base image published to us.gcr.io/k8s-artifacts-prod instead of the old location
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 13, 2020
@k8s-ci-robot
Copy link
Contributor

Welcome @jchauncey!

It looks like this is your first PR to kubernetes/dns 🎉. 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/dns 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 k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 13, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @jchauncey. 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/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 13, 2020
@k8s-ci-robot k8s-ci-robot requested review from bowei and MrHohn May 13, 2020 15:25
@MrHohn
Copy link
Member

MrHohn commented May 13, 2020

/cc @prameshj

@prameshj
Copy link
Contributor

Thanks. Since this is a base-image change, could you run the script:

./image-checks.sh <image-tag> <registry-name>

after building/pushing these images to a dev registry? Just to make sure they startup correctly? Changes look good to me.

@jchauncey
Copy link
Contributor Author

cc @justaugustus

@justaugustus
Copy link
Member

/assign
/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 14, 2020
@jchauncey
Copy link
Contributor Author

@prameshj should that script exit cleanly? Definitely seeing some runtime errors.

Status: Downloaded newer image for upstream.azurecr.io/jochaunc/oss/kubernetes/k8s-dns-node-cache:1.15.13
iptables v1.8.2 (legacy): no command specified
Try `iptables -h' or 'iptables --help' for more information.
Verifying that node-cache binary exists in node-cache image

@prameshj
Copy link
Contributor

@prameshj should that script exit cleanly? Definitely seeing some runtime errors.

Status: Downloaded newer image for upstream.azurecr.io/jochaunc/oss/kubernetes/k8s-dns-node-cache:1.15.13
iptables v1.8.2 (legacy): no command specified
Try `iptables -h' or 'iptables --help' for more information.
Verifying that node-cache binary exists in node-cache image

Those errors are fine. It will likely throw error in sidecar image too, since not all params are passed in correctly. That output looks good for node-cache image.

@prameshj
Copy link
Contributor

@prameshj should that script exit cleanly? Definitely seeing some runtime errors.

Status: Downloaded newer image for upstream.azurecr.io/jochaunc/oss/kubernetes/k8s-dns-node-cache:1.15.13
iptables v1.8.2 (legacy): no command specified
Try `iptables -h' or 'iptables --help' for more information.
Verifying that node-cache binary exists in node-cache image

Those errors are fine. It will likely throw error in sidecar image too, since not all params are passed in correctly. That output looks good for node-cache image.

You can use the output of

./image-checks.sh 1.15.13 for reference.

@jchauncey
Copy link
Contributor Author

ok yeah the errors look similar. I saw the other pr moving dns-node-cache to use debian-iptables. Is that something we should consider in this PR?

@prameshj
Copy link
Contributor

ok yeah the errors look similar. I saw the other pr moving dns-node-cache to use debian-iptables. Is that something we should consider in this PR?

Good point, I have asked @champtar to comment on whether we can combine the changes.

@champtar
Copy link
Contributor

iptables is fixed in iptables git master, but I'm waiting for a proper 1.8.5 release (that was supposed to happen this week), to then go talk to the debian folks to have the packages updated, to then go talk to k8s folks to updates the debian-iptables base image, to then update my PR
TLDR: don't wait for me :P

@justaugustus
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 18, 2020
@@ -27,9 +27,9 @@ OUTPUT_DIR := _output/$(ARCH)
# Ensure that the docker command line supports the manifest images
export DOCKER_CLI_EXPERIMENTAL=enabled

BASEIMAGE ?= k8s.gcr.io/debian-base-$(ARCH):v2.0.0
BASEIMAGE ?= us.gcr.io/k8s-artifacts-prod/build-image/debian-base-$(ARCH):v2.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this because k8s.gcr.io still points to google_containers? Can this be used for building from any location?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah im not sure what caused them to change the location. The us.gcr.io domain is used now for all k8s builds so Im guessing its reliable from all locations.

Copy link
Contributor

Choose a reason for hiding this comment

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

@listx Could you confirm this is ok to use?

Once this is resolved, i think this is ok to merge.

Copy link
Member

@justaugustus justaugustus May 18, 2020

Choose a reason for hiding this comment

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

@prameshj -- Yep. This is the US endpoint for community-hosted images now. See this tracking issue for the Debian base images: kubernetes/kubernetes#58012

The VDF (vanity domain flip for k8s.gcr.io) is being tracked here: kubernetes/release#270

The other usable endpoints are asia.gcr.io and eu.gcr.io.

Copy link
Contributor

Choose a reason for hiding this comment

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

thanks. I see https://github.com/kubernetes/kubernetes/pull/90697/files uses the same us endpoint.

@prameshj
Copy link
Contributor

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jchauncey, justaugustus, prameshj

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 May 18, 2020
@k8s-ci-robot k8s-ci-robot merged commit cefee85 into kubernetes:master May 18, 2020
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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.

6 participants