Prateekinlinux | 445a18e | 2018-08-01 06:48:33 +0000 | [diff] [blame] | 1 | # 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. |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
| 17 | global: |
| 18 | nodePortPrefix: 302 |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 19 | |
| 20 | ################################################################# |
| 21 | # Application configuration defaults. |
| 22 | ################################################################# |
| 23 | # application image |
Huabing Zhao | 0f176a0 | 2019-03-18 19:31:45 +0800 | [diff] [blame] | 24 | image: library/consul:1.4.3 |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 25 | pullPolicy: Always |
Huabing Zhao | 408a87d | 2018-08-03 06:35:41 +0000 | [diff] [blame] | 26 | istioSidecar: true |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 27 | |
| 28 | # application configuration |
| 29 | config: {} |
| 30 | |
| 31 | # default number of instances |
| 32 | replicaCount: 1 |
| 33 | |
| 34 | nodeSelector: {} |
| 35 | |
| 36 | affinity: {} |
| 37 | |
| 38 | # probe configuration parameters |
| 39 | liveness: |
| 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 | |
| 46 | readiness: |
| 47 | initialDelaySeconds: 10 |
| 48 | periodSeconds: 10 |
| 49 | |
| 50 | service: |
Huabing Zhao | c0a5903 | 2019-11-19 14:07:20 +0800 | [diff] [blame] | 51 | type: ClusterIP |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 52 | name: msb-consul |
| 53 | externalPort: 8500 |
| 54 | internalPort: 8500 |
| 55 | nodePort: 85 |
| 56 | |
| 57 | ingress: |
| 58 | enabled: false |
Lucjan Bryndza | a7228ec | 2019-12-02 15:11:53 +0100 | [diff] [blame] | 59 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 60 | - baseaddr: "msb-consul-api" |
Lucjan Bryndza | a7228ec | 2019-12-02 15:11:53 +0100 | [diff] [blame] | 61 | name: "msb-consul" |
| 62 | port: 8500 |
| 63 | config: |
| 64 | ssl: "none" |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 65 | |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 66 | flavor: small |
| 67 | |
| 68 | # Configure resource requests and limits |
| 69 | resources: |
| 70 | small: |
| 71 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 72 | cpu: "1" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 73 | memory: "500Mi" |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 74 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 75 | cpu: "0.5" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 76 | memory: "500Mi" |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 77 | large: |
| 78 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 79 | cpu: "2" |
| 80 | memory: "1Gi" |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 81 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 82 | cpu: "1" |
| 83 | memory: "1Gi" |
Huabing Zhao | 0f176a0 | 2019-03-18 19:31:45 +0800 | [diff] [blame] | 84 | unlimited: {} |
Krzysztof Opasiak | bc6a667 | 2020-11-23 22:02:51 +0100 | [diff] [blame] | 85 | |
| 86 | securityContext: |
| 87 | fsGroup: 1000 |
| 88 | runAsUser: 100 |
| 89 | runAsGroup: 1000 |
farida azmy | a4478e8 | 2021-10-11 13:48:11 +0200 | [diff] [blame] | 90 | |
| 91 | #Pods Service Account |
| 92 | serviceAccount: |
| 93 | nameOverride: msb-consul |
| 94 | roles: |
| 95 | - read |