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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 29 | readinessImage: onap/oom/readiness:3.0.1 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 30 | |
| 31 | # image pull policy |
| 32 | pullPolicy: Always |
| 33 | |
| 34 | persistence: |
| 35 | mountPath: /dockerdata-nfs |
| 36 | |
| 37 | ################################################################# |
| 38 | # Application configuration defaults. |
| 39 | ################################################################# |
| 40 | # application image |
| 41 | repository: nexus3.onap.org:10001 |
Dan Timoney | 6cc07e0 | 2020-09-23 08:52:47 -0400 | [diff] [blame^] | 42 | image: onap/ccsdk-commandexecutor:1.0.0 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 43 | pullPolicy: Always |
| 44 | |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 45 | # application configuration |
| 46 | config: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 47 | basicAuth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 48 | |
| 49 | # default number of instances |
| 50 | replicaCount: 1 |
| 51 | |
| 52 | nodeSelector: {} |
| 53 | |
| 54 | affinity: {} |
| 55 | |
| 56 | # probe configuration parameters |
| 57 | liveness: |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 58 | initialDelaySeconds: 20 |
| 59 | periodSeconds: 20 |
| 60 | timeoutSeconds: 20 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 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 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 68 | timeoutSeconds: 20 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 69 | |
| 70 | service: |
| 71 | type: ClusterIP |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 72 | grpc: |
| 73 | portName: command-executor-grpc |
| 74 | internalPort: 50051 |
| 75 | externalPort: 50051 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 76 | |
| 77 | persistence: |
| 78 | enabled: true |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 79 | mountSubPath: cds/blueprints/deploy |
| 80 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 81 | |
| 82 | ingress: |
| 83 | enabled: false |
| 84 | |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 85 | resources: |
| 86 | small: |
| 87 | limits: |
| 88 | cpu: 2 |
| 89 | memory: 4Gi |
| 90 | requests: |
| 91 | cpu: 1 |
| 92 | memory: 1Gi |
| 93 | large: |
| 94 | limits: |
| 95 | cpu: 4 |
| 96 | memory: 8Gi |
| 97 | requests: |
| 98 | cpu: 2 |
| 99 | memory: 4Gi |
| 100 | unlimited: {} |