Nginx-ingress安装

Posted 凌枫恋

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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>

 

以上是关于Nginx-ingress安装的主要内容,如果未能解决你的问题,请参考以下文章

如何通过helm为安装的nginx-ingress添加静态IP

Helm 安装 nginx-ingress 的方法

安装nginx-ingress控制器,使用

kuberneets 1.17 安装 dashboard nginx-ingress

k8s nginx-ingress部署

helm 3.0 最简单使用测试安装nginx-ingress