Skip to content

Do kubeadm init from cloud-init #7

@jlebon

Description

@jlebon

Right now, we wait for SSH before we do anything, including copying the kubeadm config, then init, then Calico, etc...

But it would be cleaner to just shove all of that setup in the cloud-init config itself. It would write the kubeadm config, and then the systemd unit which runs all the logic. That should make provisioning a bit faster. Once we get SSH, we can just wait until the systemd unit is active. (Though it'd be nice to actually avoid blocking on SSH entirely for bringup and instead get notified via e.g. virtio-serial or systemd's AF_VSOCK-powered integration.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions