Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelHostname = "kubernetes.io/hostname" LabelTopologyZone = "topology.kubernetes.io/zone" LabelTopologySubzone = "topology.istio.io/subzone" LabelTopologyRegion = "topology.kubernetes.io/region" )
copied from https://github.com/kubernetes/api/blob/master/core/v1/well_known_labels.go It is to remove dependency on k8s.io/api/core/v1
Variables ¶
This section is empty.
Functions ¶
func AugmentLabels ¶
func AugmentLabels(in labels.Instance, clusterID cluster.ID, locality, k8sNode string, networkID network.ID) labels.Instance
AugmentLabels adds additional labels to the those provided.
func SplitLocalityLabel ¶
SplitLocalityLabel splits a locality label into region, zone and subzone strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.