Commit 65fdb663 authored by Alex Williams's avatar Alex Williams Committed by David McKay

Use .Values.image.tag only. Change to alpine image.

parent e151b8ae
...@@ -2,9 +2,13 @@ ...@@ -2,9 +2,13 @@
**Warning**: This InfluxDB Helm chart and the software it deploys are in a beta phase. **Warning**: This InfluxDB Helm chart and the software it deploys are in a beta phase.
[InfluxDB](https://github.com/influxdata/influxdb) is an open source time series database with no external dependencies. It's useful for recording metrics, events, and performing analytics. [InfluxDB](https://github.com/influxdata/influxdb) is an open source time series
database with no external dependencies. It's useful for recording metrics,
events, and performing analytics.
The InfluxDB v2 Helm chart uses the [Helm](https://helm.sh) package manager to bootstrap an InfluxDB v2 StatefulSet and service on a [Kubernetes](http://kubernetes.io) cluster. The InfluxDB v2 Helm chart uses the [Helm](https://helm.sh) package manager to
bootstrap an InfluxDB v2 StatefulSet and service on a
[Kubernetes](http://kubernetes.io) cluster.
## Prerequisites ## Prerequisites
...@@ -46,7 +50,12 @@ This command removes all Kubernetes components associated with the chart and del ...@@ -46,7 +50,12 @@ This command removes all Kubernetes components associated with the chart and del
The [InfluxDB](https://quay.io/influxdb/influxdb:2.0.0-beta) image stores data in the `/root/.influxdbv2` directory in the container. The [InfluxDB](https://quay.io/influxdb/influxdb:2.0.0-beta) image stores data in the `/root/.influxdbv2` directory in the container.
If persistence is enabled, a [Persistent Volume](http://kubernetes.io/docs/user-guide/persistent-volumes/) associated with StatefulSet is provisioned. The volume is created using dynamic volume provisioning. In case of a disruption (for example, a node drain), Kubernetes ensures that the same volume is reattached to the Pod, preventing any data loss. However, when persistence is **not enabled**, InfluxDB data is stored in an empty directory, so if a Pod restarts, data is lost. If persistence is enabled, a [Persistent Volume](http://kubernetes.io/docs/user-guide/persistent-volumes/)
associated with StatefulSet is provisioned. The volume is created using dynamic
volume provisioning. In case of a disruption (for example, a node drain),
Kubernetes ensures that the same volume is reattached to the Pod, preventing any
data loss. However, when persistence is **not enabled**, InfluxDB data is stored
in an empty directory, so if a Pod restarts, data is lost.
Check out our [Slack channel](https://www.influxdata.com/slack) for support and information. Check out our [Slack channel](https://www.influxdata.com/slack) for support and information.
......
...@@ -32,7 +32,7 @@ spec: ...@@ -32,7 +32,7 @@ spec:
{{- end }} {{- end }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
- name: {{ .Values.service.portName }} - name: {{ .Values.service.portName }}
......
image: image:
repository: influxdb repository: influxdb
# tag: tag: 2.0.4-alpine
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
podAnnotations: {} podAnnotations: {}
......
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