[stable/consul] Add support for priorityClasses (#6583)

This commit is contained in:
Ryan Luckie
2018-07-15 10:53:56 -07:00
committed by k8s-ci-robot
parent 6d68601702
commit cd8f5ce5f4
4 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: consul
home: https://github.com/hashicorp/consul
version: 3.2.0
version: 3.3.0
appVersion: 1.0.0
description: Highly available and distributed service discovery and key-value store
designed with support for the modern data center to make distributed systems and
+6 -5
View File
@@ -42,6 +42,7 @@ The following table lists the configurable parameters of the consul chart and th
| `StorageClass` | Persistent volume storage class | `nil` |
| `HttpPort` | Consul http listening port | `8500` |
| `Resources` | Container resource requests and limits| `{}` |
| `priorityClassName` | priorityClassName | `nil` |
| `RpcPort` | Consul rpc listening port | `8400` |
| `SerflanPort` | Container serf lan listening port | `8301` |
| `SerflanUdpPort` | Container serf lan UDP listening port | `8301` |
@@ -49,14 +50,14 @@ The following table lists the configurable parameters of the consul chart and th
| `SerfwanUdpPort` | Container serf wan UDP listening port | `8302` |
| `ServerPort` | Container server listening port | `8300` |
| `ConsulDnsPort` | Container dns listening port | `8600` |
| `affinity` | Consul affinity settings | `see values.yaml` |
| `affinity` | Consul affinity settings | `see values.yaml` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `maxUnavailable` | Pod disruption Budget maxUnavailable | `1` |
| `ui.enabled` | Enable Consul Web UI | `true` |
| `uiService.enabled` | Create dedicated Consul Web UI svc | `true` |
| `ui.enabled` | Enable Consul Web UI | `true` |
| `uiService.enabled` | Create dedicated Consul Web UI svc | `true` |
| `uiService.type` | Dedicate Consul Web UI svc type | `NodePort` |
| `test.image` | Test container image requires kubectl + bash (used for helm test) | `lachlanevenson/k8s-kubectl` |
| `test.imageTag` | Test container image tag (used for helm test) | `v1.4.8-bash` |
| `test.image` | Test container image requires kubectl + bash (used for helm test) | `lachlanevenson/k8s-kubectl` |
| `test.imageTag` | Test container image tag (used for helm test) | `v1.4.8-bash` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
@@ -27,6 +27,9 @@ spec:
spec:
securityContext:
fsGroup: 1000
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
{{- if .Values.affinity }}
affinity:
{{ tpl .Values.affinity . | indent 8 }}
+3
View File
@@ -31,6 +31,9 @@ Resources: {}
# cpu: "500m"
# memory: "512Mi"
## Persistent volume size
priorityClassName: ""
Storage: "1Gi"
## Needed for 0.8.0 and later IF all consul containers are spun up