Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HypervIsolationAnnotationKey and HypervIsolationValue are used to run windows containers with hyperv isolation. // Refer https://aka.ms/hyperv-container. HypervIsolationAnnotationKey = "experimental.windows.kubernetes.io/isolation-type" HypervIsolationValue = "hyperv" )
View Source
const ( LabelHostname = "kubernetes.io/hostname" LabelZoneFailureDomain = "failure-domain.beta.kubernetes.io/zone" LabelMultiZoneDelimiter = "__" LabelZoneRegion = "failure-domain.beta.kubernetes.io/region" LabelInstanceType = "beta.kubernetes.io/instance-type" LabelOS = "beta.kubernetes.io/os" LabelArch = "beta.kubernetes.io/arch" )
View Source
const ( // When kubelet is started with the "external" cloud provider, then // it sets this annotation on the node to denote an ip address set from the // cmd line flag (--node-ip). This ip is verified with the cloudprovider as valid by // the cloud-controller-manager AnnotationProvidedIPAddr = "alpha.kubernetes.io/provided-node-ip" )
Variables ¶
View Source
var DefaultFailureDomains string = LabelHostname + "," + LabelZoneFailureDomain + "," + LabelZoneRegion
When the --failure-domains scheduler flag is not specified, DefaultFailureDomains defines the set of label keys used when TopologyKey is empty in PreferredDuringScheduling anti-affinity.
Functions ¶
func ShouldIsolatedByHyperV ¶ added in v1.10.8
ShouldIsolatedByHyperV returns true if a windows container should be run with hyperv isolation.
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
runtime/v1alpha2
Package v1alpha2 is a generated protocol buffer package.
|
Package v1alpha2 is a generated protocol buffer package. |
deviceplugin
|
|
v1alpha
Package deviceplugin is a generated protocol buffer package.
|
Package deviceplugin is a generated protocol buffer package. |
v1beta1
Package v1beta1 is a generated protocol buffer package.
|
Package v1beta1 is a generated protocol buffer package. |
stats
|
|
Click to show internal directories.
Click to hide internal directories.