These need to change order.
This commit is contained in:
parent
d9a1fc0d28
commit
569c78a3e6
1 changed files with 3 additions and 3 deletions
|
@ -50,6 +50,9 @@ region = sto4]!
|
|||
* Add all other _Controller_ nodes with `microk8s join 89.46.21.119:25000/12345678987654345678976543/1234565`
|
||||
* Add all other _Worker_ nodes with `microk8s join 89.46.21.119:25000/12345678987654345678976543/1234565 --worker`
|
||||
* Taint controller nodes so they wont get workload:` microk8s.kubectl taint nodes --selector=node.kubernetes.io/microk8s-controlplane=microk8s-controlplane cp-node=true:NoExecute`
|
||||
* `kubectl label node internal-sto4-test-k8spg-0.rut.sunet.se sunet.se/role=cnpg`
|
||||
* `kubectl label node internal-sto4-test-k8spg-1.rut.sunet.se sunet.se/role=cnpg`
|
||||
* `kubectl label node internal-sto4-test-k8spg-2.rut.sunet.se sunet.se/role=cnpg`
|
||||
* Taint Postgres nodes so they wont get workload:` microk8s.kubectl taint nodes --selector=sunet.se/role=cnpg pg-node=true:NoExecute`
|
||||
* `kubectl get nodes` should show something like:
|
||||
|
||||
|
@ -67,9 +70,6 @@ internal-sto4-test-k8sc-1.rut.sunet.se Ready <none> 16d v1.28.7
|
|||
```
|
||||
* Enable needed addons for rut: `microk8s enable ingress` `microk8s enable cert-manager` `microk8s enable community` `microk8s enable cloudnative-pg` `microk8s enable metrics-server`
|
||||
* `kubectl create namespace sunet-cnpg`
|
||||
* `kubectl label node internal-sto4-test-k8spg-0.rut.sunet.se sunet.se/role=cnpg`
|
||||
* `kubectl label node internal-sto4-test-k8spg-1.rut.sunet.se sunet.se/role=cnpg`
|
||||
* `kubectl label node internal-sto4-test-k8spg-2.rut.sunet.se sunet.se/role=cnpg`
|
||||
* Setup storage class: `rsync -a k8s internal-sto4-test-k8sc-0.rut.sunet.se: && ssh internal-sto4-test-k8sc-0.rut.sunet.se kubectl apply -f k8s`
|
||||
* **Profit**
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue