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

Actually support service publishNotReadyAddresses #63742

Merged

Conversation

thockin
Copy link
Member

@thockin thockin commented May 11, 2018

This was added and the annotation was deprecated, but it was never
implemented.

xref #63741

Release note:

The annotation `service.alpha.kubernetes.io/tolerate-unready-endpoints` is deprecated.  Users should use Service.spec.publishNotReadyAddresses instead.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 11, 2018
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 11, 2018
@k8s-github-robot k8s-github-robot added the kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API label May 11, 2018
@thockin thockin added the release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. label May 14, 2018
@thockin thockin force-pushed the kill-tolerate-unready-annotation branch 2 times, most recently from f60f11c to db306e4 Compare May 14, 2018 20:33
@thockin
Copy link
Member Author

thockin commented May 14, 2018

/retest

This was added and the annotation was deprecated, but it was never
implemented.
@thockin thockin force-pushed the kill-tolerate-unready-annotation branch from db306e4 to c038f60 Compare May 14, 2018 21:22
Copy link
Member

@MrHohn MrHohn left a comment

Choose a reason for hiding this comment

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

Surprised that this is not implemented..
/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MrHohn, thockin

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

@MrHohn
Copy link
Member

MrHohn commented May 14, 2018

cc @kow3ns

@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 63792, 63495, 63742, 63332, 63779). If you want to cherry-pick this change to another branch, please follow the instructions here.

@k8s-github-robot k8s-github-robot merged commit 944e074 into kubernetes:master May 15, 2018
@enisoc
Copy link
Member

enisoc commented May 24, 2018

Surprised that this is not implemented..

The reason this hadn't been implemented yet was explained in #61056 (comment)

With that said, I talked to @kow3ns after that comment and he seemed willing to consider this type of implementation, at least as an intermediate step.

mikkeloscar added a commit to mikkeloscar/kubernetes that referenced this pull request Sep 14, 2018
This fixes the Redis StatefulSet e2e test by adding the missing `publishNotReadyAddresses: true` field, which was accidentially left out in kubernetes#63742.

Without this fix, the redis e2e test will fail because the pod is unable
to lookup the service:

```
2018/09/14 13:57:10 lookup redis on 172.31.9.247:53: no such host
```

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
vithati pushed a commit to vithati/kubernetes that referenced this pull request Oct 25, 2018
This fixes the Redis StatefulSet e2e test by adding the missing `publishNotReadyAddresses: true` field, which was accidentially left out in kubernetes#63742.

Without this fix, the redis e2e test will fail because the pod is unable
to lookup the service:

```
2018/09/14 13:57:10 lookup redis on 172.31.9.247:53: no such host
```

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
@thockin thockin deleted the kill-tolerate-unready-annotation branch August 14, 2019 17:42
tongpu added a commit to tongpu/vault-helm that referenced this pull request Jul 28, 2020
This annotation has been deprecated since Kuberneets 1.8 and the
publishNotReadyAddresses parameter replacing it has been correctly
implemented in Kubernetes 1.11 (see kubernetes/kubernetes#63742)
jasonodonnell pushed a commit to hashicorp/vault-helm that referenced this pull request Jul 30, 2020
This annotation has been deprecated since Kuberneets 1.8 and the
publishNotReadyAddresses parameter replacing it has been correctly
implemented in Kubernetes 1.11 (see kubernetes/kubernetes#63742)
delgod added a commit to percona/percona-xtradb-cluster-operator that referenced this pull request Sep 14, 2021
https://jira.percona.com/browse/K8SPXC-876
"service.alpha.kubernetes.io/tolerate-unready-endpoints" annotation has been
deprecated since Kuberneets 1.8 and the spec.publishNotReadyAddresses
parameter replacing it has been correctly implemented in Kubernetes 1.11
(see kubernetes/kubernetes#63742)
delgod added a commit to percona/percona-xtradb-cluster-operator that referenced this pull request Sep 17, 2021
https://jira.percona.com/browse/K8SPXC-876
"service.alpha.kubernetes.io/tolerate-unready-endpoints" annotation has been
deprecated since Kuberneets 1.8 and the spec.publishNotReadyAddresses
parameter replacing it has been correctly implemented in Kubernetes 1.11
(see kubernetes/kubernetes#63742)
trombini77 added a commit to trombini77/charts that referenced this pull request Jan 16, 2023
The annotation `service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"` is deprecated since Kubernetes 1.11, following kubernetes/kubernetes#63742
The template input both fields, the annotation and the substituted field `.spec.publishNotReadyAddresses=True` but it becomes incompatible with Kubernetes <=1.10 so a check Kubernetes version resolve it put the right fields based on Kubernetes version.
DandyDeveloper added a commit to DandyDeveloper/charts that referenced this pull request Mar 2, 2023
* fix: publishNotReadyAddresses K8s version check

The annotation `service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"` is deprecated since Kubernetes 1.11, following kubernetes/kubernetes#63742
The template input both fields, the annotation and the substituted field `.spec.publishNotReadyAddresses=True` but it becomes incompatible with Kubernetes <=1.10 so a check Kubernetes version resolve it put the right fields based on Kubernetes version.

* Bumping chart version

* Update Chart.yaml

---------

Co-authored-by: Aaron Layfield <Aaron.Layfield@gmail.com>
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/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. 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.

None yet

6 participants