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 |
Dan Timoney | dfe1ee0 | 2020-07-07 09:26:39 -0400 | [diff] [blame] | 43 | image: onap/ccsdk-commandexecutor:0.7.5 |
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: |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 59 | initialDelaySeconds: 20 |
| 60 | periodSeconds: 20 |
| 61 | timeoutSeconds: 20 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 62 | # necessary to disable liveness probe when setting breakpoints |
| 63 | # in debugger so K8s doesn't restart unresponsive container |
| 64 | enabled: true |
| 65 | |
| 66 | readiness: |
| 67 | initialDelaySeconds: 10 |
| 68 | periodSeconds: 10 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 69 | timeoutSeconds: 20 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 70 | |
| 71 | service: |
| 72 | type: ClusterIP |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 73 | grpc: |
| 74 | portName: command-executor-grpc |
| 75 | internalPort: 50051 |
| 76 | externalPort: 50051 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 77 | |
| 78 | persistence: |
| 79 | enabled: true |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 80 | mountSubPath: cds/blueprints/deploy |
| 81 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 82 | |
| 83 | ingress: |
| 84 | enabled: false |
| 85 | |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 86 | resources: |
| 87 | small: |
| 88 | limits: |
| 89 | cpu: 2 |
| 90 | memory: 4Gi |
| 91 | requests: |
| 92 | cpu: 1 |
| 93 | memory: 1Gi |
| 94 | large: |
| 95 | limits: |
| 96 | cpu: 4 |
| 97 | memory: 8Gi |
| 98 | requests: |
| 99 | cpu: 2 |
| 100 | memory: 4Gi |
| 101 | unlimited: {} |