[stable/node-red] node-red chart enhancements (#12052)

* switching node-red chart to SatefulSet

* based on the persistent nature of this chart as well as [this discussion](https://github.com/helm/charts/issues/1863), migrating the chart to a StatefulSet instead of a deployment. As a result bumping the major version
* bumping node-red docker image to the latest stable version
* using volumeClaimTemplates for statefulSet

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* using Parallel podManagementPolicy

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* revert to Deployment and leverage strategy types

Signed-off-by: Jeff Billimek <jeff@billimek.com>

* hard-code replica count

Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
Jeff Billimek
2019-03-29 02:00:18 -07:00
committed by Kubernetes Prow Robot
parent aacfb12a34
commit f5a751f174
4 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: 0.19.4
appVersion: 0.19.6
description: Node-RED is flow-based programming for the Internet of Things
name: node-red
version: 1.1.0
version: 1.2.0
keywords:
- nodered
- node-red
+1
View File
@@ -41,6 +41,7 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `image.repository` | node-red image | `nodered/node-red-docker` |
| `image.tag` | node-red image tag | `0.19.4-v8` |
| `image.pullPolicy` | node-red image pull policy | `IfNotPresent` |
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
| `flows` | Default flows configuration | `flows.json` |
| `nodeOptions` | Node.js runtime arguments | `` |
| `timezone` | Default timezone | `UTC` |
+3 -1
View File
@@ -8,7 +8,9 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: 1
strategy:
type: {{ .Values.strategyType }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "node-red.name" . }}
+3 -2
View File
@@ -2,11 +2,12 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
# upgrade strategy type (e.g. Recreate or RollingUpdate)
strategyType: Recreate
image:
repository: nodered/node-red-docker
tag: 0.19.4-v8
tag: 0.19.6-v8
pullPolicy: IfNotPresent
nameOverride: ""