Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 3, 2025

The --pod-infra-container-image flag has been removed from Kubernetes and causes job failures.

Changes

Removed all occurrences of the deprecated flag from:

  • examples/out-of-tree/kubelet.manifest - Removed from kubelet command-line arguments
  • tests/k8s-azure/manifest/cluster-api/linux-vmss-ci-version.yaml - Removed from Windows node kubeletExtraArgs
  • tests/k8s-azure/manifest/cluster-api/linux-vmss-ci-version-oot-credential-provider.yaml - Removed from Windows node kubeletExtraArgs
  • tests/k8s-azure/manifest/cluster-api/linux-vmss-multiple-zones-ci-version.yaml - Removed from Windows node kubeletExtraArgs

Example of removed configuration:

kubeletExtraArgs:
  cloud-provider: external
  # Removed: pod-infra-container-image: mcr.microsoft.com/oss/kubernetes/pause:3.4.1
Original prompt

This section details on the original issue you should resolve

<issue_title>Remove all occruances of --pod-infra-container-image</issue_title>
<issue_description>

Which jobs are failing:

All check-in jobs.

Which test(s) are failing:

All.

Since when has it been failing:

Testgrid link:

Reason for failure:

--pod-infra-container-image is deprecated and removed. All occurances should be removed from this repo.

Anything else we need to know:

</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@k8s-ci-robot
Copy link
Contributor

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-kind needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 3, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @Copilot. Thanks for your PR.

I'm waiting for a github.com 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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 3, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Copilot
Once this PR has been reviewed and has the lgtm label, please ask for approval from nilo19. For more information see the 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

Copilot AI changed the title [WIP] Remove all occurrences of --pod-infra-container-image Remove deprecated --pod-infra-container-image flag Nov 3, 2025
Copilot AI requested a review from nilo19 November 3, 2025 23:32
Copilot finished work on behalf of nilo19 November 3, 2025 23:32
@nilo19
Copy link
Contributor

nilo19 commented Nov 3, 2025

/kind failing-test

@k8s-ci-robot k8s-ci-robot added the kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. label Nov 3, 2025
@nilo19 nilo19 marked this pull request as ready for review November 3, 2025 23:36
@k8s-ci-robot k8s-ci-robot removed do-not-merge/needs-kind do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Nov 3, 2025
@k8s-ci-robot k8s-ci-robot requested a review from feiskyer November 3, 2025 23:36
@github-actions github-actions bot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Nov 3, 2025
@nilo19 nilo19 merged commit bd225d8 into master Nov 3, 2025
4 of 5 checks passed
@k8s-ci-robot k8s-ci-robot deleted the copilot/remove-pod-infra-container-image branch November 3, 2025 23:37
@nilo19
Copy link
Contributor

nilo19 commented Nov 3, 2025

related: #9590

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. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove all occruances of --pod-infra-container-image

3 participants