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