Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trevorbox/07e366feb31d8c37c42fa58cd9a4c406 to your computer and use it in GitHub Desktop.
Save trevorbox/07e366feb31d8c37c42fa58cd9a4c406 to your computer and use it in GitHub Desktop.
SMCP that uses production-elasticsearch template for Jaeger traces.
---
apiVersion: maistra.io/v1
kind: ServiceMeshControlPlane
metadata:
name: production-install
spec:
version: v1.1
istio:
gateways:
istio-egressgateway:
enabled: false
istio-ingressgateway:
enabled: false
custom-ingressgateway:
enabled: true
autoscaleEnabled: false
ior_enabled: false
resources:
requests:
cpu: 100m
memory: 128Mi
sds:
enabled: false
labels:
app: custom-ingressgateway
istio: ingressgateway
type: ClusterIP
ports:
- name: status-port
protocol: TCP
port: 15020
targetPort: 15020
- name: http2
protocol: TCP
port: 80
targetPort: 8080
- name: https
protocol: TCP
port: 443
targetPort: 8443
- name: tls
protocol: TCP
port: 15443
targetPort: 15443
global:
controlPlaneSecurityEnabled: true
disablePolicyChecks: false
mtls:
enabled: true
proxy:
resources:
requests:
cpu: 100m
memory: 128Mi
grafana:
enabled: true
resources:
requests:
cpu: 10m
memory: 128Mi
kiali:
enabled: true
resources:
requests:
cpu: 100m
memory: 128Mi
mixer:
policy:
autoscaleEnabled: false
resources:
requests:
cpu: 10m
memory: 128Mi
telemetry:
autoscaleEnabled: false
resources:
requests:
cpu: 100m
memory: 1G
pilot:
autoscaleEnabled: false
traceSampling: 100
resources:
requests:
cpu: 10m
memory: 128Mi
tracing:
enabled: true
jaeger:
template: production-elasticsearch
elasticsearch:
nodeCount: 3
redundancyPolicy: "SingleRedundancy"
resources:
requests:
cpu: "1"
memory: "4Gi"
limits:
cpu: "1"
memory: "4Gi"
storage:
storageClassName: gp2
size: 50Gi
esIndexCleaner:
enabled: true # turn the cron job deployment on and off
numberOfDays: 60 # number of days to wait before deleting a record
schedule: "55 23 * * *" # cron expression for it to run
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment