Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T, ZTE |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | |
| 25 | ################################################################# |
| 26 | # Application configuration defaults. |
| 27 | ################################################################# |
| 28 | # application image |
| 29 | repository: nexus3.onap.org:10001 |
sebdet | e1a57e0 | 2020-07-08 13:54:01 +0200 | [diff] [blame] | 30 | image: onap/sdc-onboard-backend:1.6.7 |
| 31 | onboardingInitImage: onap/sdc-onboard-cassandra-init:1.6.7 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
| 37 | config: |
r.bogacki | b17ce79 | 2019-09-03 10:23:24 +0200 | [diff] [blame] | 38 | javaOptions: "-Xmx1g -Xms1g" |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 39 | cassandraSslEnabled: "false" |
| 40 | |
| 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 50 | initialDelaySeconds: 120 |
| 51 | periodSeconds: 60 |
| 52 | timeoutSeconds: 15 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 53 | # necessary to disable liveness probe when setting breakpoints |
| 54 | # in debugger so K8s doesn't restart unresponsive container |
| 55 | enabled: true |
| 56 | |
| 57 | readiness: |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 58 | initialDelaySeconds: 120 |
| 59 | periodSeconds: 60 |
| 60 | timeoutSeconds: 15 |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 61 | |
| 62 | service: |
| 63 | type: ClusterIP |
| 64 | name: sdc-onboarding-be |
| 65 | portName: sdc-onboarding-be |
| 66 | internalPort: 8445 |
| 67 | externalPort: 8445 |
| 68 | internalPort2: 8081 |
| 69 | externalPort2: 8081 |
| 70 | |
| 71 | ## Persist data to a persitent volume |
| 72 | persistence: |
| 73 | enabled: true |
| 74 | |
| 75 | ## A manually managed Persistent Volume and Claim |
| 76 | ## Requires persistence.enabled: true |
| 77 | ## If defined, PVC must be created manually before volume will be bound |
| 78 | # existingClaim: |
| 79 | volumeReclaimPolicy: Retain |
| 80 | |
| 81 | ## database data Persistent Volume Storage Class |
| 82 | ## If defined, storageClassName: <storageClass> |
| 83 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 84 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 85 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 86 | ## GKE, AWS & OpenStack) |
| 87 | ## |
| 88 | # storageClass: "-" |
Sylvain Desbureaux | 71a9fb3 | 2019-09-02 15:50:28 +0200 | [diff] [blame] | 89 | accessMode: ReadWriteOnce |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 90 | size: 2Gi |
| 91 | mountPath: /dockerdata-nfs |
| 92 | mountSubPath: /sdc/sdc-cs/CS |
| 93 | |
kooper | 543d3aa | 2019-05-02 10:27:15 +0000 | [diff] [blame] | 94 | ##Certificate storage persistence |
| 95 | ##This is temporary solution for SDC-1980 |
| 96 | cert: |
| 97 | certDir: /var/lib/jetty/cert |
| 98 | persistence: |
| 99 | enabled: true |
| 100 | size: 10Mi |
Sylvain Desbureaux | c8f45bb | 2020-01-23 11:55:37 +0100 | [diff] [blame] | 101 | accessMode: ReadWriteOnce |
kooper | 543d3aa | 2019-05-02 10:27:15 +0000 | [diff] [blame] | 102 | volumeReclaimPolicy: Retain |
| 103 | mountSubPath: /sdc/onbaording/cert |
| 104 | |
MichaelMorris | 276812c | 2020-04-28 09:34:17 +0100 | [diff] [blame] | 105 | securityContext: |
| 106 | fsGroup: 35953 |
| 107 | runAsUser: 352070 |
kooper | 543d3aa | 2019-05-02 10:27:15 +0000 | [diff] [blame] | 108 | |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 109 | ingress: |
| 110 | enabled: false |
| 111 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 112 | # Resource Limit flavor -By Default using small |
| 113 | flavor: small |
| 114 | # Segregation for Different environment (Small and Large) |
| 115 | resources: |
| 116 | small: |
| 117 | limits: |
| 118 | cpu: 1 |
| 119 | memory: 4Gi |
| 120 | requests: |
| 121 | cpu: 10m |
| 122 | memory: 1Gi |
| 123 | large: |
| 124 | limits: |
| 125 | cpu: 2 |
| 126 | memory: 8Gi |
| 127 | requests: |
| 128 | cpu: 20m |
| 129 | memory: 2Gi |
Mahendra Raghuwanshi | 35f83f5 | 2019-03-20 10:42:49 +0000 | [diff] [blame] | 130 | unlimited: {} |