Skip to content

Instantly share code, notes, and snippets.

@toonsevrin
Created June 14, 2020 21:50
Show Gist options
  • Save toonsevrin/22b110d3c1d2eaa365c1bb6def44ade7 to your computer and use it in GitHub Desktop.
Save toonsevrin/22b110d3c1d2eaa365c1bb6def44ade7 to your computer and use it in GitHub Desktop.
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
namespace: istio-system
name: istiocontrolplane
annotations:
argocd.argoproj.io/sync-wave: "-2"
spec:
profile: minimal
components:
pilot:
k8s:
resources:
requests:
cpu: 100m
memory: 80Mi
ingressGateways:
- namespace: istio-system
enabled: true
k8s:
resources:
requests:
cpu: 10m
memory: 40Mi
overlays:
- apiVersion: apps/v1
kind: Deployment
name: istio-ingressgateway
patches:
- path: kind
value: DaemonSet
- path: spec.strategy
value: {}
- path: spec.template.spec.containers.[name:istio-proxy].ports.[containerPort:8080].hostPort
value: 80
- path: spec.template.spec.containers[name:istio-proxy].ports.[containerPort:8443].hostPort
value: 443
- apiVersion: v1
kind: Service
name: istio-ingressgateway
patches:
- path: spec.type
value: ClusterIP
proxy:
enabled: true
k8s:
resources:
requests:
cpu: 10m
memory: 30Mi
values:
global:
proxy:
accessLogFile: /dev/stdout
resources:
requests:
cpu: 10m
memory: 40Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment