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

Update controller-service.yaml to fix ipFamilies #8329

Closed
wants to merge 2 commits into from
Closed

Update controller-service.yaml to fix ipFamilies #8329

wants to merge 2 commits into from

Conversation

MikeK184
Copy link

See Issue: #8328

Increasing Kubernetes version check on ipFamilies feature to 1.21 according to the official Kubernetes docs: https://kubernetes.io/docs/concepts/services-networking/dual-stack/
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 11, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: MikeK184 / name: Mike (17e03f6)

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 11, 2022
@k8s-ci-robot
Copy link
Contributor

Welcome @MikeK184!

It looks like this is your first PR to kubernetes/ingress-nginx 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/ingress-nginx has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @MikeK184. Thanks for your PR.

I'm waiting for a kubernetes 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/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 11, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: MikeK184
To complete the pull request process, please assign cpanato after the PR has been reviewed.
You can assign the PR to them by writing /assign @cpanato in a comment when ready.

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 k8s-ci-robot added the area/helm Issues or PRs related to helm charts label Mar 11, 2022
@cpanato
Copy link
Member

cpanato commented Mar 11, 2022

@MikeK184 can you please sign the CLA? thanks!

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Mar 11, 2022
@MikeK184
Copy link
Author

@MikeK184 can you please sign the CLA? thanks!

Just signed it a minute ago :).

@cpanato
Copy link
Member

cpanato commented Mar 11, 2022

/ok-to-test
/triage accepted
/priority important-soon

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority labels Mar 11, 2022
Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you bump the chart version as well? thanks for this PR

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 11, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. and removed 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 Mar 11, 2022
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Mar 11, 2022
@MikeK184
Copy link
Author

can you bump the chart version as well? thanks for this PR

Not sure if that's all that needed to be changed.

@longwuyuan
Copy link
Contributor

@MikeK184 You need to run helmdocs to generate a new README.md for the chart. Its documented in RELEASE.md

@afirth just curious, was it you who made some changes, to improve/solve-problem related to ipfamilies.

@afirth
Copy link
Member

afirth commented Mar 11, 2022

@longwuyuan

@afirth just curious, was it you who made some changes, to improve/solve-problem related to ipfamilies.

no, #8162 and #8099 just make the static manifests' helm template respect the semver compare - it used to just pretend it was 1.20 all the time

@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. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 11, 2022
@longwuyuan
Copy link
Contributor

Someone needs to verify if the change to 1.21 is valid because K8s v1.21 is where ipfamilies is enabled by default. But This screenshot shows that ipfamilies is/was available as a feature in K8s v1.20 as well. Or this page on Kubernetes.io is showing wrong information and needs a change

https://kubernetes.io/docs/concepts/services-networking/dual-stack/
image

If a user of K8s v1.20 uses ipfamilies and does not get it out of the box while using the project's helm chart, because of this change, then we are breaking a currently functional feature for K8s v1.20.

But I could be wrong completely so maybe someone needs to double-check.

@MikeK184
Copy link
Author

MikeK184 commented Mar 11, 2022

This is what the Feature Gates docs says:

image

Not sure how to interpret this tho, so the feature gate for dual stack in "beta version" is enabled by default with version 1.21. But the "alpha version" can be used starting from 1.15 to 1.20;

This somewhat speaks against what the docs say with version 1.20.

@afirth
Copy link
Member

afirth commented Mar 11, 2022

alpha gates are not enabled by default, and not available on most cloud providers. IMO safe to assume this PR behaviour is what 99.99% of our users want. The others can use the static manifests, fork the chart, or use the helm kustomize post hooks. I think as a rule, we should never try to install alpha K8s features by default. If a user wants it on, another PR can introduce an enableDualStack or whatever flag that we || with this

@longwuyuan
Copy link
Contributor

longwuyuan commented Mar 11, 2022 via email

@MikeK184
Copy link
Author

I've quickly made an issue for that to confirm if its just a typo: kubernetes/website#32212

@strongjz
Copy link
Member

1 similar comment
@strongjz
Copy link
Member

@k8s-ci-robot
Copy link
Contributor

@strongjz: Closed this PR.

In response to this:

I included this fix in the 1.1.3 release

https://github.com/kubernetes/ingress-nginx/pull/8411/files#diff-55ee4c2a2aed7c0b4796c6e37ac3e10e689443dcd20b34f83f7e02030e315759R40

/close

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
Copy link
Contributor

@strongjz: Closed this PR.

In response to this:

I included this fix in the 1.1.3 release

https://github.com/kubernetes/ingress-nginx/pull/8411/files#diff-55ee4c2a2aed7c0b4796c6e37ac3e10e689443dcd20b34f83f7e02030e315759R40

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Issues or PRs related to helm charts cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants