Open ztelliot opened 2 weeks ago
What version of Kubernetes are you using? v1.26.6
What version of TiDB Operator are you using? v1.6.0
What did you do? add spec.tiproxy.service.type = LoadBalancer in TidbCluster
spec.tiproxy.service.type = LoadBalancer
What did you expect to see? service type change to LoadBalancer
What did you see instead?
The request is invalid: patch: Invalid value: "...": strict decoding error: unknown field "spec.tiproxy.service"
part of my TidbCluster file:
spec: .... tiproxy: baseImage: pingcap/tiproxy version: main imagePullPolicy: Always replicas: 3 service: type: LoadBalancer config: {}
it does support changing the service type now, if you need to use LoadBalancer, you can create another service (with type: LoadBalancer) manually. /cc @xhebox
type: LoadBalancer
Bug Report
What version of Kubernetes are you using? v1.26.6
What version of TiDB Operator are you using? v1.6.0
What did you do? add
spec.tiproxy.service.type = LoadBalancer
in TidbClusterWhat did you expect to see? service type change to LoadBalancer
What did you see instead?
part of my TidbCluster file: