Professional Documents
Culture Documents
Rancher Com Docs k3s Latest en Installation Disable Flags
Rancher Com Docs k3s Latest en Installation Disable Flags
Disable ? Need Help? Get free intro and advanced online training ×
Architecture
Components Flags
Quick-Start Guide
Installation When starting K3s server with –cluster-init it will run all control plane components that includes (api
server, controller manager, scheduler, and etcd). However you can run server nodes with certain
Installation Requirements components and execlude others, the following sectiohs will explain how to do that.
Installation Options
Network Options
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Disable Components Flags
curl -fL https://get.k3s.io | sh -s - server --cluster-init --disa
Kubernetes Dashboard
Uninstalling K3s
You can join other nodes to the cluster normally after that.
Cluster Access
Upgrades
Volumes and Storage components other than etcd, that can be accomplished by running k3s server with ag --disable-
etcd for example to join another node with only control components to the etcd node created in the
previous section:
Networking
The end result will be a two nodes one of them is etcd only node and the other one is controlplane
FAQ only node, if you check the node list you should see something like the following:
Known Issues
kubectl get nodes
NAME STATUS ROLES AGE VER
Security ip-172-31-13-32 Ready etcd 5h39m v1.2
ip-172-31-14-69 Ready control-plane,master 5h39m v1.2
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Note that you can run kubectl commands only on the k3s server that has the api running, and you
cant run kubectl commands on etcd only nodes.
you will notice that all components started again and you can run kubectl commands again:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Notice that role labels has been re-added to the node ip-172-31-13-32 with the correct labels
(control-plane,etcd,master).
---
disable-api-server: true
disable-controller-manager: true
disable-scheduler: true
cluster-init: true
and then start K3s using the curl command without any arguents:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
EDIT THIS PAGE
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
© Copyright 2021 Rancher. All Rights Reserved. Privacy Policy Agreements Terms of Service
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD