Skip to content

Support syncing a set of labels from MachineDeployment/MachineSet/Machine to Nodes #493

@sidharthsurana

Description

@sidharthsurana

This issue is to add the capability of defining user defined labels, annotations & taints to be created automatically on the created nodes.

for e.g.: The following MachineSet when realized on any of the provider, should result in the 2 user defined labels latency-sensitive: yes and service-class: gold to be created on the nodes created as part of this machineset.

apiVersion: cluster.k8s.io/v1alpha1
kind: MachineSet
metadata:
  name: gold-workers
spec:
  replicas: 3
  selector:
    matchLabels:
      node-type: worker-node
  template:
    metadata:
      labels:
        node-type: worker-node
    spec:
      metadata:
        labels:
          latency-sensitive: yes
          service-class: gold
      providerConfig:
      ...
      ...

The same mechanics should be extended for annotations as well as taints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiIssues or PRs related to the APIshelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/designCategorizes issue or PR as related to design.kind/proposalIssues or PRs related to proposals.lifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions