Создаем NginxInc Kubernetes Ingress контроллер

Делаю
13.05.2019


Скрипты:
https://github.com/nginxinc/kubernetes-ingress


$ kubectl create -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/master/deployments/common/ns-and-sa.yaml

$ kubectl create -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/master/deployments/common/default-server-secret.yaml

$ kubectl create -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/master/deployments/common/nginx-config.yaml

$ kubectl create -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/master/deployments/rbac/rbac.yaml

$ kubectl create -f https://raw.githubusercontent.com/nginxinc/kubernetes-ingress/master/deployments/daemon-set/nginx-ingress.yaml


$ kubectl get ns
NAME              STATUS   AGE
default           Active   18m
kube-node-lease   Active   18m
kube-public       Active   18m
kube-system       Active   18m
nginx-ingress     Active   3s


$ kubectl -n nginx-ingress get all
NAME                      READY   STATUS    RESTARTS   AGE
pod/nginx-ingress-ddp5g   1/1     Running   0          26s
pod/nginx-ingress-hgz4z   1/1     Running   0          26s

NAME                           DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/nginx-ingress   2         2         2       2            2           <none>          26s