43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
# Two hosts, both behind basic auth:
|
|||
|
|
# otlp.vione.cloud -> OTLP/HTTP ingest (:4318). Apps use
|
||
|
|
# OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.vione.cloud,
|
||
|
|
# OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf and an
|
||
|
|
# Authorization header. OTLP/gRPC (:4317) is
|
||
|
|
# cluster-internal only.
|
||
|
|
# alloy.vione.cloud -> Alloy UI (:12345), the component graph.
|
||
|
|
apiVersion: networking.k8s.io/v1
|
||
|
|
kind: Ingress
|
||
|
|
metadata:
|
||
|
|
name: alloy
|
||
|
|
annotations:
|
||
|
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||
|
|
traefik.ingress.kubernetes.io/router.middlewares: ledgerline-observability-basic-auth@kubernetescrd
|
||
|
|
spec:
|
||
|
|
ingressClassName: traefik
|
||
|
|
tls:
|
||
|
|
- hosts:
|
||
|
|
- otlp.vione.cloud
|
||
|
|
- alloy.vione.cloud
|
||
|
|
secretName: alloy-tls
|
||
|
|
rules:
|
||
|
|
- host: otlp.vione.cloud
|
||
|
|
http:
|
||
|
|
paths:
|
||
|
|
- path: /
|
||
|
|
pathType: Prefix
|
||
|
|
backend:
|
||
|
|
service:
|
||
|
|
name: alloy
|
||
|
|
port:
|
||
|
|
number: 4318
|
||
|
|
- host: alloy.vione.cloud
|
||
|
|
http:
|
||
|
|
paths:
|
||
|
|
- path: /
|
||
|
|
pathType: Prefix
|
||
|
|
backend:
|
||
|
|
service:
|
||
|
|
name: alloy
|
||
|
|
port:
|
||
|
|
number: 12345
|