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

Add support for --disable-apiserver --disable-controller-manager --disable-scheduler (to dedicate some vms to run etcd) #60

Open
gberche-orange opened this issue Jun 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gberche-orange
Copy link
Member

gberche-orange commented Jun 24, 2024

As a k3s operator
In order to run etcd on dedicated k3s-server bosh vms
I need these nodes to not be running other k8s components

See https://docs.k3s.io/installation/server-roles#dedicated-etcd-nodes

Dedicated etcd Nodes

To create a server with only the etcd role, start K3s with all the control-plane components disabled:

server --cluster-init --disable-apiserver --disable-controller-manager --disable-scheduler

This first node will start etcd, and wait for additional etcd and/or control-plane nodes to join. The cluster will not be usable until you join an additional server with the control-plane components enabled.

Dedicated control-plane Nodes
note: A dedicated control-plane node cannot be the first server in the cluster; there must be an existing node with the etcd role before joining dedicated control-plane nodes.

To create a server with only the control-plane role, start k3s with etcd disabled: sh -s - server --token <token> --disable-etcd --server https://<etcd-only-node>:6443

@poblin-orange poblin-orange added the enhancement New feature or request label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants