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