StarRocks / starrocks-kubernetes-operator

Kubernetes Operator for StarRocks
Apache License 2.0
137 stars 69 forks source link

How to add pod Metdata to starrocks crd? #593

Open da-xingyu opened 1 day ago

da-xingyu commented 1 day ago

I am using the helm to deploy starrocks cluster. Operator v1.9.8 With internal ifra team support, we need to config pod metadata.labels to collect logs.

But I cant set the value using current Values.yaml. Can anyone should me a way ?

yandongxiao commented 13 hours ago

you can search 'podLabels' in values.yaml. like this: https://github.com/StarRocks/starrocks-kubernetes-operator/blob/062b180d7947cfcbe3f367257c3e0933c3f70d30/helm-charts/charts/kube-starrocks/values.yaml#L247

da-xingyu commented 12 hours ago

you can search 'podLabels' in values.yaml. like this:

https://github.com/StarRocks/starrocks-kubernetes-operator/blob/062b180d7947cfcbe3f367257c3e0933c3f70d30/helm-charts/charts/kube-starrocks/values.yaml#L247

Thank for your reply. Let me ask it another way. Do we have a config such as "spec.template.metdata.labels" in starrocks-operator deployment.yaml. which can be apply values to starrocks fe, be ?