diff --git a/label/labels.gen.go b/label/labels.gen.go index 69afb5bde5..a4d8ff09f7 100644 --- a/label/labels.gen.go +++ b/label/labels.gen.go @@ -405,6 +405,21 @@ For example, a "Pod" resource may default to the "Deployment" name. }, } + TopologyLocality = Instance { + Name: "topology.istio.io/locality", + Description: "This label is applied to a workload internally that "+ + "indicates the region/zone/subzone of an instance. It is "+ + "used to override the native registry's value. Kubernetes "+ + "labels does not support `/`, use `.` instead in "+ + "kubernetes. e.g. `regionA.zoneB.subZoneC`", + FeatureStatus: Alpha, + Hidden: false, + Deprecated: false, + Resources: []ResourceTypes{ + Pod, + }, + } + TopologyNetwork = Instance { Name: "topology.istio.io/network", Description: `A label used to identify the network for one or more pods. This is used @@ -483,6 +498,7 @@ func AllResourceLabels() []*Instance { &ServiceWorkloadName, &SidecarInject, &TopologyCluster, + &TopologyLocality, &TopologyNetwork, &TopologySubzone, } diff --git a/label/labels.pb.html b/label/labels.pb.html index f3d24f0c04..397761b255 100644 --- a/label/labels.pb.html +++ b/label/labels.pb.html @@ -376,6 +376,28 @@

topology.istio.io/cluster

+

topology.istio.io/locality

+ + + + + + + + + + + + + + + + + + + +
Nametopology.istio.io/locality
Feature StatusAlpha
Resource Types[Pod]
Description

This label is applied to a workload internally that indicates the region/zone/subzone of an instance. It is used to override the native registry’s value. Kubernetes labels does not support /, use . instead in kubernetes. e.g. regionA.zoneB.subZoneC

+

topology.istio.io/network

diff --git a/label/labels.yaml b/label/labels.yaml index 49188dc1b6..c77768de34 100644 --- a/label/labels.yaml +++ b/label/labels.yaml @@ -164,6 +164,16 @@ labels: resources: - Pod + - name: topology.istio.io/locality + featureStatus: Alpha + description: This label is applied to a workload internally that indicates the region/zone/subzone of an instance. + It is used to override the native registry's value. Kubernetes labels does not support `/`, use `.` instead in kubernetes. + e.g. `regionA.zoneB.subZoneC` + hidden: false + deprecated: false + resources: + - Pod + - name: sidecar.istio.io/inject featureStatus: Beta description: Specifies whether or not an Envoy sidecar should be automatically