Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate labels from Hardware to Kubernetes nodes #390

Open
jacobweinstock opened this issue Aug 6, 2024 · 0 comments
Open

Propagate labels from Hardware to Kubernetes nodes #390

jacobweinstock opened this issue Aug 6, 2024 · 0 comments

Comments

@jacobweinstock
Copy link
Member

Currently there is no way to propagate labels from a Hardware object to a Kubernetes node. This is needed for integrations with things like storage providers and fault domains. For example a rack location could help storage be spread across failure domains.

Cluster API providers a constrained capability to propagate labels to nodes. The CAPI machine object labels are propagated to nodes if they follow certain constraints. For example, the label node.cluster.x-k8s.io/rack: test would be propagated to the node. See https://main.cluster-api.sigs.k8s.io/developer/architecture/controllers/metadata-propagation#machine

While CAPI has this capability it is still disconnected from Tinkerbell Hardware objects. Ideally, information like rack would be defined on each Hardware object.

The request here is that Hardware labels or some field(s) in the Hardware object would get propagated to nodes. The implementation is not being defined here.

Expected Behaviour

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS):

  • How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:

  • Link to your project or a code example to reproduce issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant