For AI agents: the complete documentation index is available at /docs/2025/llms.txt, the full documentation bundle is available at /docs/2025/llms-full.txt, and this page is available as Markdown at /docs/2025/cncf/kubernetes/application/nginx-ingress-controller.md.
  • 简体中文
  • 2025
  • Nginx Ingress Controller

    安装

    1. 安装 nginx ingress

      # 安装 ingress-nginx
      kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.0/deploy/static/provider/cloud/deploy.yaml
      
      # 检验安装结果
      kubectl get pods -n ingress-nginx
      kubectl get services -n ingress-nginx