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 |
| 22 | multicloudK8sKafkaUser: mc-k8s-sdc-list-kafka-user |
| 23 | |
| 24 | ################################################################# |
| 25 | # Secrets metaconfig |
| 26 | ################################################################# |
| 27 | secrets: |
| 28 | - uid: multicloud-k8s-sdc-kafka-secret |
| 29 | externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}' |
| 30 | type: genericKV |
| 31 | envs: |
| 32 | - name: sasl.jaas.config |
| 33 | value: '{{ .Values.config.someConfig }}' |
| 34 | policy: generate |
Sylvain Desbureaux | 37dc40c | 2020-11-21 22:46:57 +0100 | [diff] [blame] | 35 | |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 36 | ################################################################# |
| 37 | # Application configuration defaults. |
| 38 | ################################################################# |
| 39 | # application image |
Lukasz Rajewski | c8d7aac | 2022-04-12 18:47:25 +0200 | [diff] [blame] | 40 | image: onap/multicloud/k8s:0.10.1 |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 41 | pullPolicy: Always |
| 42 | |
efiacor | c8c3316 | 2022-11-25 11:36:52 +0000 | [diff] [blame] | 43 | config: |
| 44 | someConfig: blah |
| 45 | kafka: |
| 46 | securityProtocol: SASL_PLAINTEXT |
| 47 | saslMechanism: SCRAM-SHA-512 |
| 48 | authType: simple |
| 49 | sdcTopic: |
| 50 | pattern: SDC-DIST |
| 51 | consumerGroup: multicloud |
| 52 | clientId: multicloud-k8s |
| 53 | |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 54 | # flag to enable debugging - application support required |
| 55 | debugEnabled: false |
| 56 | |
| 57 | # application configuration is via config files |
| 58 | |
| 59 | # default number of instances |
| 60 | replicaCount: 1 |
| 61 | |
| 62 | nodeSelector: {} |
| 63 | |
| 64 | affinity: {} |
| 65 | |
| 66 | # probe configuration parameters |
| 67 | liveness: |
| 68 | initialDelaySeconds: 10 |
| 69 | periodSeconds: 30 |
| 70 | # necessary to disable liveness probe when setting breakpoints |
| 71 | # in debugger so K8s doesn't restart unresponsive container |
| 72 | enabled: true |
| 73 | |
| 74 | readiness: |
| 75 | initialDelaySeconds: 10 |
| 76 | periodSeconds: 30 |
| 77 | |
| 78 | service: |
| 79 | type: ClusterIP |
| 80 | name: multicloud-k8s |
Andreas Geissler | dfa23c8 | 2022-05-13 16:54:43 +0200 | [diff] [blame] | 81 | portName: http |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 82 | internalPort: 9015 |
| 83 | externalPort: 9015 |
| 84 | nodePort: 98 |
| 85 | |
| 86 | #Mongo chart overrides for k8splugin |
| 87 | mongo: |
| 88 | nameOverride: multicloud-k8s-mongo |
| 89 | service: |
| 90 | name: multicloud-k8s-mongo |
| 91 | internalPort: 27017 |
| 92 | nfsprovisionerPrefix: multicloud-k8s |
| 93 | sdnctlPrefix: multicloud-k8s |
| 94 | persistence: |
| 95 | mountSubPath: multicloud-k8s/mongo/data |
| 96 | enabled: true |
| 97 | disableNfsProvisioner: true |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 98 | flavor: &storage_flavor large |
| 99 | resources: &storage_resources |
| 100 | small: |
| 101 | limits: |
| 102 | cpu: 100m |
| 103 | memory: 300Mi |
| 104 | requests: |
| 105 | cpu: 10m |
| 106 | memory: 75Mi |
| 107 | large: |
| 108 | limits: |
| 109 | cpu: 200m |
| 110 | memory: 1Gi |
| 111 | requests: |
| 112 | cpu: 50m |
| 113 | memory: 300Mi |
| 114 | unlimited: {} |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 115 | |
Kiran Kamineni | 068a2db | 2019-05-20 17:22:36 -0700 | [diff] [blame] | 116 | #etcd chart overrides for k8splugin |
| 117 | etcd: |
| 118 | nameOverride: multicloud-k8s-etcd |
| 119 | service: |
| 120 | name: multicloud-k8s-etcd |
| 121 | persistence: |
| 122 | mountSubPath: multicloud-k8s/etcd/data |
| 123 | enabled: true |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 124 | flavor: *storage_flavor |
| 125 | resources: *storage_resources |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 126 | |
| 127 | # No persistence right now as we rely on Mongo to handle that |
| 128 | persistence: |
| 129 | enabled: false |
| 130 | volumeReclaimPolicy: Retain |
| 131 | accessMode: ReadWriteOnce |
| 132 | size: 1Gi |
| 133 | mountPath: /dockerdata-nfs |
| 134 | mountSubPath: multicloud-k8s/data |
| 135 | |
| 136 | ingress: |
| 137 | enabled: false |
| 138 | |
liboNet | 80f587a | 2019-05-17 01:30:16 +0800 | [diff] [blame] | 139 | artifactbroker: |
| 140 | internalPort: 9014 |
| 141 | |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 142 | # Configure resource requests and limits |
| 143 | flavor: large |
| 144 | resources: |
| 145 | small: |
| 146 | limits: |
| 147 | cpu: 200m |
| 148 | memory: 500Mi |
| 149 | requests: |
| 150 | cpu: 10m |
| 151 | memory: 10Mi |
| 152 | large: |
| 153 | limits: |
| 154 | cpu: 400m |
| 155 | memory: 1Gi |
| 156 | requests: |
| 157 | cpu: 10m |
| 158 | memory: 100Mi |
| 159 | unlimited: {} |
farida azmy | 7251355 | 2021-10-12 18:55:21 +0200 | [diff] [blame] | 160 | |
| 161 | #Pods Service Account |
| 162 | serviceAccount: |
| 163 | nameOverride: multicloud-k8s |
| 164 | roles: |
| 165 | - read |