From 72a2a40e81200f72401ff45b1a2b22ac59ac4885 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 11 Sep 2020 12:23:08 +0100 Subject: [PATCH] more istio cleanup --- .../templates/istio-private-ingress.yaml | 26 +++---------------- charts/kubezero-istio/templates/istio.yaml | 19 +------------- 2 files changed, 4 insertions(+), 41 deletions(-) diff --git a/charts/kubezero-istio/templates/istio-private-ingress.yaml b/charts/kubezero-istio/templates/istio-private-ingress.yaml index bcb998c..6c8aa12 100644 --- a/charts/kubezero-istio/templates/istio-private-ingress.yaml +++ b/charts/kubezero-istio/templates/istio-private-ingress.yaml @@ -30,15 +30,15 @@ spec: name: istio-private-ingressgateway {{- end }} env: - # https://github.com/istio/istio/issues/26524 + # https://github.com/istio/istio/issues/26524, not in 1.7 either #- name: TERMINATION_DRAIN_DURATION_SECONDS # value: "60" - name: ISTIO_META_HTTP10 value: '"1"' - name: ISTIO_META_ROUTER_MODE value: standard - - name: ISTIO_META_IDLE_TIMEOUT - value: "3600s" + #- name: ISTIO_META_IDLE_TIMEOUT + # value: "3600s" {{- if eq .Values.ingress.type "NodePort" }} nodeSelector: node.kubernetes.io/ingress.private: "{{ .Values.ingress.private.nodeSelector }}" @@ -110,24 +110,4 @@ spec: {{- if eq .Values.ingress.type "NodePort" }} nodePort: 31672 {{- end }} - sds: - enabled: true - image: node-agent-k8s - resources: - limits: - cpu: 2000m - memory: 1024Mi - requests: - cpu: 100m - memory: 128Mi - secretVolumes: - - mountPath: /etc/istio/ingressgateway-certs - name: ingressgateway-certs - secretName: istio-ingressgateway-certs - - mountPath: /etc/istio/ingressgateway-ca-certs - name: ingressgateway-ca-certs - secretName: istio-ingressgateway-ca-certs - - global: - jwtPolicy: first-party-jwt {{- end }} diff --git a/charts/kubezero-istio/templates/istio.yaml b/charts/kubezero-istio/templates/istio.yaml index 92ab6e7..1a1973f 100644 --- a/charts/kubezero-istio/templates/istio.yaml +++ b/charts/kubezero-istio/templates/istio.yaml @@ -49,7 +49,7 @@ spec: {{- end }} resources: limits: - # cpu: 2000m + #cpu: 2000m memory: 1024Mi requests: cpu: 100m @@ -127,23 +127,6 @@ spec: {{- if eq .Values.ingress.type "NodePort" }} nodePort: 30443 {{- end }} - sds: - enabled: true - image: node-agent-k8s - resources: - limits: - cpu: 2000m - memory: 1024Mi - requests: - cpu: 100m - memory: 128Mi - secretVolumes: - - mountPath: /etc/istio/ingressgateway-certs - name: ingressgateway-certs - secretName: istio-ingressgateway-certs - - mountPath: /etc/istio/ingressgateway-ca-certs - name: ingressgateway-ca-certs - secretName: istio-ingressgateway-ca-certs meshConfig: accessLogFile: /dev/stdout disablePolicyChecks: false