Hi, i'm setting up Starrocks cluster in OpenShift ...
# questions-and-troubleshooting
t
Hi, i'm setting up Starrocks cluster in OpenShift but got this error in kube-starrocks-operator pod:
Copy code
2025-10-16T14:33:03.678+0800	ERROR	Failed to get API Group-Resources	{"error": "Get \"<https://172.30.0.1:443/api?timeout=32s>\": dial tcp 172.30.0.1:443: i/o timeout"}
<http://sigs.k8s.io/controller-runtime/pkg/cluster.New|sigs.k8s.io/controller-runtime/pkg/cluster.New>
	/go/src/app/vendor/sigs.k8s.io/controller-runtime/pkg/cluster/cluster.go:161
<http://sigs.k8s.io/controller-runtime/pkg/manager.New|sigs.k8s.io/controller-runtime/pkg/manager.New>
	/go/src/app/vendor/sigs.k8s.io/controller-runtime/pkg/manager/manager.go:351
main.main
	/go/src/app/cmd/main.go:63
runtime.main
	/usr/local/go/src/runtime/proc.go:271
2025-10-16T14:33:03.678+0800	ERROR	main	unable to start manager	{"error": "Get \"<https://172.30.0.1:443/api?timeout=32s>\": dial tcp 172.30.0.1:443: i/o timeout"}
main.main
	/go/src/app/cmd/main.go:74
runtime.main
	/usr/local/go/src/runtime/proc.go:271
However this is not my kubeapi server host:port, how can i change this in values.yaml
Hi @Kevin Cai, can u help me with this issue
already added this
Copy code
starrocksOperator:
  env:
    - name: KUBERNETES_SERVICE_HOST
      value: "x.x.x.x"
    - name: KUBERNETES_SERVICE_PORT
      value: "xxx"
k
it is known the sr operator doesn't work well on openshift platform. usually, the two kubernetes_service_* env vars shall be injected into the pod automatically by the kubernetes, no need to set it manually.
👀 1
❤️ 1
t
thank u