blob: 37ccf988d8b3562a9d5207d489d826c5053e02f7 [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
Huabing Zhao0f176a02019-03-18 19:31:45 +080024image: library/consul:1.4.3
BorislavG0433c912018-03-21 18:35:30 +020025pullPolicy: Always
Huabing Zhao408a87d2018-08-03 06:35:41 +000026istioSidecar: true
BorislavG0433c912018-03-21 18:35:30 +020027
28# application configuration
29config: {}
30
31# default number of instances
32replicaCount: 1
33
34nodeSelector: {}
35
36affinity: {}
37
38# probe configuration parameters
39liveness:
40 initialDelaySeconds: 10
41 periodSeconds: 10
42 # necessary to disable liveness probe when setting breakpoints
43 # in debugger so K8s doesn't restart unresponsive container
44 enabled: true
45
46readiness:
47 initialDelaySeconds: 10
48 periodSeconds: 10
49
50service:
Huabing Zhaoc0a59032019-11-19 14:07:20 +080051 type: ClusterIP
BorislavG0433c912018-03-21 18:35:30 +020052 name: msb-consul
53 externalPort: 8500
54 internalPort: 8500
55 nodePort: 85
56
57ingress:
58 enabled: false
Lucjan Bryndzaa7228ec2019-12-02 15:11:53 +010059 service:
Andreas Geissler51900a92022-08-03 13:10:35 +020060 - baseaddr: "msb-consul-api"
Lucjan Bryndzaa7228ec2019-12-02 15:11:53 +010061 name: "msb-consul"
62 port: 8500
63 config:
64 ssl: "none"
BorislavG0433c912018-03-21 18:35:30 +020065
vaibhavjayasfe2140f2018-09-21 08:30:57 +000066flavor: small
67
68# Configure resource requests and limits
69resources:
70 small:
71 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010072 cpu: "1"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010073 memory: "500Mi"
vaibhavjayasfe2140f2018-09-21 08:30:57 +000074 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010075 cpu: "0.5"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +010076 memory: "500Mi"
vaibhavjayasfe2140f2018-09-21 08:30:57 +000077 large:
78 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010079 cpu: "2"
80 memory: "1Gi"
vaibhavjayasfe2140f2018-09-21 08:30:57 +000081 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010082 cpu: "1"
83 memory: "1Gi"
Huabing Zhao0f176a02019-03-18 19:31:45 +080084 unlimited: {}
Krzysztof Opasiakbc6a6672020-11-23 22:02:51 +010085
86securityContext:
87 fsGroup: 1000
88 runAsUser: 100
89 runAsGroup: 1000
farida azmya4478e82021-10-11 13:48:11 +020090
91#Pods Service Account
92serviceAccount:
93 nameOverride: msb-consul
94 roles:
95 - read