Add labels to pg nodes.
This commit is contained in:
parent
191c76de91
commit
ffcb4722b8
1 changed files with 5 additions and 2 deletions
|
@ -62,8 +62,11 @@ internal-sto4-test-k8sw-4.rut.sunet.se Ready <none> 16m v1.28.7
|
|||
internal-sto4-test-k8sw-0.rut.sunet.se Ready <none> 21m v1.28.7
|
||||
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`
|
||||
* kubectl create namespace sunet-cnpg
|
||||
* 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 internal-sto4-test-k8spg-0.rut.sunet.se sunet.se/role=cnpg`
|
||||
* `kubectl label internal-sto4-test-k8spg-1.rut.sunet.se sunet.se/role=cnpg`
|
||||
* `kubectl label 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