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

remove AWS S3 access from nodes if using none dns #15145

Merged
merged 2 commits into from
Feb 12, 2023

Conversation

zetaab
Copy link
Member

@zetaab zetaab commented Feb 12, 2023

Normal nodes does not need S3 access after using none dns

@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 Feb 12, 2023
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 12, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

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 Feb 12, 2023
@zetaab
Copy link
Member Author

zetaab commented Feb 12, 2023

/hold

I am running tests for this to ensure that its not needed

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 12, 2023
@rifelpet
Copy link
Member

what happens if a node created from an older kops version is rebooted after this change is applied? will the old nodeup still try (and fail) to fetch files from the state store?

@zetaab
Copy link
Member Author

zetaab commented Feb 12, 2023

@rifelpet afaik dns none is quite new thing and it has not been any stable release yet(?). Also it has not required s3 node access since its lifetime, so it should be quite safe move?

@hakman
Copy link
Member

hakman commented Feb 12, 2023

/test pull-kops-e2e-aws-dns-none

@zetaab
Copy link
Member Author

zetaab commented Feb 12, 2023

/test pull-kops-e2e-cni-calico

@zetaab
Copy link
Member Author

zetaab commented Feb 12, 2023

yeah I can confirm that at least new cluster with dns none starts after this.

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 12, 2023
@k8s-ci-robot k8s-ci-robot merged commit bd0a779 into kubernetes:master Feb 12, 2023
@rifelpet
Copy link
Member

Do we (or will we) support migrating existing clusters from gossip to none ? If so my concern still stands

@hakman
Copy link
Member

hakman commented Feb 13, 2023

Do we (or will we) support migrating existing clusters from gossip to none ? If so my concern still stands

We will support migrating from gossip to none, but it will not be without downtime and full cluster roll.
Also, I doubt that anyone will restart nodes during this process. Probably there should be a note about it.
This seems more like something that was missed during #14501.

@zetaab zetaab deleted the rems3access branch February 13, 2023 06:00
k8s-ci-robot added a commit that referenced this pull request Feb 13, 2023
…-upstream-release-1.26

Automated cherry pick of #15145: remove s3 access from nodes if using none dns
@avdhoot
Copy link
Contributor

avdhoot commented Jul 12, 2023

@zetaab Side effect of this change is issue. The image pull is no longer working. @rifelpet your concern is valid. cc @hakman

Shimiazoulai pushed a commit to spotinst/kubernetes-kops that referenced this pull request Jul 13, 2023
…-of-#15145-upstream-release-1.26

Automated cherry pick of kubernetes#15145: remove s3 access from nodes if using none dns
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. 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.

5 participants