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