gcloud-lab/apps/base/customer1/trading-platform/dashboard/service.yaml
Sirius Devops 569a3d5de9 fix(dashboard): change tailscale hostname to "trade" for reliable resolution
Short hostname "trade" (matches /trade HTTPRoute) instead of "trading-dashboard".

This fixes the "Could not resolve host: trading-dashboard" error on tailnet devices while keeping the same annotation style as Grafana.
2026-05-25 06:32:24 +00:00

18 lines
385 B
YAML

apiVersion: v1
kind: Service
metadata:
name: trading-dashboard-svc
namespace: customer1
annotations:
tailscale.com/expose: "true"
tailscale.com/hostname: "trade"
tailscale.com/tags: "tag:k8s-operator"
tailscale.com/ports: "http:3000"
spec:
selector:
app: trading-dashboard
ports:
- port: 3000
targetPort: 3000
name: http
type: ClusterIP