Expand description
Provider-agnostic cloud-init reference provisioner.
CloudInitProvisioner shells out to operator-supplied commands rather than
linking any cloud SDK. The operator provides a provision_cmd (and matching
terminate_cmd / optional describe_cmd) as shell templates; the
provisioner renders a cloud-init #cloud-config user-data document and
substitutes it — along with the requested shape — into those templates before
running them via sh -c.
The generated user-data runs zlayer node join on first boot so the freshly
created machine registers itself with the cluster leader.
Structs§
- Cloud
Init Config - Configuration for
CloudInitProvisioner. - Cloud
Init Provisioner - A
CloudProvisionerthat drives operator-supplied shell commands.
Functions§
- default_
user_ data_ template - Default cloud-init
#cloud-configuser-data template.