Update Kubernetes

Tomislav Kopić 2024-04-13 13:22:16 +00:00
parent 4767bf3509
commit 1191717357

@ -2,13 +2,13 @@
## Requirements ## Requirements
### Control plane node: ### Control plane node:
- 2 or more cores - 2 cores (or more)
- 1GB of RAM - 1GB of RAM (or more)
- 16GB of disk space - 16GB of disk space (or more)
### Worker node: ### Worker node:
- 1 or more cores - 1 core (or more)
- 512MB of RAM - 512MB of RAM (or more)
- 16GB of disk space - 16GB of disk space (or more)
# Node installation # Node installation
## K3S control plane node ## K3S control plane node
@ -29,7 +29,8 @@ curl -sfL https://get.k3s.io | K3S_TOKEN="<Rand0mlyG3n3rat3dT0ken>" sh -s - serv
curl -sfL https://get.k3s.io | K3S_TOKEN="<Rand0mlyG3n3rat3dT0ken>" sh -s - agent --server https://<ipofthemasternode>:6443 ---disable servicelb --disable traefik curl -sfL https://get.k3s.io | K3S_TOKEN="<Rand0mlyG3n3rat3dT0ken>" sh -s - agent --server https://<ipofthemasternode>:6443 ---disable servicelb --disable traefik
``` ```
Worker nodes are not specifically required if you don't want them or are running a small cluster of only 3 nodes. *Worker nodes are not specifically required if you don't want them or are running a small cluster of only 3 nodes.*
you can check the state of the cluster by SSHing to any of the master nodes and running you can check the state of the cluster by SSHing to any of the master nodes and running
``` ```
kubectl get nodes kubectl get nodes