Jack Lucas | 331debf | 2019-05-14 17:31:34 -0400 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
| 3 | # Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
| 18 | # Need 'global' to keep 'common' working properly |
| 19 | global: |
| 20 | pullPolicy: Always |
| 21 | |
| 22 | config: |
| 23 | logstashServiceName: log-ls |
| 24 | logstashPort: 5044 |
| 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: library |
| 31 | image: nginx:1.15 |
| 32 | pullPolicy: Always |
| 33 | |
| 34 | # service info |
| 35 | service: |
| 36 | internalPort: 80 |
| 37 | externalPort: 80 |
| 38 | type: ClusterIP |
| 39 | |
| 40 | # List of central Kubernetes node addresses |
| 41 | # (IP addresses and/or fully-qualified domain names) |
| 42 | # Expect this to be overriden with actual addresses |
| 43 | nodeAddresses: |
| 44 | - 127.0.0.1 |
| 45 | |
| 46 | # List of services to be proxied |
| 47 | proxiedServices: |
| 48 | - names: |
| 49 | - consul |
| 50 | - consul-server |
| 51 | ports: |
| 52 | - upstream: 30270 |
| 53 | local: 8500 |
| 54 | - names: |
| 55 | - config-binding-service |
| 56 | ports: |
| 57 | - upstream: 30415 |
| 58 | local: 10000 |
| 59 | - names: |
| 60 | - log-ls |
| 61 | ports: |
| 62 | - upstream: 30255 |
| 63 | local: 5044 |
| 64 | type: tcp |
| 65 | - names: |
| 66 | - message-router |
| 67 | ports: |
| 68 | - upstream: 30227 |
| 69 | local: 3904 |
| 70 | - upstream: 30226 |
| 71 | local: 3905 |
| 72 | type: https |
| 73 | - names: |
| 74 | - dmaap-dr-prov |
| 75 | ports: |
| 76 | - upstream: 30259 |
| 77 | local: 8080 |
| 78 | - type: https |
| 79 | upstream: 30269 |
| 80 | local: 8443 |
| 81 | - names: |
| 82 | - dmaap-dr-node |
| 83 | ports: |
| 84 | - upstream: 30493 |
| 85 | local: 8080 |
| 86 | - type: https |
| 87 | upstream: 30494 |
| 88 | local: 8443 |
| 89 | - names: |
| 90 | - dmaap-bc |
| 91 | ports: |
| 92 | - upstream: 30241 |
| 93 | local: 8080 |
| 94 | - type: https |
| 95 | upstream: 30242 |
| 96 | local: 8443 |
| 97 | |
| 98 | |
| 99 | |
| 100 | # probe configuration parameters |
| 101 | liveness: |
| 102 | initialDelaySeconds: 10 |
| 103 | periodSeconds: 10 |
| 104 | # necessary to disable liveness probe when setting breakpoints |
| 105 | # in debugger so K8s doesn't restart unresponsive container |
| 106 | # liveness not desirable for Cloudify Manager container |
| 107 | enabled: false |
| 108 | |
| 109 | readiness: |
| 110 | initialDelaySeconds: 30 |
| 111 | periodSeconds: 30 |
| 112 | path: / |
| 113 | |
| 114 | # Resource Limit flavor -By Default using small |
| 115 | flavor: small |
| 116 | # Segregation for Different environment (Small and Large) |
| 117 | resources: |
| 118 | small: |
| 119 | limits: |
| 120 | cpu: 2 |
| 121 | memory: 2Gi |
| 122 | requests: |
| 123 | cpu: 1 |
| 124 | memory: 1Gi |
| 125 | large: |
| 126 | limits: |
| 127 | cpu: 4 |
| 128 | memory: 4Gi |
| 129 | requests: |
| 130 | cpu: 2 |
| 131 | memory: 2Gi |
| 132 | unlimited: {} |