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

flatcar: Set cloud-provider kubelet flag to "external" #4519

Merged

Conversation

johananl
Copy link
Member

In-tree cloud provider support was removed in k8s v1.27.

See the following:

What type of PR is this?

/kind bug

What this PR does / why we need it:

Support for in-tree cloud providers was removed, which is currently causing errors when using templates/cluster-template-flatcar.yaml. Set cloud-provider to external to fix this.

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

None

Special notes for your reviewer:

Checklist:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Release note:

NONE

In-tree cloud provider support was removed in k8s v1.27.

See the following:

- kubernetes/kubernetes#118899
- kubernetes/kubernetes#115838
- kubernetes-sigs#4301

Signed-off-by: Johanan Liebermann <jliebermann@microsoft.com>
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/bug Categorizes issue or PR as related to a bug. needs-priority labels Sep 26, 2023
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 26, 2023
@Ankitasw
Copy link
Member

Ankitasw commented Sep 27, 2023

@johananl there is one E2E test for flatcar which already uses cloud-provider: external
Thanks for fixing this.
This is just the document change(templates) which was missed when the cloud provider migration was done.
So I think there is no other file for flatcar, this change should be ok.

@Ankitasw Ankitasw added kind/documentation Categorizes issue or PR as related to documentation. and removed kind/bug Categorizes issue or PR as related to a bug. labels Sep 27, 2023
@Ankitasw
Copy link
Member

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 27, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ankitasw

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 Sep 27, 2023
@k8s-ci-robot k8s-ci-robot merged commit d04e95c into kubernetes-sigs:main Sep 27, 2023
19 checks passed
@johananl johananl deleted the flatcar-external-provider branch September 27, 2023 09:07
@johananl
Copy link
Member Author

Thanks @Ankitasw!

This is just the document change(templates) which was missed when the cloud provider migration was done.

IIUC this is more than a document change since the template files are used by clusterctl generate to produce workload cluster manifests (that's how I noticed the problem - my generated cluster wouldn't boot).

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. kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants