more istio cleanup

This commit is contained in:
Stefan Reimer 2020-09-11 12:23:08 +01:00
parent 2f7693388e
commit 72a2a40e81
2 changed files with 4 additions and 41 deletions

View File

@ -30,15 +30,15 @@ spec:
name: istio-private-ingressgateway name: istio-private-ingressgateway
{{- end }} {{- end }}
env: 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 #- name: TERMINATION_DRAIN_DURATION_SECONDS
# value: "60" # value: "60"
- name: ISTIO_META_HTTP10 - name: ISTIO_META_HTTP10
value: '"1"' value: '"1"'
- name: ISTIO_META_ROUTER_MODE - name: ISTIO_META_ROUTER_MODE
value: standard value: standard
- name: ISTIO_META_IDLE_TIMEOUT #- name: ISTIO_META_IDLE_TIMEOUT
value: "3600s" # value: "3600s"
{{- if eq .Values.ingress.type "NodePort" }} {{- if eq .Values.ingress.type "NodePort" }}
nodeSelector: nodeSelector:
node.kubernetes.io/ingress.private: "{{ .Values.ingress.private.nodeSelector }}" node.kubernetes.io/ingress.private: "{{ .Values.ingress.private.nodeSelector }}"
@ -110,24 +110,4 @@ spec:
{{- if eq .Values.ingress.type "NodePort" }} {{- if eq .Values.ingress.type "NodePort" }}
nodePort: 31672 nodePort: 31672
{{- end }} {{- 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 }} {{- end }}

View File

@ -49,7 +49,7 @@ spec:
{{- end }} {{- end }}
resources: resources:
limits: limits:
# cpu: 2000m #cpu: 2000m
memory: 1024Mi memory: 1024Mi
requests: requests:
cpu: 100m cpu: 100m
@ -127,23 +127,6 @@ spec:
{{- if eq .Values.ingress.type "NodePort" }} {{- if eq .Values.ingress.type "NodePort" }}
nodePort: 30443 nodePort: 30443
{{- end }} {{- 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: meshConfig:
accessLogFile: /dev/stdout accessLogFile: /dev/stdout
disablePolicyChecks: false disablePolicyChecks: false