Commit e213b828 authored by Carlos Tadeu Panato Junior's avatar Carlos Tadeu Panato Junior Committed by k8s-ci-robot

update kapacitor to the latest release and some fixed to match best practices (#7626)

Signed-off-by: 's avatarcpanato <ctadeu@gmail.com>
parent 1fa0e7d8
name: kapacitor
version: 0.5.1
appVersion: 1.4
version: 1.0.0
appVersion: 1.6.2
description: InfluxDB's native data processing engine. It can process both stream
and batch data from InfluxDB.
keywords:
......@@ -12,6 +12,6 @@ home: https://www.influxdata.com/time-series-platform/kapacitor/
sources:
- https://github.com/influxdata/kapacitor
maintainers:
- name: Jack Zampolin
- name: jackzampolin
email: jack@influxdb.com
engine: gotpl
......@@ -48,13 +48,14 @@ The following table lists the configurable parameters of the Kapacitor chart and
| Parameter | Description | Default |
| ----------------------- | ---------------------------------- | ---------------------------------------------------------- |
| `image.repository` | Kapacitor image | `kapacitor` |
| `image.tag` | Kapacitor image version | `1.2` |
| `image.tag` | Kapacitor image version | `1.6.2-alpine` |
| `image.pullPolicy` | Kapacitor image pull policy | `IfNotPresent` |
| `service.type` | Kapacitor web service type | `ClusterIP` |
| `persistence.enabled` | Enable Kapacitor persistence using Persistent Volume Claims | `false` |
| `persistence.storageClass` | Kapacitor Persistent Volume Storage Class | `default` |
| `persistence.accessMode` | Kapacitor Persistent Volume Access Mode | `ReadWriteOnce` |
| `persistence.size` | Kapacitor Persistent Volume Storage Size | `8Gi` |
| `persistence.existingClaim` | Kapacitor existing PVC name | `nil` |
| `resources.request.memory` | Kapacitor memory request | `256Mi` |
| `resources.request.cpu` | Kapacitor cpu request | `0.1` |
| `resources.limits.memory` | Kapacitor memory limit | `2Gi` |
......
......@@ -40,7 +40,7 @@ spec:
- name: data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ template "kapacitor.fullname" . }}
claimName: {{ .Values.persistence.existingClaim | default (include "kapacitor.fullname" .) }}
{{- else }}
emptyDir: {}
{{- end }}
......
{{- if .Values.persistence.enabled }}
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
{{- if .Values.influxURL }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
......@@ -22,3 +23,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
......@@ -3,7 +3,7 @@
##
image:
repository: "kapacitor"
tag: "1.4-alpine"
tag: "1.6.2-alpine"
pullPolicy: "IfNotPresent"
## Specify a service type, defaults to NodePort
......@@ -16,7 +16,7 @@ service:
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence:
enabled: false
enabled: true
## kapacitor data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
......@@ -27,6 +27,7 @@ persistence:
# storageClass: "-"
accessMode: ReadWriteOnce
size: 8Gi
# existingClaim: ""
## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment