Hi team 👋🏼 can anyone here advise whether we can configure component tags using the Pinot helm charts? Currently we create the brokers and servers in our cluster using helm then add the tags to them using the controller endpoint but ideally we'd like it all done through helm. Is this possible? Thanks in advance
➕ 1
m
Mayank
06/27/2022, 1:58 PM
Not via helm chart, but you can always configure tenant tags via swagger api. cc: @Xiang Fu
s
Sevvy Yusuf
06/27/2022, 2:00 PM
Thanks for confirming @Mayank!
x
Xiang Fu
06/27/2022, 6:25 PM
Helm setups machine/deployment level so you need to configure tags by yourself.
👍 1
s
Sevvy Yusuf
06/28/2022, 3:59 PM
Hi @Xiang Fu just want to eliminate one last thing - is it possible to pass the tag info in through the configmap for each component in the helm templates?
x
Xiang Fu
06/28/2022, 6:06 PM
You mean tenant tag? That is hard. You need to customize some scripts to auto created tags. Also that requires you to implement it in a way of idempotency
s
Sevvy Yusuf
06/28/2022, 7:00 PM
Yeah the tenant tag. Where are the scripts I would need to use? Can this be done for the pooling config to?
m
Mayank
06/28/2022, 10:39 PM
IMHO, it is better to keep the pods separate from tenant-tags. Because you may want to dynamically change tags. Tying them with config-map eliminates that option.
x
Xiang Fu
06/29/2022, 2:08 AM
You can create a k8s job which just does a curl call after the Pinot is started