Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 1 | # Copyright (c) 2019 Bell Canada |
| 2 | # |
| 3 | # Modifications Copyright (c) 2019 Bell Canada. |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 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 | |
| 17 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
| 21 | # Change to an unused port prefix range to prevent port conflicts |
| 22 | # with other instances running within the same k8s cluster |
| 23 | nodePortPrefix: 302 |
| 24 | |
| 25 | # image repositories |
| 26 | repository: nexus3.onap.org:10001 |
| 27 | |
| 28 | # readiness check |
| 29 | readinessRepository: oomk8s |
| 30 | readinessImage: readiness-check:2.0.0 |
| 31 | |
| 32 | # image pull policy |
| 33 | pullPolicy: Always |
| 34 | |
| 35 | persistence: |
| 36 | mountPath: /dockerdata-nfs |
| 37 | |
| 38 | ################################################################# |
| 39 | # Application configuration defaults. |
| 40 | ################################################################# |
| 41 | # application image |
| 42 | repository: nexus3.onap.org:10001 |
Timoney, Dan (dt5972) | 793c7e4 | 2019-09-13 14:27:57 -0400 | [diff] [blame] | 43 | image: onap/ccsdk-commandexecutor:0.6.2 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 44 | pullPolicy: Always |
| 45 | |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 46 | # application configuration |
| 47 | config: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 48 | basicAuth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 49 | |
| 50 | # default number of instances |
| 51 | replicaCount: 1 |
| 52 | |
| 53 | nodeSelector: {} |
| 54 | |
| 55 | affinity: {} |
| 56 | |
| 57 | # probe configuration parameters |
| 58 | liveness: |
| 59 | initialDelaySeconds: 10 |
| 60 | periodSeconds: 10 |
| 61 | # necessary to disable liveness probe when setting breakpoints |
| 62 | # in debugger so K8s doesn't restart unresponsive container |
| 63 | enabled: true |
| 64 | |
| 65 | readiness: |
| 66 | initialDelaySeconds: 10 |
| 67 | periodSeconds: 10 |
| 68 | |
| 69 | service: |
| 70 | type: ClusterIP |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 71 | grpc: |
| 72 | portName: command-executor-grpc |
| 73 | internalPort: 50051 |
| 74 | externalPort: 50051 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 75 | |
| 76 | persistence: |
| 77 | enabled: true |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 78 | mountSubPath: cds/blueprints/deploy |
| 79 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 80 | |
| 81 | ingress: |
| 82 | enabled: false |
| 83 | |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 84 | resources: |
| 85 | small: |
| 86 | limits: |
| 87 | cpu: 2 |
| 88 | memory: 4Gi |
| 89 | requests: |
| 90 | cpu: 1 |
| 91 | memory: 1Gi |
| 92 | large: |
| 93 | limits: |
| 94 | cpu: 4 |
| 95 | memory: 8Gi |
| 96 | requests: |
| 97 | cpu: 2 |
| 98 | memory: 4Gi |
| 99 | unlimited: {} |