kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 20 | flavor: small |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
| 26 | repository: nexus3.onap.org:10001 |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame^] | 27 | image: onap/aaf/aaf_cass:2.1.2-SNAPSHOT |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 30 | # application configuration |
| 31 | config: {} |
| 32 | |
| 33 | # default number of instances |
| 34 | replicaCount: 1 |
| 35 | |
| 36 | nodeSelector: {} |
| 37 | |
| 38 | affinity: {} |
| 39 | |
| 40 | # probe configuration parameters |
| 41 | liveness: |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame^] | 42 | initialDelaySeconds: 300 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 43 | periodSeconds: 10 |
| 44 | # necessary to disable liveness probe when setting breakpoints |
| 45 | # in debugger so K8s doesn't restart unresponsive container |
| 46 | enabled: true |
| 47 | |
| 48 | readiness: |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame^] | 49 | initialDelaySeconds: 120 |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 50 | periodSeconds: 10 |
| 51 | |
| 52 | service: |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 53 | name: aaf-cass |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 54 | type: ClusterIP |
Mahendra Raghuwanshi | afb1e2a | 2018-05-03 12:15:03 +0000 | [diff] [blame] | 55 | portName: aaf-cs |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 56 | #targetPort |
| 57 | internalPort: 7000 |
| 58 | #port |
| 59 | externalPort: 7000 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 60 | |
kj | 52dfb13 | 2018-03-27 15:50:39 +0300 | [diff] [blame] | 61 | internalPort2: 7001 |
| 62 | externalPort2: 7001 |
| 63 | internalPort3: 9042 |
| 64 | externalPort3: 9042 |
| 65 | internalPort4: 9160 |
| 66 | externalPort4: 9160 |
| 67 | |
| 68 | ingress: |
| 69 | enabled: false |
| 70 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 71 | # Configure resource requests and limits |
| 72 | resources: |
| 73 | small: |
| 74 | limits: |
| 75 | cpu: 200m |
| 76 | memory: 10000Mi |
| 77 | requests: |
| 78 | cpu: 10m |
| 79 | memory: 8500Mi |
| 80 | large: |
| 81 | limits: |
| 82 | cpu: 400m |
| 83 | memory: 12000Mi |
| 84 | requests: |
| 85 | cpu: 40m |
| 86 | memory: 9000Mi |
Mandeep Khinda | 6dcc80d | 2018-10-09 14:47:35 +0000 | [diff] [blame^] | 87 | unlimited: {} |
| 88 | |
| 89 | persistence: |
| 90 | enabled: true |
| 91 | #existingClaim: |
| 92 | mountPath: /dockerdata-nfs |
| 93 | mountSubPath: "cass" |
| 94 | volumeReclaimPolicy: Retain |
| 95 | accessMode: ReadWriteOnce |
| 96 | size: 10Gi |
| 97 | storageClass: "manual" |