Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnotationKeyChecksum is the key of an annotation on a shoot Node object whose value is the checksum // of the last applied cloud config user data. AnnotationKeyChecksum = nodeagentv1alpha1.AnnotationKeyChecksumAppliedOperatingSystemConfig // PathExecutionDelaySeconds is the path on the shoot worker nodes at which the randomly computed delay for the // execution will be persisted. PathExecutionDelaySeconds = downloader.PathCCDDirectory + "/execution_delay_seconds" // PathExecutionLastDate is the path on the shoot worker nodes at which the date of the last execution will be // persisted. PathExecutionLastDate = downloader.PathCCDDirectory + "/execution_last_date" // PathHyperkubeDownloads is the path on the shoot worker nodes to which the binaries will be extracted from the // hyperkube image. PathHyperkubeDownloads = downloader.PathDownloadsDirectory + "/hyperkube" // PathLastDownloadedHyperkubeImage is the path on the shoot worker nodes at which the last downloaded hyperkube image // name will be stored. PathLastDownloadedHyperkubeImage = PathHyperkubeDownloads + "/last_downloaded_hyperkube_image" // PathHyperKubeImageUsedForLastCopyKubelet is the path on the shoot worker at which the last downloaded hyperkube image // name will be stored from which the kubelet binary was extracted. PathHyperKubeImageUsedForLastCopyKubelet = v1beta1constants.OperatingSystemConfigFilePathBinaries + "/hyperkube_image_used_for_last_copy_of_kubelet" // PathHyperKubeImageUsedForLastCopyKubectl is the path on the shoot worker at which the last downloaded hyperkube image // name will be stored from which the kubectl binary was extracted. PathHyperKubeImageUsedForLastCopyKubectl = v1beta1constants.OperatingSystemConfigFilePathBinaries + "/hyperkube_image_used_for_last_copy_of_kubectl" )
Variables ¶
This section is empty.
Functions ¶
func Script ¶
func Script( cloudConfigUserData []byte, cloudConfigExecutionMaxDelaySeconds int, hyperkubeImage *imagevector.Image, kubernetesVersion string, kubeletDataVolume *gardencorev1beta1.DataVolume, reloadConfigCommand string, units []string, files []string, ) ( []byte, error, )
Script returns the executor script that applies the downloaded cloud-config user-data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.