image-builder icon indicating copy to clipboard operation
image-builder copied to clipboard

use pause image from mcr.microsoft.com for azure images

Open marosset opened this issue 2 years ago • 6 comments

Signed-off-by: Mark Rossetti [email protected]

What this PR does / why we need it:

This PR makes it so the pause/infra image used when building Azure VHDs comes from mcr.microsoft.com.

Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #

Additional context Add any other context for the reviewers

marosset avatar Jul 19 '22 18:07 marosset

I'm running some builds locally and have verified that this setting is being correctly picked up/passed to ansible

==> vhd-windows-2019-containerd: Executing Ansible: ansible-playbook -e packer_build_name="vhd-windows-2019-containerd" -e packer_builder_type=azure-arm -e ansible_winrm_server_cert_validation=ignore ansible_winrm_operation_timeout_sec=120 ansible_winrm_read_timeout_sec=150 --extra-vars runtime=containerd docker_ee_version=19.03.12 containerd_url=https://github.com/containerd/containerd/releases/download/v1.6.2/containerd-1.6.2-windows-amd64.tar.gz containerd_sha256=4fdf1850a132599cf679992d8405a54416a5ab2982959db20d969054c40a2b71 pause_image=mcr.microsoft.com/oss/kubernetes/pause:3.8

marosset avatar Jul 19 '22 18:07 marosset

/assign @mboersma @jsturtevant

marosset avatar Jul 19 '22 18:07 marosset

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: marosset, mboersma Once this PR has been reviewed and has the lgtm label, please ask for approval from jsturtevant by writing /assign @jsturtevant in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 avatar Jul 19 '22 19:07 k8s-ci-robot

This might be confusing to a user or they may wish to use the upstream images.

If we used a configuration step in our pipelines that produce the images we could overload it there like we do with the k8s version

+1 to @jsturtevant's comment, this might not be the best place to configure it if we're just looking to change the image for the reference images we build. However, it might be worth making it easier to use all the MCR images long-term with some opt-in flag or variable for the Azure build as I could see that being a common use case not just for reference images but for first/third party users as well.

CecileRobertMichon avatar Jul 19 '22 22:07 CecileRobertMichon

This might be confusing to a user or they may wish to use the upstream images. If we used a configuration step in our pipelines that produce the images we could overload it there like we do with the k8s version

+1 to @jsturtevant's comment, this might not be the best place to configure it if we're just looking to change the image for the reference images we build. However, it might be worth making it easier to use all the MCR images long-term with some opt-in flag or variable for the Azure build as I could see that being a common use case not just for reference images but for first/third party users as well.

ack, I'll look into different ways this can be specified. Thanks!

marosset avatar Jul 20 '22 16:07 marosset

/hold

marosset avatar Jul 20 '22 17:07 marosset

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Oct 18 '22 17:10 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Nov 17 '22 17:11 k8s-triage-robot

@marosset Are you still working on this? /remove-lifecycle rotten

kkeshavamurthy avatar Nov 21 '22 21:11 kkeshavamurthy

@jsturtevant @marosset should we keep this PR open?

mboersma avatar Dec 14 '22 18:12 mboersma

/close

we can re-activate if needed

marosset avatar Dec 14 '22 18:12 marosset

@marosset: Closed this PR.

In response to this:

/close

we can re-activate if needed

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 avatar Dec 14 '22 18:12 k8s-ci-robot