Skip to content

Ability to promote or demotes roles of custom cluster node without removing and rejoining the node #22319

Description

@axeal

What kind of request is this (question/bug/enhancement/feature request):

Feature Request

Steps to reproduce (least amount of steps as possible):

User would like the ability to promote a worker node, i.e. add the controlplane or etcd roles to it, or vice-versa, to remove the controlplane or etcd roles from a node with multiple roles, without having to remove the node from the cluster and rejoin it with the desired roles.

The use-case is for example where there is failure of an etcd node, and to restore HA the user wishes to add a new etcd node. As they run on baremetal and cannot quickly spin up a new instance, in this scenario they add a third etcd instance by removing an existing worker node and rejoining with the etcd role, which reschedules numerous workloads and requires more intervention that a simple 'promotion' would.

Request is therefore to be able to change roles of nodes dynamically, i.e. re-run the agent container with different roles and have cluster provisioning reconcile to this.

Environment information

  • Rancher v2.2.7

gz#5720

gz#14737

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/custom-clusterinternalkind/featureIssues that represent larger new pieces of functionality, not enhancements to existing functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions