Skip to content

Cloud Controller Manager (Bare Metal)

Cloud-Controller-Manager (CCM) is the bridge between Kubernetes and a cloud-provider. CCM uses the cloud-provider (IronCore Bare Metal API in this case) API to manage these resources. The cloud provider interface is implemented in the cloud-provider-metal repository. Here is more detail on how these APIs are implemented in the IronCore bare metal cloud-provider for different objects.

Node Lifecycle

InstanceExists

The InstanceExists method checks if a node with the given name exists in the cloud provider. In IronCore bare metal, a Node is represented by a ServerClaim object. The InstanceExists method checks if a ServerClaim with the given name exists.

InstanceShutdown

The InstanceShutdown method checks if a node with the given name is shut down in the cloud provider. Here, the instance controller checks if the ServerClaim and the claimed Server object are in the PowerOff state.

InstanceMetadata

The InstanceMetadata method retrieves the metadata of a node with the given name. In IronCore bare metal, this method retrieves the topology labels from a Server object that is claimed by the ServerClaim of the node. Additional labels of the Server object are also added to the Node object.

EU and German government funding logos

Funded by the European Union – NextGenerationEU.

The views and opinions expressed are solely those of the author(s) and do not necessarily reflect the views of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.