【GCP】在GKE安装Nginx Ingress Controller
- 确保Helm必须是v3以上的版本
- 操作以下的指令
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm install nginx-ingress ingress-nginx/ingress-nginx
3. 安装完毕,操作以下指令就能查看到外部IP了
kubectl get service nginx-ingress-ingress-nginx-controller
参考文章: https://cloud.google.com/community/tutorials/nginx-ingress-gke
Facebook评论