Skip to content

Binding TEC machine and k8s node #349

Description

@iroykaufman

Intro

Currently, each node that joins the cluster registers with the registration service, which sends an ignition with a UUID for that machine and creates a new TEC machine that represents this machine in the cluster. There is no mapping between the TEC machine that the registration service creates and the k8s node.
One problem with this is that when a node gets deleted, the TEC machine still lives on.

Solution proposal

One option is to bind after boot. The operator detects (using a reconciliation loop) that a new node is created and boots up. The UUID that was generated by the registration service exists on the node (trustee pin uses this UUID at boot time). After the node boots, the operator reads the UUID and binds that node with the matching TEC machine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions