This commit is contained in:
chris 2019-04-16 13:37:13 +02:00
parent e09e38d972
commit 65f99adac2

View file

@ -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