apis

package
v1.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The OS/Arch labels are promoted to GA in 1.14. kubelet applies both beta
	// and GA labels to ensure backward compatibility.
	// TODO: stop applying the beta OS/Arch labels in Kubernetes 1.18.
	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

This section is empty.

Functions

func IsKubeletLabel added in v1.13.0

func IsKubeletLabel(key string) bool

IsKubeletLabel returns true if the label key is one that kubelets are allowed to set on their own Node object. This checks if the key is in the KubeletLabels() list, or has a namespace in the KubeletLabelNamespaces() list.

func KubeletLabelNamespaces added in v1.13.0

func KubeletLabelNamespaces() []string

KubeletLabelNamespaces returns the list of label key namespaces kubelets are allowed to set on their own Node objects

func KubeletLabels added in v1.13.0

func KubeletLabels() []string

KubeletLabels returns the list of label keys kubelets are allowed to set on their own Node objects

Types

This section is empty.

Directories

Path Synopsis
cri
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.
pluginregistration
v1
Package pluginregistration is a generated protocol buffer package.
Package pluginregistration is a generated protocol buffer package.
v1alpha1
Package pluginregistration is a generated protocol buffer package.
Package pluginregistration is a generated protocol buffer package.
v1beta1
Package pluginregistration is a generated protocol buffer package.
Package pluginregistration is a generated protocol buffer package.
v1alpha1
Package v1alpha1 is a generated protocol buffer package.
Package v1alpha1 is a generated protocol buffer package.
resourcemetrics
stats

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL