Merge "[COMMON] Add limits to cassandra statefulsets."
[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   readinessImage: onap/oom/readiness:3.0.1
21   loggingRepository: docker.elastic.co
22   loggingImage: beats/filebeat:5.5.0
23
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
27 # application image
28 repository: docker.io
29 image: oomk8s/consul:1.0.0
30 pullPolicy: Always
31
32 #subchart name
33 consulServer:
34   nameOverride: consul-server
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 # default number of instances
40 replicaCount: 1
41
42 nodeSelector: {}
43
44 affinity: {}
45
46 # probe configuration parameters
47 liveness:
48   initialDelaySeconds: 90
49   periodSeconds: 10
50   # necessary to disable liveness probe when setting breakpoints
51   # in debugger so K8s doesn't restart unresponsive container
52   enabled: true
53
54 readiness:
55   initialDelaySeconds: 90
56   periodSeconds: 10
57
58 service: {}
59
60 ingress:
61   enabled: false
62   service:
63     - baseaddr: "consul.api"
64       name: "consul-server"
65       port: 8800
66   config:
67     ssl: "none"
68
69 #resources: {}
70   # We usually recommend not to specify default resources and to leave this as a conscious
71   # choice for the user. This also increases chances charts run on environments with little
72   # resources, such as Minikube. If you do want to specify resources, uncomment the following
73   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
74   #
75   # Example:
76   # Configure resource requests and limits
77   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
78   # Minimum memory for development is 2 CPU cores and 4GB memory
79   # Minimum memory for production is 4 CPU cores and 8GB memory
80 resources:
81   small:
82     limits:
83       cpu: 1
84       memory: 1500Mi
85     requests:
86       cpu: 650m
87       memory: 530Mi
88   large:
89     limits:
90       cpu: 2
91       memory: 4Gi
92     requests:
93       cpu: 1
94       memory: 2Gi
95   unlimited: {}
96
97 odl:
98   jolokia:
99     username: admin
100     password: admin
101
102 sdnc:
103   config:
104     isPrimaryCluster: true
105   replicaCount: 1