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

Open etcd port only when Calico uses "etcd" datastore #10032

Merged
merged 2 commits into from
Oct 9, 2020

Conversation

hakman
Copy link
Member

@hakman hakman commented Oct 9, 2020

For kubernetes 1.12+, kops hardcodes DATASTORE_TYPE to "kubernetes".


@hakman hakman added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Oct 9, 2020
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 9, 2020
@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 Oct 9, 2020
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 9, 2020
@k8s-ci-robot k8s-ci-robot added area/api size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 9, 2020
@olemarkus
Copy link
Member

/lgtm
Always wondered about why we kept those ports open.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 9, 2020
@hakman
Copy link
Member Author

hakman commented Oct 9, 2020

Always wondered about why we kept those ports open.

Me too...
Next step would be to fix the SG reconciling logic.

@hakman
Copy link
Member Author

hakman commented Oct 9, 2020

/skip

@hakman
Copy link
Member Author

hakman commented Oct 9, 2020

/retest

@k8s-ci-robot k8s-ci-robot merged commit f819dce into kubernetes:master Oct 9, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Oct 9, 2020
@olemarkus
Copy link
Member

Yeah. I fixed that for openstack, but that may have been easier than it is for AWS. I wanted to see how it goes with OS anyway before attempting the same on AWS.

@hakman hakman deleted the calico-firewall branch October 9, 2020 08:51
@hakman
Copy link
Member Author

hakman commented Oct 9, 2020

After this change I ended up with 2 rules:

Custom TCP | TCP | 2382 - 4000 | sg-052348d0f129fc923 (nodes.test.local)
Custom TCP | TCP | 2382 - 4001 | sg-052348d0f129fc923 (nodes.test.local)

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. area/api area/nodeup cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants