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 | |
Mike Elliott | 0440a32 | 2018-04-25 14:24:51 -0400 | [diff] [blame] | 35 | replicaCount: 1 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 36 | |
| 37 | nodeSelector: {} |
| 38 | |
| 39 | affinity: {} |
| 40 | |
| 41 | # probe configuration parameters |
| 42 | liveness: |
Mike Elliott | 0440a32 | 2018-04-25 14:24:51 -0400 | [diff] [blame] | 43 | initialDelaySeconds: 90 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 44 | periodSeconds: 10 |
| 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: |
Mike Elliott | 0440a32 | 2018-04-25 14:24:51 -0400 | [diff] [blame] | 50 | initialDelaySeconds: 90 |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 51 | periodSeconds: 10 |
| 52 | |
| 53 | service: |
| 54 | type: NodePort |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 55 | name: consul-server |
| 56 | portName: consul-ui |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 57 | nodePort: 70 |
| 58 | internalPort: 8500 |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 59 | portName2: consul-join |
jasmineWen | 09bc80d | 2018-03-21 18:21:17 +0000 | [diff] [blame] | 60 | nodePort2: 71 |
| 61 | internalPort2: 8301 |
| 62 | |
| 63 | ingress: |
| 64 | enabled: false |
| 65 | |
| 66 | resources: {} |