From c9a9eb7ec6191d0460f147d04ab1404f990e2814 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 26 May 2022 10:37:06 +0800 Subject: [PATCH] ingress --- deploy_k8s/ingress.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy_k8s/ingress.yaml b/deploy_k8s/ingress.yaml index 0f5eb74ff..d8402ee05 100644 --- a/deploy_k8s/ingress.yaml +++ b/deploy_k8s/ingress.yaml @@ -3,6 +3,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: + kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/proxy-http-version: "1.1" nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" @@ -24,6 +25,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: + kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/proxy-http-version: "1.1" nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" @@ -44,6 +46,8 @@ spec: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: + annotations: + kubernetes.io/ingress.class: "nginx" name: api-ingress spec: rules: @@ -61,6 +65,8 @@ spec: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: + annotations: + kubernetes.io/ingress.class: "nginx" name: demo-ingress spec: rules: @@ -78,6 +84,8 @@ spec: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: + annotations: + kubernetes.io/ingress.class: "nginx" name: cms-api-ingress spec: rules: