You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/25 14:29:19 UTC
[GitHub] [pulsar-helm-chart] Imunhatep opened a new issue #67: Updating existing pulsar helm setup results to an error
Imunhatep opened a new issue #67:
URL: https://github.com/apache/pulsar-helm-chart/issues/67
**Describe the bug**
Updating existing pulsar helm setup (e.g. changing replicas count) results to an error
**To Reproduce**
```
helm upgrade --install pulsar -n pulsar -f values.yaml apache/pulsar
Error: UPGRADE FAILED: cannot patch "pulsar-bookie-init" with kind Job: Job.batch "pulsar-bookie-init" is invalid: spec.template:
... : field is immutable
```
**Expected behavior**
Pulsar setup is updated
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: Linux
**Additional context**
Probably Jobs should be handled with helm hooks i.e.:
```yaml
apiVersion: batch/v1
kind: Job
metadata:
name: example-job
labels:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook-delete-policy: hook-succeeded
spec: ...
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-helm-chart] Imunhatep commented on issue #67: Updating existing pulsar helm setup results to an error
Posted by GitBox <gi...@apache.org>.
Imunhatep commented on issue #67:
URL: https://github.com/apache/pulsar-helm-chart/issues/67#issuecomment-698968247
Same story with pulsar-init job..
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org