浏览代码

Update ingress-nginx release name

Kyle Zhang 5 月之前
父节点
当前提交
f28c2d1069

+ 2 - 2
expose/expose-via-external-lb.md

@@ -149,7 +149,7 @@ tail -f /var/log/haproxy.log
    ```sh
    helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
    kubectl create namespace ingress-nginx
-   helm install nginx-ingress ingress-nginx/ingress-nginx --set controller.service.type=NodePort --set controller.service.nodePorts.http=30080 --set controller.service.nodePorts.https=30443 --set ingressClassResource.default=true --namespace ingress-nginx
+   helm install ingress-nginx ingress-nginx/ingress-nginx --set controller.service.type=NodePort --set controller.service.nodePorts.http=30080 --set controller.service.nodePorts.https=30443 --set ingressClassResource.default=true --namespace ingress-nginx
    ```
 
 2. **配置防火墙**:
@@ -189,7 +189,7 @@ tail -f /var/log/haproxy.log
    重新启动 Nginx Ingress Controller 以使配置更改生效:
 
    ```sh
-   kubectl rollout restart deployment nginx-ingress-controller -n ingress-nginx
+   kubectl rollout restart deployment ingress-nginx-controller -n ingress-nginx
    ```
 
 # 总结

+ 1 - 1
expose/expose-via-hostnetwork.md

@@ -11,7 +11,7 @@
    ```sh
    helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
    kubectl create namespace ingress-nginx
-   helm install nginx-ingress ingress-nginx/ingress-nginx --set controller.kind=DaemonSet --set controller.hostNetwork=true --set ingressClassResource.default=true --namespace ingress-nginx
+   helm install ingress-nginx ingress-nginx/ingress-nginx --set controller.kind=DaemonSet --set controller.hostNetwork=true --set ingressClassResource.default=true --namespace ingress-nginx
    ```
 
 ### 2. **端口冲突**:

+ 2 - 2
expose/expose-via-kubelet-nodeport.md

@@ -40,7 +40,7 @@
    ```sh
 helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
 kubectl create namespace ingress-nginx
-helm install nginx-ingress ingress-nginx/ingress-nginx --set controller.kind=DaemonSet --set controller.service.type=NodePort --set controller.service.nodePorts.http=80 --set controller.service.nodePorts.https=443 --set controller.service.externalTrafficPolicy=Local --set ingressClassResource.default=true --namespace ingress-nginx
+helm install ingress-nginx ingress-nginx/ingress-nginx --set controller.kind=DaemonSet --set controller.service.type=NodePort --set controller.service.nodePorts.http=80 --set controller.service.nodePorts.https=443 --set controller.service.externalTrafficPolicy=Local --set ingressClassResource.default=true --namespace ingress-nginx
    ```
 
 ### 4. 配置 Ingress Controller 以支持 Proxy Protocol
@@ -78,7 +78,7 @@ kubectl apply -f nginx-configmap.yaml
 重新启动 Nginx Ingress Controller 以使配置更改生效:
 
 ```sh
-kubectl rollout restart deployment nginx-ingress-controller -n ingress-nginx
+kubectl rollout restart deployment ingress-nginx-controller -n ingress-nginx
 ```
 
 ### 5. **DNS 配置**:

+ 1 - 1
expose/expose-via-metallb.md

@@ -119,7 +119,7 @@ MetalLB 提供两种主要的地址发布模式:
 ```sh
 helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
 kubectl create namespace ingress-nginx
-helm install nginx-ingress ingress-nginx/ingress-nginx --set controller.service.type=LoadBalancer --set controller.service.externalTrafficPolicy=Local --set ingressClassResource.default=true --namespace ingress-nginx
+helm install ingress-nginx ingress-nginx/ingress-nginx --set controller.service.type=LoadBalancer --set controller.service.externalTrafficPolicy=Local --set ingressClassResource.default=true --namespace ingress-nginx
 ```
 
 1. **验证服务暴露**: