Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KubeletServiceName is the name will we run the kubelet Windows service under. It is required to be named "kubelet": // https://github.com/kubernetes/kubernetes/blob/v1.16.0/cmd/kubelet/app/init_windows.go#L26 KubeletServiceName = "kubelet" // KubeletDefaultVerbosity is the recommended default log level for kubelet. See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md KubeletDefaultVerbosity = "3" )
Variables ¶
This section is empty.
Functions ¶
func NewWinNodeBootstrapper ¶
func NewWinNodeBootstrapper(k8sInstallDir, ignitionFile, kubeletPath, kubeletVerbosity, nodeIP, clusterDNS, platformType string) (*winNodeBootstrapper, error)
NewWinNodeBootstrapper takes the dir to install the kubelet to, the verbosity and paths to the ignition and kubelet files, an optional node IP, an optional clusterDNS, along with the CNI options as inputs, and generates the winNodeBootstrapper object. The CNI options are populated only in the configure-cni command. The inputs to NewWinNodeBootstrapper are ignored while using the uninstall kubelet functionality.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.