From 65f99adac28f4fc7c022a13314b1a9a879640d91 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 16 Apr 2019 13:37:13 +0200 Subject: [PATCH] fix WS --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 53c5d70..bf3965d 100644 --- a/README.md +++ b/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 +