fix: replace non-existent TsProxy CRD with ProxyGroup

TsProxy is not a CRD shipped by the Tailscale operator (v1.96.x).
The operator provides: ProxyClass, ProxyGroup, ProxyGroupPolicy,
DNSConfig, Tailnet, Connector, and Recorder.

Replace TsProxy with ProxyGroup (type: ingress) and annotate
rtx6000-brain-service with tailscale.com/proxy-group to expose
the vLLM endpoint via MagicDNS at rtx6000-brain-0.<tailnet>.ts.net:8000.
This commit is contained in:
sirius0xdev 2026-05-04 04:47:34 +00:00
parent 69db1cf1f2
commit ed39dcf598
5 changed files with 12 additions and 19 deletions

View file

@ -1,9 +0,0 @@
apiVersion: tailscale.com/v1
kind: TsProxy
metadata:
name: rtx6000-brain
namespace: customer1
spec:
serviceName: rtx6000-brain-service
servicePort: 8000
hostname: rtx6000-brain

View file

@ -130,6 +130,8 @@ kind: Service
metadata:
name: rtx6000-brain-service
namespace: customer1
annotations:
tailscale.com/proxy-group: rtx6000-brain
spec:
selector:
app: rtx6000-brain

View file

@ -1,4 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- tsproxy-rtx6000.yaml
- proxygroup-rtx6000.yaml

View file

@ -0,0 +1,9 @@
apiVersion: tailscale.com/v1alpha1
kind: ProxyGroup
metadata:
name: rtx6000-brain
spec:
type: ingress
hostnamePrefix: rtx6000-brain
tags:
- tag:k8s

View file

@ -1,9 +0,0 @@
apiVersion: tailscale.com/v1
kind: TsProxy
metadata:
name: rtx6000-brain
namespace: customer1
spec:
serviceName: rtx6000-brain-service
servicePort: 8000
hostname: rtx6000-brain