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 |
| 22 | readinessImage: readiness-check:2.0.0 |
| 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 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame^] | 31 | image: onap/sdc-onboard-backend:1.2.0 |
| 32 | onboardingInitImage: onap/sdc-onboard-cassandra-init:1.2.0 |
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: |
| 39 | javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=4001,server=y,suspend=n -Xmx1g -Xms1g" |
| 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: |
| 51 | initialDelaySeconds: 60 |
| 52 | periodSeconds: 10 |
| 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: |
| 58 | initialDelaySeconds: 60 |
| 59 | periodSeconds: 10 |
| 60 | |
| 61 | service: |
| 62 | type: ClusterIP |
| 63 | name: sdc-onboarding-be |
| 64 | portName: sdc-onboarding-be |
| 65 | internalPort: 8445 |
| 66 | externalPort: 8445 |
| 67 | internalPort2: 8081 |
| 68 | externalPort2: 8081 |
| 69 | |
| 70 | ## Persist data to a persitent volume |
| 71 | persistence: |
| 72 | enabled: true |
| 73 | |
| 74 | ## A manually managed Persistent Volume and Claim |
| 75 | ## Requires persistence.enabled: true |
| 76 | ## If defined, PVC must be created manually before volume will be bound |
| 77 | # existingClaim: |
| 78 | volumeReclaimPolicy: Retain |
| 79 | |
| 80 | ## database data Persistent Volume Storage Class |
| 81 | ## If defined, storageClassName: <storageClass> |
| 82 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 83 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 84 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 85 | ## GKE, AWS & OpenStack) |
| 86 | ## |
| 87 | # storageClass: "-" |
| 88 | accessMode: ReadWriteMany |
| 89 | size: 2Gi |
| 90 | mountPath: /dockerdata-nfs |
| 91 | mountSubPath: /sdc/sdc-cs/CS |
| 92 | |
| 93 | ingress: |
| 94 | enabled: false |
| 95 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 96 | # Resource Limit flavor -By Default using small |
| 97 | flavor: small |
| 98 | # Segregation for Different environment (Small and Large) |
| 99 | resources: |
| 100 | small: |
| 101 | limits: |
| 102 | cpu: 1 |
| 103 | memory: 4Gi |
| 104 | requests: |
| 105 | cpu: 10m |
| 106 | memory: 1Gi |
| 107 | large: |
| 108 | limits: |
| 109 | cpu: 2 |
| 110 | memory: 8Gi |
| 111 | requests: |
| 112 | cpu: 20m |
| 113 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 114 | unlimited: {} |