fix WS
This commit is contained in:
parent
e09e38d972
commit
65f99adac2
1 changed files with 20 additions and 1 deletions
21
README.md
21
README.md
|
@ -34,7 +34,7 @@
|
|||
kubectl patch storageclass rook-ceph-block -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
|
||||
kubectl apply -f rook-filesystem.yaml
|
||||
kubectl apply -f rook-object.yaml
|
||||
|
||||
|
||||
## dashboard
|
||||
|
||||
kubectl apply -f kubernetes-dashboard.yaml
|
||||
|
@ -47,3 +47,22 @@
|
|||
|
||||
kubectl proxy
|
||||
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
|
||||
|
||||
## nginx-ingress
|
||||
|
||||
kubectl apply -f nginx-ingress.yaml
|
||||
kubectl apply -f nginx-nodeport.yaml
|
||||
|
||||
### frontend LB variante 1
|
||||
|
||||
scp haproxy.conf root@ssh root@$(hetzner-kube cluster master-ip k8s-test):
|
||||
ssh root@$(hetzner-kube cluster master-ip k8s-test)
|
||||
apt install haproxy
|
||||
mv haproxy.conf /etc/haproxy/haproxy.cfg
|
||||
systemctl restart haproxy
|
||||
|
||||
### frontend LB variante 2
|
||||
|
||||
ssh root@$(hetzner-kube cluster master-ip k8s-test) apt install -y python
|
||||
ansible-playbook -i "$(hetzner-kube cluster master-ip k8s-test)," -u root ansible-haproxy.yaml
|
||||
|
||||
|
|
Loading…
Reference in a new issue