Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 1 | # Copyright 2019 Intel Corporation, Inc |
| 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 | nodePortPrefixExt: 304 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 20 | readinessImage: onap/oom/readiness:3.0.1 |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 21 | loggingRepository: docker.elastic.co |
| 22 | loggingImage: beats/filebeat:5.5.0 |
| 23 | persistence: {} |
| 24 | ################################################################# |
| 25 | # Application configuration defaults. |
| 26 | ################################################################# |
| 27 | # application image |
Ondřej Šmalec | b9983d7 | 2019-10-09 14:05:35 +0200 | [diff] [blame] | 28 | repository: nexus3.onap.org:10001 |
Eric Multanen | 32e83bf | 2020-10-09 15:23:52 -0700 | [diff] [blame^] | 29 | image: onap/multicloud/k8s:0.7.0 |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | |
| 32 | # flag to enable debugging - application support required |
| 33 | debugEnabled: false |
| 34 | |
| 35 | # application configuration is via config files |
| 36 | |
| 37 | # default number of instances |
| 38 | replicaCount: 1 |
| 39 | |
| 40 | nodeSelector: {} |
| 41 | |
| 42 | affinity: {} |
| 43 | |
| 44 | # probe configuration parameters |
| 45 | liveness: |
| 46 | initialDelaySeconds: 10 |
| 47 | periodSeconds: 30 |
| 48 | # necessary to disable liveness probe when setting breakpoints |
| 49 | # in debugger so K8s doesn't restart unresponsive container |
| 50 | enabled: true |
| 51 | |
| 52 | readiness: |
| 53 | initialDelaySeconds: 10 |
| 54 | periodSeconds: 30 |
| 55 | |
| 56 | service: |
| 57 | type: ClusterIP |
| 58 | name: multicloud-k8s |
| 59 | portName: multicloud-k8s |
| 60 | internalPort: 9015 |
| 61 | externalPort: 9015 |
| 62 | nodePort: 98 |
| 63 | |
| 64 | #Mongo chart overrides for k8splugin |
| 65 | mongo: |
| 66 | nameOverride: multicloud-k8s-mongo |
| 67 | service: |
| 68 | name: multicloud-k8s-mongo |
| 69 | internalPort: 27017 |
| 70 | nfsprovisionerPrefix: multicloud-k8s |
| 71 | sdnctlPrefix: multicloud-k8s |
| 72 | persistence: |
| 73 | mountSubPath: multicloud-k8s/mongo/data |
| 74 | enabled: true |
| 75 | disableNfsProvisioner: true |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 76 | flavor: &storage_flavor large |
| 77 | resources: &storage_resources |
| 78 | small: |
| 79 | limits: |
| 80 | cpu: 100m |
| 81 | memory: 300Mi |
| 82 | requests: |
| 83 | cpu: 10m |
| 84 | memory: 75Mi |
| 85 | large: |
| 86 | limits: |
| 87 | cpu: 200m |
| 88 | memory: 1Gi |
| 89 | requests: |
| 90 | cpu: 50m |
| 91 | memory: 300Mi |
| 92 | unlimited: {} |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 93 | |
Kiran Kamineni | 068a2db | 2019-05-20 17:22:36 -0700 | [diff] [blame] | 94 | #etcd chart overrides for k8splugin |
| 95 | etcd: |
| 96 | nameOverride: multicloud-k8s-etcd |
| 97 | service: |
| 98 | name: multicloud-k8s-etcd |
| 99 | persistence: |
| 100 | mountSubPath: multicloud-k8s/etcd/data |
| 101 | enabled: true |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 102 | flavor: *storage_flavor |
| 103 | resources: *storage_resources |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 104 | |
| 105 | # No persistence right now as we rely on Mongo to handle that |
| 106 | persistence: |
| 107 | enabled: false |
| 108 | volumeReclaimPolicy: Retain |
| 109 | accessMode: ReadWriteOnce |
| 110 | size: 1Gi |
| 111 | mountPath: /dockerdata-nfs |
| 112 | mountSubPath: multicloud-k8s/data |
| 113 | |
| 114 | ingress: |
| 115 | enabled: false |
| 116 | |
liboNet | 80f587a | 2019-05-17 01:30:16 +0800 | [diff] [blame] | 117 | artifactbroker: |
| 118 | internalPort: 9014 |
| 119 | |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 120 | # Configure resource requests and limits |
| 121 | flavor: large |
| 122 | resources: |
| 123 | small: |
| 124 | limits: |
| 125 | cpu: 200m |
| 126 | memory: 500Mi |
| 127 | requests: |
| 128 | cpu: 10m |
| 129 | memory: 10Mi |
| 130 | large: |
| 131 | limits: |
| 132 | cpu: 400m |
| 133 | memory: 1Gi |
| 134 | requests: |
| 135 | cpu: 10m |
| 136 | memory: 100Mi |
| 137 | unlimited: {} |