jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Mukul | 2b4e753 | 2018-08-03 10:41:29 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 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 |
Krzysztof Opasiak | 217acfd | 2020-11-25 16:54:36 +0100 | [diff] [blame^] | 20 | repository: nexus3.onap.org:10001 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
Krzysztof Opasiak | 217acfd | 2020-11-25 16:54:36 +0100 | [diff] [blame^] | 26 | image: onap/oom/consul:2.1.0 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
| 29 | # flag to enable debugging - application support required |
| 30 | debugEnabled: false |
| 31 | |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 32 | replicaCount: 3 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 33 | |
| 34 | nodeSelector: {} |
| 35 | |
| 36 | affinity: {} |
| 37 | |
| 38 | # probe configuration parameters |
| 39 | liveness: |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 40 | initialDelaySeconds: 10 |
| 41 | periodSeconds: 5 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 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: |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 47 | initialDelaySeconds: 10 |
| 48 | periodSeconds: 5 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 49 | |
| 50 | service: |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 51 | type: ClusterIP |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 52 | name: consul-server |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 53 | portName: consul-join |
| 54 | internalPort: 8301 |
Sylvain Desbureaux | 4b5a488 | 2020-03-02 13:42:31 +0100 | [diff] [blame] | 55 | type2: ClusterIP |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 56 | portName2: consul-ui |
| 57 | internalPort2: 8500 |
| 58 | nodePort2: 70 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 59 | |
| 60 | ingress: |
| 61 | enabled: false |
| 62 | |
Sylvain Desbureaux | 5e16401 | 2020-09-23 13:35:31 +0200 | [diff] [blame] | 63 | #resources: {} |
| 64 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 65 | # choice for the user. This also increases chances charts run on environments with little |
| 66 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 67 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 68 | # |
| 69 | # Example: |
| 70 | # Configure resource requests and limits |
| 71 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 72 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 73 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 74 | resources: |
| 75 | small: |
| 76 | limits: |
| 77 | cpu: 100m |
| 78 | memory: 100Mi |
| 79 | requests: |
| 80 | cpu: 30m |
| 81 | memory: 25Mi |
| 82 | large: |
| 83 | limits: |
| 84 | cpu: 2 |
| 85 | memory: 4Gi |
| 86 | requests: |
| 87 | cpu: 1 |
| 88 | memory: 2Gi |
| 89 | unlimited: {} |
Krzysztof Opasiak | 217acfd | 2020-11-25 16:54:36 +0100 | [diff] [blame^] | 90 | |
| 91 | securityContext: |
| 92 | fsGroup: 1000 |
| 93 | runAsUser: 100 |
| 94 | runAsGroup: 1000 |