jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 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. |
| 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
| 17 | global: |
| 18 | nodePortPrefix: 302 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 19 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 20 | readinessImage: readiness-check:2.0.0 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 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: consul:1.0.6 |
| 30 | pullPolicy: Always |
| 31 | |
| 32 | # flag to enable debugging - application support required |
| 33 | debugEnabled: false |
| 34 | |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 35 | replicaCount: 3 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 36 | |
| 37 | nodeSelector: {} |
| 38 | |
| 39 | affinity: {} |
| 40 | |
| 41 | # probe configuration parameters |
| 42 | liveness: |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 43 | initialDelaySeconds: 10 |
| 44 | periodSeconds: 5 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 45 | # necessary to disable liveness probe when setting breakpoints |
| 46 | # in debugger so K8s doesn't restart unresponsive container |
| 47 | enabled: true |
| 48 | |
| 49 | readiness: |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 50 | initialDelaySeconds: 10 |
| 51 | periodSeconds: 5 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 52 | |
| 53 | service: |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 54 | type: ClusterIP |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 55 | name: consul-server |
Priyanka Jain | 1fda968 | 2018-05-09 08:42:50 +0000 | [diff] [blame] | 56 | portName: consul-join |
| 57 | internalPort: 8301 |
| 58 | type2: NodePort |
| 59 | portName2: consul-ui |
| 60 | internalPort2: 8500 |
| 61 | nodePort2: 70 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 62 | |
| 63 | ingress: |
| 64 | enabled: false |
| 65 | |
| 66 | resources: {} |