50 lines
982 B
YAML
50 lines
982 B
YAML
mode: deployment
|
|
|
|
image:
|
|
repository: "otel/opentelemetry-collector-k8s"
|
|
|
|
command:
|
|
name: "otelcol-k8s"
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 200M
|
|
|
|
ingress:
|
|
enabled: true
|
|
|
|
ingressClassName: nginx
|
|
annotations:
|
|
test.io/collector: default
|
|
hosts:
|
|
- host: defaultcollector.example.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
port: 4318
|
|
|
|
additionalIngresses:
|
|
- name: additional-basic
|
|
hosts:
|
|
- host: additional-basic.example.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
port: 4318
|
|
|
|
- name: additional-advanced
|
|
ingressClassName: nginx
|
|
annotations:
|
|
test.io/ingress: additional-advanced
|
|
hosts:
|
|
- host: additional-advanced.example.com
|
|
paths:
|
|
- path: /
|
|
pathType: Exact
|
|
port: 4318
|
|
tls:
|
|
- secretName: somesecret
|
|
hosts:
|
|
- additional-advanced.example.com
|