diff --git a/charts/graphite/Chart.yaml b/charts/graphite/Chart.yaml index efbd7044..5b9bfd90 100644 --- a/charts/graphite/Chart.yaml +++ b/charts/graphite/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -version: 1.1.0 +version: 1.2g.0 appVersion: "1.1.10-3" description: Graphite metrics server name: graphite diff --git a/charts/graphite/README.md b/charts/graphite/README.md index d79ea674..2b62fd63 100644 --- a/charts/graphite/README.md +++ b/charts/graphite/README.md @@ -37,9 +37,10 @@ The following table lists the configurable parameters of the Graphite chart and | Parameter | Description | Default | |--------------------------------|----------------------------------------------|----------------------------------------| | `image.repository` | Docker image repo | `graphiteapp/graphite-statsd` | -| `image.tag` | Docker image | `1.1.5-4` | +| `image.tag` | Docker image | `1.1.5-4` | | `image.pullPolicy` | Docker image pull policy | `IfNotPresent` | | `service.type` | Service type | `ClusterIP` | +| `service.loadBalancerIP` | Service loadBalancerIP | `nil` | | `service.port` | Service port of Graphite UI | `8080` | | `service.annotations` | Service annotations | `{}` | | `service.labels` | Service labels | `{}` | diff --git a/charts/graphite/templates/service.yaml b/charts/graphite/templates/service.yaml index abbdd519..7dae4be2 100644 --- a/charts/graphite/templates/service.yaml +++ b/charts/graphite/templates/service.yaml @@ -16,6 +16,9 @@ metadata: {{- end }} spec: type: {{ .Values.service.type }} +{{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} +{{- end }} ports: - name: graphite-pickle port: 2004 diff --git a/charts/graphite/values.yaml b/charts/graphite/values.yaml index 667e71d1..a8b87e19 100644 --- a/charts/graphite/values.yaml +++ b/charts/graphite/values.yaml @@ -7,6 +7,8 @@ image: service: type: ClusterIP + # In case of service type LoadBalancer, you can specify reserved static IP + # loadBalancerIP: 10.11.12.13 port: 8080 annotations: {} labels: {}