This reference guide demonstrates how to use Kubernetes DaemonSets to initialize your Kubernetes cluster nodes.
For more information, refer to Automatically bootstrapping GKE nodes with DaemonSets.
The DaemonSet
descriptor defines the DaemonSet that executes the init container
that runs a customized initialization procedure.
The entrypoint
contains an example of a script that the init container runs. The example script
is part of the customized initialization procedure.
As part of the example, the script runs both privileged and un-privileged commands.
This verify-init.sh
runs checks on the nodes of the cluster to verify that the initialization completed successfully.