Skip to content

Commit 587187a

Browse files
authored
add locality label (#3598)
* add locality label * update example
1 parent 877d201 commit 587187a

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

label/labels.gen.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

label/labels.pb.html

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

label/labels.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,16 @@ labels:
164164
resources:
165165
- Pod
166166

167+
- name: topology.istio.io/locality
168+
featureStatus: Alpha
169+
description: This label is applied to a workload internally that indicates the region/zone/subzone of an instance.
170+
It is used to override the native registry's value. Kubernetes labels does not support `/`, use `.` instead in kubernetes.
171+
e.g. `regionA.zoneB.subZoneC`
172+
hidden: false
173+
deprecated: false
174+
resources:
175+
- Pod
176+
167177
- name: sidecar.istio.io/inject
168178
featureStatus: Beta
169179
description: Specifies whether or not an Envoy sidecar should be automatically

0 commit comments

Comments
 (0)