Merge "[CONSUL] Uses new tpls for repos / images"
[oom.git] / kubernetes / consul / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20
21 #################################################################
22 # Application configuration defaults.
23 #################################################################
24 # application image
25 image: oomk8s/consul:1.0.0
26 pullPolicy: Always
27
28 #subchart name
29 consulServer:
30   nameOverride: consul-server
31
32 # flag to enable debugging - application support required
33 debugEnabled: false
34
35 # default number of instances
36 replicaCount: 1
37
38 nodeSelector: {}
39
40 affinity: {}
41
42 # probe configuration parameters
43 liveness:
44   initialDelaySeconds: 90
45   periodSeconds: 10
46   # necessary to disable liveness probe when setting breakpoints
47   # in debugger so K8s doesn't restart unresponsive container
48   enabled: true
49
50 readiness:
51   initialDelaySeconds: 90
52   periodSeconds: 10
53
54 service: {}
55
56 ingress:
57   enabled: false
58   service:
59     - baseaddr: "consul.api"
60       name: "consul-server"
61       port: 8800
62   config:
63     ssl: "none"
64
65 #resources: {}
66   # We usually recommend not to specify default resources and to leave this as a conscious
67   # choice for the user. This also increases chances charts run on environments with little
68   # resources, such as Minikube. If you do want to specify resources, uncomment the following
69   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
70   #
71   # Example:
72   # Configure resource requests and limits
73   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
74   # Minimum memory for development is 2 CPU cores and 4GB memory
75   # Minimum memory for production is 4 CPU cores and 8GB memory
76 resources:
77   small:
78     limits:
79       cpu: 1
80       memory: 1500Mi
81     requests:
82       cpu: 650m
83       memory: 530Mi
84   large:
85     limits:
86       cpu: 2
87       memory: 4Gi
88     requests:
89       cpu: 1
90       memory: 2Gi
91   unlimited: {}
92
93 odl:
94   jolokia:
95     username: admin
96     password: admin
97
98 sdnc:
99   config:
100     isPrimaryCluster: true
101   replicaCount: 1