fix WS
This commit is contained in:
parent
e09e38d972
commit
65f99adac2
1 changed files with 20 additions and 1 deletions
19
README.md
19
README.md
|
@ -47,3 +47,22 @@
|
||||||
|
|
||||||
kubectl proxy
|
kubectl proxy
|
||||||
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/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