Ritu Sood | 2369910 | 2019-04-24 23:06:46 +0000 | [diff] [blame] | 1 | # Copyright © 2019 Intel Corporation, Inc |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | persistence: {} |
| 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | |
| 26 | #repository: etcd |
| 27 | repository: "k8s.gcr.io" |
| 28 | image: "etcd-amd64:2.2.5" |
| 29 | pullPolicy: Always |
| 30 | |
| 31 | # default number of instances in the StatefulSet |
| 32 | replicaCount: 1 |
| 33 | |
| 34 | nodeSelector: {} |
| 35 | |
| 36 | affinity: {} |
| 37 | |
| 38 | # probe configuration parameters |
| 39 | liveness: |
| 40 | initialDelaySeconds: 90 |
| 41 | periodSeconds: 10 |
| 42 | timeoutSeconds: 10 |
| 43 | # necessary to disable liveness probe when setting breakpoints |
| 44 | # in debugger so K8s doesn't restart unresponsive container |
| 45 | enabled: true |
| 46 | |
| 47 | readiness: |
| 48 | initialDelaySeconds: 90 |
| 49 | periodSeconds: 10 |
| 50 | |
| 51 | persistence: |
| 52 | enabled: false |
| 53 | ## etcd data Persistent Volume Storage Class |
| 54 | ## If defined, storageClassName: <storageClass> |
| 55 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 56 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 57 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 58 | ## GKE, AWS & OpenStack) |
| 59 | ## |
| 60 | storageClass: "-" |
| 61 | accessMode: "ReadWriteOnce" |
| 62 | storage: "1Gi" |
| 63 | mountPath: /dockerdata-nfs |
| 64 | mountSubPath: k8s-etcd |
| 65 | |
| 66 | ## This is only available when persistentVolume is false: |
| 67 | ## If persistentVolume is not enabled, one can choose to use memory mode for ETCD by setting memoryMode to "true". |
| 68 | ## The system will create a volume with "medium: Memory" |
| 69 | memoryMode: false |
| 70 | |
| 71 | service: |
| 72 | name: k8s-etcd |
| 73 | peerInternalPort: 2380 |
| 74 | peerPortName: etcd-server |
| 75 | clientInternalPort : 2379 |
| 76 | clientPortName: etcd-client |
| 77 | |
| 78 | ## Node labels and tolerations for pod assignment |
| 79 | ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector |
| 80 | ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature |
| 81 | nodeSelector: {} |
| 82 | tolerations: [] |
| 83 | affinity: {} |
| 84 | extraEnv: [] |
| 85 | resources: {} |
| 86 | |