This commit is contained in:
chris 2019-04-16 13:37:13 +02:00
parent e09e38d972
commit 65f99adac2
1 changed files with 20 additions and 1 deletions

View File

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