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 |
Sylvain Desbureaux | c991f0b | 2021-10-29 15:51:58 +0200 | [diff] [blame] | 20 | clusterName: cluster.local |
Ritu Sood | 2369910 | 2019-04-24 23:06:46 +0000 | [diff] [blame] | 21 | persistence: {} |
| 22 | |
| 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | |
| 27 | #repository: etcd |
Sylvain Desbureaux | c9f5533 | 2020-11-19 17:10:36 +0100 | [diff] [blame] | 28 | image: etcd-amd64:3.2.24 |
Ritu Sood | 2369910 | 2019-04-24 23:06:46 +0000 | [diff] [blame] | 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 |
Kiran Kamineni | f02245c | 2019-05-28 13:19:32 -0700 | [diff] [blame] | 41 | periodSeconds: 30 |
| 42 | timeoutSeconds: 5 |
Ritu Sood | 2369910 | 2019-04-24 23:06:46 +0000 | [diff] [blame] | 43 | # necessary to disable liveness probe when setting breakpoints |
| 44 | # in debugger so K8s doesn't restart unresponsive container |
| 45 | enabled: true |
| 46 | |
Ritu Sood | 2369910 | 2019-04-24 23:06:46 +0000 | [diff] [blame] | 47 | persistence: |
Sylvain Desbureaux | b7ed2ee | 2019-11-29 11:35:13 +0100 | [diff] [blame] | 48 | enabled: true |
Ritu Sood | 2369910 | 2019-04-24 23:06:46 +0000 | [diff] [blame] | 49 | ## etcd data Persistent Volume Storage Class |
| 50 | ## If defined, storageClassName: <storageClass> |
| 51 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 52 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 53 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 54 | ## GKE, AWS & OpenStack) |
| 55 | ## |
Kiran Kamineni | 56c00a8 | 2019-05-20 17:19:40 -0700 | [diff] [blame] | 56 | #storageClass: "-" |
Ritu Sood | 2369910 | 2019-04-24 23:06:46 +0000 | [diff] [blame] | 57 | accessMode: "ReadWriteOnce" |
| 58 | storage: "1Gi" |
| 59 | mountPath: /dockerdata-nfs |
| 60 | mountSubPath: k8s-etcd |
| 61 | |
| 62 | ## This is only available when persistentVolume is false: |
| 63 | ## If persistentVolume is not enabled, one can choose to use memory mode for ETCD by setting memoryMode to "true". |
| 64 | ## The system will create a volume with "medium: Memory" |
| 65 | memoryMode: false |
| 66 | |
| 67 | service: |
| 68 | name: k8s-etcd |
| 69 | peerInternalPort: 2380 |
| 70 | peerPortName: etcd-server |
| 71 | clientInternalPort : 2379 |
| 72 | clientPortName: etcd-client |
| 73 | |
| 74 | ## Node labels and tolerations for pod assignment |
| 75 | ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector |
| 76 | ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature |
| 77 | nodeSelector: {} |
| 78 | tolerations: [] |
| 79 | affinity: {} |
| 80 | extraEnv: [] |
| 81 | resources: {} |