blob: 4704f3b24d6f59f47218395d6dbe8816bbdb38e3 [file] [log] [blame]
Prateekinlinux445a18e2018-08-01 06:48:33 +00001# Copyright © 2018 Amdocs, Bell Canada , ZTE
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.
BorislavG0433c912018-03-21 18:35:30 +020014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
BorislavG0433c912018-03-21 18:35:30 +020019
20#################################################################
21# Application configuration defaults.
22#################################################################
23# application image
Sylvain Desbureaux23a38b32020-11-20 08:57:12 +010024dockerHubRepository: docker.io
Huabing Zhao0f176a02019-03-18 19:31:45 +080025image: library/consul:1.4.3
BorislavG0433c912018-03-21 18:35:30 +020026pullPolicy: Always
Huabing Zhao408a87d2018-08-03 06:35:41 +000027istioSidecar: true
BorislavG0433c912018-03-21 18:35:30 +020028
29# application configuration
30config: {}
31
32# default number of instances
33replicaCount: 1
34
35nodeSelector: {}
36
37affinity: {}
38
39# probe configuration parameters
40liveness:
41 initialDelaySeconds: 10
42 periodSeconds: 10
43 # necessary to disable liveness probe when setting breakpoints
44 # in debugger so K8s doesn't restart unresponsive container
45 enabled: true
46
47readiness:
48 initialDelaySeconds: 10
49 periodSeconds: 10
50
51service:
Huabing Zhaoc0a59032019-11-19 14:07:20 +080052 type: ClusterIP
BorislavG0433c912018-03-21 18:35:30 +020053 name: msb-consul
54 externalPort: 8500
55 internalPort: 8500
56 nodePort: 85
57
58ingress:
59 enabled: false
Lucjan Bryndzaa7228ec2019-12-02 15:11:53 +010060 service:
61 - baseaddr: "msbconsul"
62 name: "msb-consul"
63 port: 8500
64 config:
65 ssl: "none"
BorislavG0433c912018-03-21 18:35:30 +020066
vaibhavjayasfe2140f2018-09-21 08:30:57 +000067flavor: small
68
69# Configure resource requests and limits
70resources:
71 small:
72 limits:
73 cpu: 20m
74 memory: 100Mi
75 requests:
76 cpu: 10m
77 memory: 50Mi
78 large:
79 limits:
80 cpu: 40m
81 memory: 200Mi
82 requests:
83 cpu: 20m
84 memory: 100Mi
Huabing Zhao0f176a02019-03-18 19:31:45 +080085 unlimited: {}
Krzysztof Opasiakbc6a6672020-11-23 22:02:51 +010086
87securityContext:
88 fsGroup: 1000
89 runAsUser: 100
90 runAsGroup: 1000