| // Code generated by cue get go. DO NOT EDIT. |
| |
| //cue:generate cue get go k8s.io/api/core/v1 |
| |
| package v1 |
| |
| #LabelHostname: "kubernetes.io/hostname" |
| #LabelTopologyZone: "topology.kubernetes.io/zone" |
| #LabelTopologyRegion: "topology.kubernetes.io/region" |
| |
| // These label have been deprecated since 1.17, but will be supported for |
| // the foreseeable future, to accommodate things like long-lived PVs that |
| // use them. New users should prefer the "topology.kubernetes.io/*" |
| // equivalents. |
| #LabelFailureDomainBetaZone: "failure-domain.beta.kubernetes.io/zone" |
| #LabelFailureDomainBetaRegion: "failure-domain.beta.kubernetes.io/region" |
| |
| // Retained for compat when vendored. Do not use these consts in new code. |
| #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" |
| #LabelInstanceTypeStable: "node.kubernetes.io/instance-type" |
| #LabelOSStable: "kubernetes.io/os" |
| #LabelArchStable: "kubernetes.io/arch" |
| |
| // LabelWindowsBuild is used on Windows nodes to specify the Windows build number starting with v1.17.0. |
| // It's in the format MajorVersion.MinorVersion.BuildNumber (for ex: 10.0.17763) |
| #LabelWindowsBuild: "node.kubernetes.io/windows-build" |
| |
| // LabelNamespaceSuffixKubelet is an allowed label namespace suffix kubelets can self-set ([*.]kubelet.kubernetes.io/*) |
| #LabelNamespaceSuffixKubelet: "kubelet.kubernetes.io" |
| |
| // LabelNamespaceSuffixNode is an allowed label namespace suffix kubelets can self-set ([*.]node.kubernetes.io/*) |
| #LabelNamespaceSuffixNode: "node.kubernetes.io" |
| |
| // LabelNamespaceNodeRestriction is a forbidden label namespace that kubelets may not self-set when the NodeRestriction admission plugin is enabled |
| #LabelNamespaceNodeRestriction: "node-restriction.kubernetes.io" |
| |
| // IsHeadlessService is added by Controller to an Endpoint denoting if its parent |
| // Service is Headless. The existence of this label can be used further by other |
| // controllers and kube-proxy to check if the Endpoint objects should be replicated when |
| // using Headless Services |
| #IsHeadlessService: "service.kubernetes.io/headless" |
| |
| // LabelNodeExcludeBalancers specifies that the node should not be considered as a target |
| // for external load-balancers which use nodes as a second hop (e.g. many cloud LBs which only |
| // understand nodes). For services that use externalTrafficPolicy=Local, this may mean that |
| // any backends on excluded nodes are not reachable by those external load-balancers. |
| // Implementations of this exclusion may vary based on provider. |
| #LabelNodeExcludeBalancers: "node.kubernetes.io/exclude-from-external-load-balancers" |
| |
| // LabelMetadataName is the label name which, in-tree, is used to automatically label namespaces, so they can be selected easily by tools which require definitive labels |
| #LabelMetadataName: "kubernetes.io/metadata.name" |