toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright © 2018 AT&T, ZTE |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Andreas Geissler | fd450c4 | 2021-12-10 08:36:45 +0000 | [diff] [blame] | 21 | sdc_cassandra: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 22 | # This flag allows SDC to instantiate its own cluster, serviceName |
| 23 | # should be sdc-cs if this flag is enabled |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 24 | localCluster: false |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 25 | # The cassandra service name to connect to |
| 26 | # (default: shared cassandra service) |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 27 | serviceName: cassandra |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 28 | # Shared cassandra cluster replicaCount, should be changed if |
| 29 | # localCluster is enabled to match with its own cluster replica |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 30 | replicaCount: 3 |
| 31 | clusterName: cassandra |
| 32 | dataCenter: Pod |
| 33 | |
| 34 | ################################################################# |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 35 | # Application configuration defaults. |
| 36 | ################################################################# |
| 37 | # application image |
vasraz | 8b1f085 | 2023-03-23 13:22:11 +0000 | [diff] [blame] | 38 | image: onap/sdc-workflow-backend:1.12.0 |
| 39 | configInitImage: onap/sdc-workflow-init:1.12.0 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 40 | pullPolicy: Always |
| 41 | |
priyanshu | 617e90b | 2019-03-14 12:56:55 +0530 | [diff] [blame] | 42 | initJob: |
| 43 | enabled: true |
| 44 | |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 45 | config: |
r.bogacki | 00bd086 | 2019-09-03 09:22:43 +0200 | [diff] [blame] | 46 | javaOptions: "-Xmx1536m -Xms1536m" |
priyanshu | bd7fbe2 | 2019-03-20 12:45:21 +0530 | [diff] [blame] | 47 | cassandraAuthenticationEnabled: true |
priyanshu | 3af9db6 | 2018-08-16 16:23:52 +0530 | [diff] [blame] | 48 | cassandraClientPort: 9042 |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 49 | sdcEndpoint: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 50 | http: sdc-be:8080 |
priyanshu | c00acbb | 2018-09-06 11:29:23 +0530 | [diff] [blame] | 51 | sdcExternalUser: workflow |
priyanshu | bd7fbe2 | 2019-03-20 12:45:21 +0530 | [diff] [blame] | 52 | serverSSLKeyStoreType: jks |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 53 | serverSSLTrustStoreType: jks |
priyanshu | bd7fbe2 | 2019-03-20 12:45:21 +0530 | [diff] [blame] | 54 | cassandraSSLEnabled: false |
MichaelMorris | b137f7e | 2020-03-15 17:44:48 +0000 | [diff] [blame] | 55 | cassandraTrustStorePath: /home/sdc/etc/truststore |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 56 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 57 | # environment file |
| 58 | env: |
| 59 | name: AUTO |
| 60 | |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 61 | # default number of instances |
| 62 | replicaCount: 1 |
| 63 | |
| 64 | nodeSelector: {} |
| 65 | |
| 66 | affinity: {} |
| 67 | |
| 68 | # probe configuration parameters |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 69 | #liveness: |
| 70 | # initialDelaySeconds: 60 |
| 71 | # periodSeconds: 10 |
| 72 | # # necessary to disable liveness probe when setting breakpoints |
| 73 | # # in debugger so K8s doesn't restart unresponsive container |
| 74 | # enabled: true |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 75 | |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 76 | #readiness: |
| 77 | # initialDelaySeconds: 60 |
| 78 | # periodSeconds: 10 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 79 | |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 80 | # probe configuration parameters |
| 81 | liveness: |
| 82 | initialDelaySeconds: 1 |
| 83 | periodSeconds: 10 |
| 84 | successThreshold: 1 |
| 85 | failureThreshold: 3 |
| 86 | # necessary to disable liveness probe when setting breakpoints |
| 87 | # in debugger so K8s doesn't restart unresponsive container |
| 88 | enabled: true |
| 89 | |
| 90 | readiness: |
| 91 | initialDelaySeconds: 1 |
| 92 | periodSeconds: 10 |
| 93 | successThreshold: 1 |
| 94 | failureThreshold: 3 |
| 95 | |
| 96 | startup: |
| 97 | initialDelaySeconds: 10 |
| 98 | periodSeconds: 10 |
| 99 | successThreshold: 1 |
| 100 | failureThreshold: 60 |
| 101 | |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 102 | service: |
| 103 | type: NodePort |
| 104 | internalPort: 8080 |
Andreas Geissler | dd34ead | 2023-03-20 17:16:45 +0100 | [diff] [blame] | 105 | ports: |
| 106 | - name: http |
| 107 | port: 8080 |
| 108 | nodePort: "57" |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 109 | |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 110 | ingress: |
| 111 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 112 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 113 | - baseaddr: "sdc-wfd-be-api" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 114 | name: "sdc-wfd-be" |
Andreas Geissler | dd34ead | 2023-03-20 17:16:45 +0100 | [diff] [blame] | 115 | port: 8080 |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 116 | config: |
| 117 | ssl: "redirect" |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 118 | |
AndrewLamb | b304a32 | 2023-04-11 17:05:54 +0100 | [diff] [blame] | 119 | serviceMesh: |
| 120 | authorizationPolicy: |
| 121 | authorizedPrincipals: |
| 122 | - serviceAccount: sdc-wfd-fe-read |
| 123 | - serviceAccount: so-sdc-controller-read |
| 124 | - serviceAccount: istio-ingress |
| 125 | namespace: istio-ingress |
| 126 | |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 127 | # Resource Limit flavor -By Default using small |
| 128 | # Segregation for Different environment (Small and Large) |
| 129 | flavor: small |
| 130 | resources: |
| 131 | small: |
| 132 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 133 | cpu: "1" |
| 134 | memory: "1Gi" |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 135 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 136 | cpu: "0.5" |
| 137 | memory: "1Gi" |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 138 | large: |
| 139 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 140 | cpu: "2" |
| 141 | memory: "2Gi" |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 142 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 143 | cpu: "1" |
| 144 | memory: "2Gi" |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 145 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 146 | |
| 147 | #Pods Service Account |
| 148 | serviceAccount: |
| 149 | nameOverride: sdc-wfd-be |
| 150 | roles: |
| 151 | - read |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 152 | |
| 153 | wait_for_job_container: |
| 154 | containers: |
| 155 | - '{{ include "common.name" . }}-job' |