Files
tcp-echo-server/k8s/30-traefik-entrypoint.yaml
2026-09-09 23:15:49 +02:00

24 lines
685 B
YAML

# Traefik must have static entrypoints on 9098/9099 before IngressRouteTCP can use them.
# This is the k3s way (Traefik is installed via the bundled Helm chart). Traefik restarts once when applied.
# If Traefik was installed with plain Helm instead, use k8s/traefik-values.yaml with `helm upgrade`.
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
ports:
tcpechoa:
port: 9098
expose:
default: true
exposedPort: 9098
protocol: TCP
tcpechob:
port: 9099
expose:
default: true
exposedPort: 9099
protocol: TCP