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

Replaced deprecated label failure-domain #11148

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

piyushsingariya
Copy link
Contributor

This PR fixes #11114 as mentioned in the issue, templates are using a deprecated label failure-domainwhich has been replaced with topology from K8S version 1.17

k8s docs about update for deprecated label (mentioned in the respective issue also)

@piyushsingariya piyushsingariya requested a review from a team as a code owner July 22, 2023 14:37
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

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

Thanks for the swift contribution @piyushsingariya . But if I'm reading right the docs you link to, shouldn't the new label be just topology.kubernetes.io/region?

@piyushsingariya
Copy link
Contributor Author

Thanks for the swift contribution @piyushsingariya . But if I'm reading right the docs you link to, shouldn't the new label be just topology.kubernetes.io/region?

image

@alpeb I am seeing topology.kubernetes.io/zone here.

@alpeb
Copy link
Member

alpeb commented Jul 27, 2023

I made a typo in my previous comment. What I meant is that the beta part should be dropped.

@piyushsingariya
Copy link
Contributor Author

I made a typo in my previous comment. What I meant is that the beta part should be dropped.

My bad, I overlooked it. Will update the PR by this weekend. Thanks @alpeb

@alpeb
Copy link
Member

alpeb commented Aug 2, 2023

@piyushsingariya can you take this one across the finish line? I'd love to include it in tomorrow's edge release 😉

@piyushsingariya
Copy link
Contributor Author

piyushsingariya commented Aug 7, 2023

@alpeb apologies I was unable to finish off this one. Thanks you! Let's get this merged now?

Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

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

There was one more typo whose fix I've just pushed into your branch. Should be good to go now! :shipit:

@alpeb alpeb merged commit bc8b4f2 into linkerd:main Aug 8, 2023
33 checks passed
hawkw added a commit that referenced this pull request Aug 11, 2023
## edge-23.8.2

This edge release adds improvements to Linkerd's multi-cluster features
as part of the [flat network support] planned for Linkerd stable-2.14.0.
In addition, it fixes an issue ([#10764]) where warnings about an
invalid metric were logged frequently by the Destination controller.

* Added a new `remoteDiscoverySelector` field to the multicluster `Link`
  CRD, which enables a service mirroring mod where the control plane
  performs discovery for the mirrored service from the remote cluster,
  rather than creating Endpoints for the mirrored service in the source
  cluster ([#11190], [#11201], [#11220], and [#11224])
* Fixed missing "Services" menu item in the Spanish localization for the
  `linkerd-viz` web dashboard ([#11229]) (thanks @mclavel!)
* Replaced `server_port_subscribers` Destination controller gauge metric
  with `server_port_subscribes` and `server_port_unsubscribes` counter
  metrics ([#11206]; fixes [#10764])
* Replaced deprecated `failure-domain.beta.kubernetes.io` labels in Helm
  charts with `topology.kubernetes.io` labels ([#11148]; fixes [#11114])
  (thanks @piyushsingariya!)

[#10764]: #10764
[#11114]: #11114
[#11148]: #11148
[#11190]: #11190
[#11201]: #11201
[#11206]: #11206
[#11220]: #11220
[#11224]: #11224
[#11229]: #11229
[flat network support]:
    https://linkerd.io/2023/07/20/enterprise-multi-cluster-at-scale-supporting-flat-networks-in-linkerd/
@hawkw hawkw mentioned this pull request Aug 11, 2023
hawkw added a commit that referenced this pull request Aug 11, 2023
## edge-23.8.2

This edge release adds improvements to Linkerd's multi-cluster features
as part of the [flat network support] planned for Linkerd stable-2.14.0.
In addition, it fixes an issue ([#10764]) where warnings about an
invalid metric were logged frequently by the Destination controller.

* Added a new `remoteDiscoverySelector` field to the multicluster `Link`
  CRD, which enables a service mirroring mode where the control plane
  performs discovery for the mirrored service from the remote cluster,
  rather than creating Endpoints for the mirrored service in the source
  cluster ([#11190], [#11201], [#11220], and [#11224])
* Fixed missing "Services" menu item in the Spanish localization for the
  `linkerd-viz` web dashboard ([#11229]) (thanks @mclavel!)
* Replaced `server_port_subscribers` Destination controller gauge metric
  with `server_port_subscribes` and `server_port_unsubscribes` counter
  metrics ([#11206]; fixes [#10764])
* Replaced deprecated `failure-domain.beta.kubernetes.io` labels in Helm
  charts with `topology.kubernetes.io` labels ([#11148]; fixes [#11114])
  (thanks @piyushsingariya!)

[#10764]: #10764
[#11114]: #11114
[#11148]: #11148
[#11190]: #11190
[#11201]: #11201
[#11206]: #11206
[#11220]: #11220
[#11224]: #11224
[#11229]: #11229
[flat network support]:
    https://linkerd.io/2023/07/20/enterprise-multi-cluster-at-scale-supporting-flat-networks-in-linkerd/
@adleong adleong mentioned this pull request Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace the deprecated "failure-domain" label with "topology" label in the partials _affinity.tpl
3 participants