Skip to content

Instantly share code, notes, and snippets.

@pavolloffay
Created December 12, 2019 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavolloffay/2a14de5441e4ca8956e8f6f10a3ab51e to your computer and use it in GitHub Desktop.
Save pavolloffay/2a14de5441e4ca8956e8f6f10a3ab51e to your computer and use it in GitHub Desktop.
cat <<EOF | kubectl apply -f -
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: simple-prod
spec:
strategy: production
storage:
type: elasticsearch
options:
es:
server-urls: https://elasticsearch.default.svc:9200
tls:
ca: /es/certificates/root-ca.pem
secretName: jaeger-secret
volumeMounts:
- name: certificates
mountPath: /es/certificates/
readOnly: true
volumes:
- name: certificates
secret:
secretName: quickstart-es-http-certs-public
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment