From a4ecdc20990a3a6c54f2bfbd596820ef97a2f547 Mon Sep 17 00:00:00 2001 From: hchenxa Date: Mon, 18 Sep 2017 13:38:07 +0800 Subject: [PATCH] add nodeSelector in zetcd value.yaml (#2062) [stable/zetcd] Added nodeSelector for zetcd. --- stable/zetcd/Chart.yaml | 4 ++-- stable/zetcd/README.md | 3 ++- stable/zetcd/values.yaml | 7 ++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/stable/zetcd/Chart.yaml b/stable/zetcd/Chart.yaml index d31a1d63d6..42046245b6 100644 --- a/stable/zetcd/Chart.yaml +++ b/stable/zetcd/Chart.yaml @@ -1,10 +1,10 @@ apiVersion: v1 description: CoreOS zetcd Helm chart for Kubernetes name: zetcd -version: 0.1.2 +version: 0.1.3 appVersion: 0.0.3 home: https://github.com/coreos/zetcd sources: - https://github.com/coreos/zetcd maintainers: - - name: hunter \ No newline at end of file + - name: hunter diff --git a/stable/zetcd/README.md b/stable/zetcd/README.md index af413d73f4..446d4eb9dc 100644 --- a/stable/zetcd/README.md +++ b/stable/zetcd/README.md @@ -55,6 +55,7 @@ The following tables lists the configurable parameters of the zetcd chart and th | `resources.limits.memory` | Memory limit per zetcd pod | | | `resources.requests.cpu` | CPU request per zetcd pod | | | `resources.requests.memory` | Memory request per zetcd pod | | +| `nodeSelector` | Node labels for pod assignment |`{}` | | `etcd.operatorEnabled` | Whether to use etcd-operator to launch a cluster | `true` | | `etcd.endpoints` | Existing etcd endpoints to be used when etcd-operator is disabled | `localhost:2379` | @@ -70,4 +71,4 @@ installing the chart. For example: ```bash $ helm install --name my-release --values values.yaml stable/zetcd -``` \ No newline at end of file +``` diff --git a/stable/zetcd/values.yaml b/stable/zetcd/values.yaml index 2405fef369..db864b16d6 100644 --- a/stable/zetcd/values.yaml +++ b/stable/zetcd/values.yaml @@ -24,10 +24,15 @@ resources: {} # cpu: 100m # memory: 128Mi +## Node labels for pod assignment +## Ref: https://kubernetes.io/docs/user-guide/node-selection/ +## +nodeSelector: {} + etcd: operatorEnabled: true endpoints: localhost:2379 etcd-operator: cluster: - enabled: true \ No newline at end of file + enabled: true