Nginx-ingress安装

[root@k8s-master ~]# helm search nginx-ingress
NAME                    CHART VERSION    APP VERSION    DESCRIPTION                                                 
stable/nginx-ingress    0.9.5            0.10.2         An nginx Ingress controller that uses ConfigMap to store ...
stable/nginx-lego       0.3.1                           Chart for nginx-ingress-controller and kube-lego            
[root@k8s-master ~]# helm install --name nginx-ingress --namespace ingress-nginx --set "controller.hostNetwork=true,controller.kind=DaemonSet,rbac.create=true" stable/nginx-ingress
[root@k8s-master wangzg]# kubectl get pods -n ingress-nginx -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
nginx-ingress-controller-52mtg 1/1 Running 0 31h 10.177.100.1 k8s-1 <none> <none>
nginx-ingress-controller-ccrmd 1/1 Running 0 31h 10.177.100.2 k8s-2 <none> <none>
nginx-ingress-controller-ntx7b 1/1 Running 0 31h 10.177.100.3 k8s-3 <none> <none>
nginx-ingress-default-backend-878d64884-jw5q6 1/1 Running 0 31h 10.100.13.66 k8s-3 <none> <none>

 

posted @ 2019-10-25 17:47  凌枫恋  阅读(1501)  评论(0编辑  收藏  举报