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 = "checksum/cloud-config-data" // ExecutionMaxDelaySeconds is a constant for the maximum delay in seconds for the execution of a downloaded // cloud-config user data. Each worker node will randomly select a value in [1,ExecutionMaxDelaySeconds) and always // delays the execution by this number. ExecutionMaxDelaySeconds = 300 // 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" )
Variables ¶
This section is empty.
Functions ¶
func Script ¶
func Script( bootstrapToken string, cloudConfigUserData []byte, images map[string]interface{}, kubeletDataVolume *gardencorev1beta1.DataVolume, reloadConfigCommand string, units []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.