Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/nifinodegroupenabling #439

Merged
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

### Fixed Bugs


- [PR #439](https://github.com/konpyutaika/nifikop/pull/439) - **[Helm Chart]** Handling the replicas attribute in the nifinodegroupautoscaler template in nifi-cluster helm chart.
- [PR #451](https://github.com/konpyutaika/nifikop/pull/451) - **[Operator]** Fixed `nil pointer dereference` that occurred when logging failures without an underlying error.

### Deprecated
Expand Down
3 changes: 3 additions & 0 deletions helm/nifi-cluster/templates/nifi-node-group-autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ spec:
{{ end }}
upscaleStrategy: {{ .upscaleStrategy }}
downscaleStrategy: {{ .downscaleStrategy }}
{{ if .replicas }}
replicas: {{ .replicas }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
1 change: 1 addition & 0 deletions helm/nifi-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ nodeGroupAutoscalers:
default-scale-group: "true"
upscaleStrategy: simple
downscaleStrategy: lifo
replicas: ~
# this is the horizontal pod autoscaler spec: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
# you may include both metrics and behavior here.
horizontalAutoscaler:
Expand Down