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 | |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 25 | # image pull policy |
| 26 | pullPolicy: Always |
| 27 | |
| 28 | persistence: |
| 29 | mountPath: /dockerdata-nfs |
| 30 | |
| 31 | ################################################################# |
| 32 | # Application configuration defaults. |
| 33 | ################################################################# |
| 34 | # application image |
Dan Timoney | c614482 | 2023-04-27 10:17:20 -0400 | [diff] [blame] | 35 | image: onap/ccsdk-commandexecutor:1.5.1 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 36 | pullPolicy: Always |
| 37 | |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 38 | # application configuration |
| 39 | config: |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 40 | basicAuth: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 41 | |
| 42 | # default number of instances |
| 43 | replicaCount: 1 |
| 44 | |
| 45 | nodeSelector: {} |
| 46 | |
| 47 | affinity: {} |
| 48 | |
| 49 | # probe configuration parameters |
| 50 | liveness: |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 51 | initialDelaySeconds: 20 |
| 52 | periodSeconds: 20 |
| 53 | timeoutSeconds: 20 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
| 56 | enabled: true |
| 57 | |
| 58 | readiness: |
| 59 | initialDelaySeconds: 10 |
| 60 | periodSeconds: 10 |
Oleg Mitsura | 3a62118 | 2019-10-09 12:40:11 -0400 | [diff] [blame] | 61 | timeoutSeconds: 20 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 62 | |
| 63 | service: |
| 64 | type: ClusterIP |
Andreas Geissler | 11fcd6c | 2023-05-25 14:33:16 +0200 | [diff] [blame] | 65 | name: cds-command-executor |
| 66 | internalPort: 50051 |
| 67 | ports: |
| 68 | - name: grpc |
| 69 | port: 50051 |
| 70 | - name: &metricsPortname tcp-metrics |
| 71 | port: &metricsPort 10005 |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 72 | |
| 73 | persistence: |
Jozsef Csongvai | 2b09070 | 2021-10-05 18:56:57 -0400 | [diff] [blame] | 74 | enabled: false |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 75 | mountSubPath: cds/blueprints/deploy |
| 76 | deployedBlueprint: /opt/app/onap/blueprints/deploy |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 77 | |
| 78 | ingress: |
| 79 | enabled: false |
| 80 | |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 81 | resources: |
| 82 | small: |
| 83 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 84 | cpu: 999 |
| 85 | memory: 0.2Gi |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 86 | requests: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 87 | cpu: 0.5 |
| 88 | memory: 0.2Gi |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 89 | large: |
| 90 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 91 | cpu: 999 |
| 92 | memory: 0.4Gi |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 93 | requests: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 94 | cpu: 1 |
| 95 | memory: 0.4Gi |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 96 | unlimited: {} |
farida azmy | ffad032 | 2021-04-09 14:18:14 +0200 | [diff] [blame] | 97 | |
| 98 | #Pods Service Account |
| 99 | serviceAccount: |
| 100 | nameOverride: cds-command-executor |
| 101 | roles: |
| 102 | - read |
kuldipr | d276d16 | 2021-08-31 15:13:52 -0400 | [diff] [blame] | 103 | |
| 104 | metrics: |
| 105 | serviceMonitor: |
| 106 | enabled: false |
Andreas Geissler | 11fcd6c | 2023-05-25 14:33:16 +0200 | [diff] [blame] | 107 | port: *metricsPortname |
| 108 | internalPort: *metricsPort |
kuldipr | d276d16 | 2021-08-31 15:13:52 -0400 | [diff] [blame] | 109 | path: /actuator/prometheus |
| 110 | basicAuth: |
| 111 | enabled: false |
| 112 | externalSecretName: mysecretname |
| 113 | externalSecretUserKey: login |
| 114 | externalSecretPasswordKey: password |
| 115 | selector: |
| 116 | app: '{{ include "common.name" . }}' |
| 117 | chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}' |
| 118 | release: '{{ .Release.Name }}' |
| 119 | heritage: '{{ .Release.Service }}' |