Skip to content

Commit

Permalink
core/v1: update well known labels for zones/regions to topology.kuber…
Browse files Browse the repository at this point in the history
…netes.io/zone and topology.kubernetes.io/region, mark beta labels as deprecated

Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
  • Loading branch information
andrewsykim committed Nov 8, 2019
1 parent 1016b8b commit 5acabf2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions staging/src/k8s.io/api/core/v1/well_known_labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ limitations under the License.
package v1

const (
LabelHostname = "kubernetes.io/hostname"
LabelZoneFailureDomain = "failure-domain.beta.kubernetes.io/zone"
LabelZoneRegion = "failure-domain.beta.kubernetes.io/region"
LabelHostname = "kubernetes.io/hostname"

LabelZoneFailureDomain = "failure-domain.beta.kubernetes.io/zone"
LabelZoneRegion = "failure-domain.beta.kubernetes.io/region"
LabelZoneFailureDomainStable = "topology.kubernetes.io/zone"
LabelZoneRegionStable = "topology.kubernetes.io/region"

LabelInstanceType = "beta.kubernetes.io/instance-type"

Expand Down

0 comments on commit 5acabf2

Please sign in to comment.