You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "nilaprasad (via GitHub)" <gi...@apache.org> on 2024/05/01 15:20:59 UTC
[I] [HELM] Allow statefulsets to automatically roll when updating configmaps [pinot]
nilaprasad opened a new issue, #13046:
URL: https://github.com/apache/pinot/issues/13046
### Background
Currently, the helm charts don't roll the corresponding pods for a given statefulset when an associated configmap is updated and it needs to be done manually. This can lead to issues where the expected configuration for an environment differs from what's actually there. To allow for quicker iterations on the configuration the helm charts should support automatic rolling of the statefulsets.
### Proposed Solution
Allow for an optional annotation that uses helm's ability to [automatically roll deployments](https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments). For example, this can be set under the controller annotations [here](https://github.com/apache/pinot/blob/master/helm/pinot/templates/controller/statefulset.yaml#L40).
`templates/controller/statefulset.yaml`
```yaml
...
annotations:
{{- if .Values.controller.automaticReload.enabled }}
checksum/config: {{ include (print $.Template.BasePath "<configmap-dir>") . | sha256sum }}
{{ toYaml .Values.controller.podAnnotations | indent 8 }}
```
`values.yaml`
```yaml
...
controller:
...
automaticReload:
enabled: true
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] [HELM] Allow statefulsets to automatically roll when updating configmaps [pinot]
Posted by "nilaprasad (via GitHub)" <gi...@apache.org>.
nilaprasad closed issue #13046: [HELM] Allow statefulsets to automatically roll when updating configmaps
URL: https://github.com/apache/pinot/issues/13046
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] [HELM] Allow statefulsets to automatically roll when updating configmaps [pinot]
Posted by "abhioncbr (via GitHub)" <gi...@apache.org>.
abhioncbr commented on issue #13046:
URL: https://github.com/apache/pinot/issues/13046#issuecomment-2088802430
Looking into it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] [HELM] Allow statefulsets to automatically roll when updating configmaps [pinot]
Posted by "abhioncbr (via GitHub)" <gi...@apache.org>.
abhioncbr commented on issue #13046:
URL: https://github.com/apache/pinot/issues/13046#issuecomment-2113743276
We can close this issue. Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org