Mukul | 2b4e753 | 2018-08-03 10:41:29 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Sylvain Desbureaux | 531d03f | 2020-04-22 10:37:45 +0200 | [diff] [blame] | 21 | centralizedLoggingEnabled: false |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 22 | persistence: |
| 23 | mountPath: /dockerdata-nfs |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 24 | |
| 25 | ################################################################# |
Krzysztof Opasiak | e74ed5c | 2020-01-23 11:49:25 +0100 | [diff] [blame] | 26 | # Secrets metaconfig |
| 27 | ################################################################# |
| 28 | secrets: |
| 29 | - uid: "db-root-pass" |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 30 | name: '{{ include "common.release" . }}-appc-db-root-pass' |
| 31 | externalSecret: '{{ .Values.config.dbRootPassExternalSecret }}' |
Krzysztof Opasiak | e74ed5c | 2020-01-23 11:49:25 +0100 | [diff] [blame] | 32 | type: password |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 33 | password: '{{ .Values.config.dbRootPass }}' |
| 34 | - uid: 'appcdb-user-creds' |
| 35 | name: '{{ include "common.release" . }}-appcdb-user-creds' |
| 36 | type: basicAuth |
| 37 | externalSecret: '{{ tpl (default "" .Values.config.appcdb.userCredentialsExternalSecret) . }}' |
| 38 | login: '{{ .Values.config.appcdb.userName }}' |
| 39 | password: '{{ .Values.config.appcdb.password }}' |
| 40 | - uid: 'sdncdb-user-creds' |
| 41 | name: '{{ include "common.release" . }}-sdncdb-user-creds' |
| 42 | type: basicAuth |
| 43 | externalSecret: '{{ tpl (default "" .Values.config.sdncdb.userCredentialsExternalSecret) . }}' |
| 44 | login: '{{ .Values.config.sdncdb.userName }}' |
| 45 | password: '{{ .Values.config.sdncdb.password }}' |
| 46 | |
Krzysztof Opasiak | e74ed5c | 2020-01-23 11:49:25 +0100 | [diff] [blame] | 47 | |
| 48 | ################################################################# |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 49 | # Application configuration defaults. |
| 50 | ################################################################# |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 51 | flavor: small |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 52 | # application image |
Taka Cho | f9cd2cd | 2020-05-23 09:27:19 -0400 | [diff] [blame] | 53 | image: onap/appc-image:1.7.2 |
kerenj | 6ca15a7 | 2017-08-23 12:05:23 +0000 | [diff] [blame] | 54 | pullPolicy: Always |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 55 | |
| 56 | # flag to enable debugging - application support required |
| 57 | debugEnabled: false |
| 58 | |
Sylvain Desbureaux | 531d03f | 2020-04-22 10:37:45 +0200 | [diff] [blame] | 59 | # log configuration |
| 60 | log: |
| 61 | path: /var/log/onap |
| 62 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 63 | # application configuration |
| 64 | config: |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 65 | # dbRootPassExternalSecret: some secret |
| 66 | # dbRootPass: password |
| 67 | appcdb: |
| 68 | # Warning: changing this config option may not work. |
| 69 | # It seems that the DB name is hardcoded. |
| 70 | dbName: appcctl |
| 71 | userName: appcctl |
Krzysztof Opasiak | c336580 | 2020-04-24 19:50:48 +0200 | [diff] [blame] | 72 | # password: appcctl |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 73 | # userCredsExternalSecret: some secret |
| 74 | sdncdb: |
| 75 | # Warning: changing this config option may not work. |
| 76 | # It seems that the DB name is hardcoded. |
| 77 | dbName: sdnctl |
| 78 | userName: sdnctl |
Krzysztof Opasiak | f3569b8 | 2020-04-24 19:53:08 +0200 | [diff] [blame] | 79 | # password: gamma |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 80 | # userCredsExternalSecret: some secret |
Taka Cho | 31eb245 | 2019-06-24 21:10:50 -0400 | [diff] [blame] | 81 | odlUid: 100 |
| 82 | odlGid: 101 |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 83 | ansibleServiceName: appc-ansible-server |
| 84 | ansiblePort: 8000 |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 85 | mariadbGaleraSVCName: &appc-db appc-db |
| 86 | mariadbGaleraContName: *appc-db |
Aaron Hay | a11a92a | 2018-10-29 14:17:02 -0400 | [diff] [blame] | 87 | enableAAF: true |
| 88 | enableClustering: false |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 89 | configDir: /opt/onap/appc/data/properties |
| 90 | dmaapTopic: SUCCESS |
Aaron Hay | afb0a09 | 2018-11-19 17:52:59 -0500 | [diff] [blame] | 91 | dmaapTopicEnv: AUTO |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 92 | logstashServiceName: log-ls |
| 93 | logstashPort: 5044 |
Aaron Hay | d46d63f | 2018-11-13 00:34:05 -0500 | [diff] [blame] | 94 | odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
Aaron Hay | ef1a0ec | 2018-04-30 01:25:41 -0400 | [diff] [blame] | 95 | openStackType: OpenStackProvider |
| 96 | openStackName: OpenStack |
| 97 | openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html |
| 98 | openStackServiceTenantName: default |
| 99 | openStackDomain: default |
| 100 | openStackUserName: admin |
Joss Armstrong | 32e9002 | 2018-12-17 13:16:57 +0000 | [diff] [blame] | 101 | openStackEncryptedPassword: enc:LDEbHEAvTF1R |
Aaron Hay | d46d63f | 2018-11-13 00:34:05 -0500 | [diff] [blame] | 102 | odlUser: admin |
Patrick Brady | add4569 | 2019-11-06 13:52:17 -0800 | [diff] [blame] | 103 | dmaapServiceUrl: http://localhost:8080/publish |
| 104 | dmaapServiceUser: appc |
| 105 | dmaapServicePassword: onapappc |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 106 | |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 107 | appc-ansible-server: |
Sylvain Desbureaux | 856fce1 | 2020-11-21 22:48:15 +0100 | [diff] [blame] | 108 | enabled: true |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 109 | service: |
| 110 | name: appc-ansible-server |
| 111 | internalPort: 8000 |
| 112 | config: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 113 | mysqlServiceName: *appc-db |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 114 | |
Sylvain Desbureaux | 856fce1 | 2020-11-21 22:48:15 +0100 | [diff] [blame] | 115 | appc-cdt: |
| 116 | enabled: true |
| 117 | |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 118 | mariadb-galera: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 119 | nameOverride: *appc-db |
| 120 | rootUser: |
| 121 | externalSecret: '{{ include "common.release" . }}-appc-db-root-pass' |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 122 | service: |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 123 | name: *appc-db |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 124 | nfsprovisionerPrefix: appc |
| 125 | sdnctlPrefix: appc |
| 126 | persistence: |
| 127 | mountSubPath: appc/data |
| 128 | enabled: true |
| 129 | disableNfsProvisioner: true |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 130 | serviceAccount: |
| 131 | nameOverride: *appc-db |
Sylvain Desbureaux | 4d04706 | 2021-05-05 17:16:57 +0200 | [diff] [blame] | 132 | replicaCount: 1 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 133 | |
Marcin Wilk | e45e9fa | 2021-06-18 10:09:20 +0200 | [diff] [blame] | 134 | mariadbConfiguration: |- |
| 135 | [client] |
| 136 | port=3306 |
| 137 | socket=/opt/bitnami/mariadb/tmp/mysql.sock |
| 138 | plugin_dir=/opt/bitnami/mariadb/plugin |
| 139 | |
| 140 | [mysqld] |
| 141 | lower_case_table_names = 1 |
| 142 | default_storage_engine=InnoDB |
| 143 | basedir=/opt/bitnami/mariadb |
| 144 | datadir=/bitnami/mariadb/data |
| 145 | plugin_dir=/opt/bitnami/mariadb/plugin |
| 146 | tmpdir=/opt/bitnami/mariadb/tmp |
| 147 | socket=/opt/bitnami/mariadb/tmp/mysql.sock |
| 148 | pid_file=/opt/bitnami/mariadb/tmp/mysqld.pid |
| 149 | bind_address=0.0.0.0 |
| 150 | |
| 151 | ## Character set |
| 152 | collation_server=utf8_unicode_ci |
| 153 | init_connect='SET NAMES utf8' |
| 154 | character_set_server=utf8 |
| 155 | |
| 156 | ## MyISAM |
| 157 | key_buffer_size=32M |
| 158 | myisam_recover_options=FORCE,BACKUP |
| 159 | |
| 160 | ## Safety |
| 161 | skip_host_cache |
| 162 | skip_name_resolve |
| 163 | max_allowed_packet=16M |
| 164 | max_connect_errors=1000000 |
| 165 | sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE |
| 166 | sysdate_is_now=1 |
| 167 | |
| 168 | ## Binary Logging |
| 169 | log_bin=mysql-bin |
| 170 | expire_logs_days=14 |
| 171 | # Disabling for performance per http://severalnines.com/blog/9-tips-going-production-galera-cluster-mysql |
| 172 | sync_binlog=0 |
| 173 | # Required for Galera |
| 174 | binlog_format=row |
| 175 | |
| 176 | ## Caches and Limits |
| 177 | tmp_table_size=32M |
| 178 | max_heap_table_size=32M |
| 179 | # Re-enabling as now works with Maria 10.1.2 |
| 180 | query_cache_type=1 |
| 181 | query_cache_limit=4M |
| 182 | query_cache_size=256M |
| 183 | max_connections=500 |
| 184 | thread_cache_size=50 |
| 185 | open_files_limit=65535 |
| 186 | table_definition_cache=4096 |
| 187 | table_open_cache=4096 |
| 188 | |
| 189 | ## InnoDB |
| 190 | innodb=FORCE |
| 191 | innodb_strict_mode=1 |
| 192 | # Mandatory per https://github.com/codership/documentation/issues/25 |
| 193 | innodb_autoinc_lock_mode=2 |
| 194 | # Per https://www.percona.com/blog/2006/08/04/innodb-double-write/ |
| 195 | innodb_doublewrite=1 |
| 196 | innodb_flush_method=O_DIRECT |
| 197 | innodb_log_files_in_group=2 |
| 198 | innodb_log_file_size=128M |
| 199 | innodb_flush_log_at_trx_commit=1 |
| 200 | innodb_file_per_table=1 |
| 201 | # 80% Memory is default reco. |
| 202 | # Need to re-evaluate when DB size grows |
| 203 | innodb_buffer_pool_size=2G |
| 204 | innodb_file_format=Barracuda |
| 205 | |
| 206 | ## Logging |
| 207 | log_error=/opt/bitnami/mariadb/logs/mysqld.log |
| 208 | slow_query_log_file=/opt/bitnami/mariadb/logs/mysqld.log |
| 209 | log_queries_not_using_indexes=1 |
| 210 | slow_query_log=1 |
| 211 | |
| 212 | ## SSL |
| 213 | ## Use extraVolumes and extraVolumeMounts to mount /certs filesystem |
| 214 | # ssl_ca=/certs/ca.pem |
| 215 | # ssl_cert=/certs/server-cert.pem |
| 216 | # ssl_key=/certs/server-key.pem |
| 217 | |
| 218 | [galera] |
| 219 | wsrep_on=ON |
| 220 | wsrep_provider=/opt/bitnami/mariadb/lib/libgalera_smm.so |
| 221 | wsrep_sst_method=mariabackup |
| 222 | wsrep_slave_threads=4 |
| 223 | wsrep_cluster_address=gcomm:// |
| 224 | wsrep_cluster_name=galera |
| 225 | wsrep_sst_auth="root:" |
| 226 | # Enabled for performance per https://mariadb.com/kb/en/innodb-system-variables/#innodb_flush_log_at_trx_commit |
| 227 | innodb_flush_log_at_trx_commit=2 |
| 228 | # MYISAM REPLICATION SUPPORT # |
| 229 | wsrep_replicate_myisam=ON |
| 230 | binlog_format=row |
| 231 | default_storage_engine=InnoDB |
| 232 | innodb_autoinc_lock_mode=2 |
| 233 | transaction-isolation=READ-COMMITTED |
| 234 | wsrep_causal_reads=1 |
| 235 | wsrep_sync_wait=7 |
| 236 | |
| 237 | [mariadb] |
| 238 | plugin_load_add=auth_pam |
| 239 | |
| 240 | ## Data-at-Rest Encryption |
| 241 | ## Use extraVolumes and extraVolumeMounts to mount /encryption filesystem |
| 242 | # plugin_load_add=file_key_management |
| 243 | # file_key_management_filename=/encryption/keyfile.enc |
| 244 | # file_key_management_filekey=FILE:/encryption/keyfile.key |
| 245 | # file_key_management_encryption_algorithm=AES_CTR |
| 246 | # encrypt_binlog=ON |
| 247 | # encrypt_tmp_files=ON |
| 248 | |
| 249 | ## InnoDB/XtraDB Encryption |
| 250 | # innodb_encrypt_tables=ON |
| 251 | # innodb_encrypt_temporary_tables=ON |
| 252 | # innodb_encrypt_log=ON |
| 253 | # innodb_encryption_threads=4 |
| 254 | # innodb_encryption_rotate_key_age=1 |
| 255 | |
| 256 | ## Aria Encryption |
| 257 | # aria_encrypt_tables=ON |
| 258 | # encrypt_tmp_disk_tables=ON |
| 259 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 260 | dgbuilder: |
| 261 | nameOverride: appc-dgbuilder |
Dan Timoney | cb0a81f | 2020-07-15 17:31:43 -0400 | [diff] [blame] | 262 | certInitializer: |
| 263 | nameOverride: appc-dgbuilder-cert-initializer |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 264 | config: |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 265 | db: |
| 266 | rootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass' |
| 267 | userCredentialsExternalSecret: '{{ include "common.release" . }}-sdncdb-user-creds' |
Sylvain Desbureaux | 93a5b49 | 2020-11-27 11:07:42 +0100 | [diff] [blame] | 268 | dbPodName: *appc-db |
| 269 | dbServiceName: *appc-db |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 270 | service: |
| 271 | name: appc-dgbuilder |
farida azmy | dc9aef0 | 2021-04-07 17:07:09 +0200 | [diff] [blame] | 272 | serviceAccount: |
| 273 | nameOverride: appc-dgbuilder |
Sylvain Desbureaux | e54644e | 2020-05-04 11:45:16 +0200 | [diff] [blame] | 274 | ingress: |
| 275 | enabled: false |
| 276 | service: |
| 277 | - baseaddr: "appc-dgbuilder" |
| 278 | name: "appc-dgbuilder" |
| 279 | port: 3000 |
| 280 | config: |
| 281 | ssl: "redirect" |
| 282 | |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 283 | #passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3. |
Patrick Brady | 1a62b66 | 2018-05-30 10:56:46 -0700 | [diff] [blame] | 284 | appc-cdt: |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 285 | nodePort3: 11 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 286 | # default number of instances |
Roger Maitland | 6a06997 | 2018-05-09 18:23:58 -0400 | [diff] [blame] | 287 | replicaCount: 1 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 288 | |
| 289 | nodeSelector: {} |
| 290 | |
| 291 | affinity: {} |
| 292 | |
| 293 | # probe configuration parameters |
| 294 | liveness: |
Taka Cho | faf292a | 2019-04-24 09:59:09 -0400 | [diff] [blame] | 295 | initialDelaySeconds: 300 |
| 296 | periodSeconds: 60 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 297 | # necessary to disable liveness probe when setting breakpoints |
| 298 | # in debugger so K8s doesn't restart unresponsive container |
| 299 | enabled: true |
| 300 | |
| 301 | readiness: |
Taka Cho | faf292a | 2019-04-24 09:59:09 -0400 | [diff] [blame] | 302 | initialDelaySeconds: 300 |
| 303 | periodSeconds: 60 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 304 | |
| 305 | service: |
| 306 | type: NodePort |
| 307 | name: appc |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 308 | portName: appc |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 309 | |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 310 | internalPort: 8443 |
| 311 | externalPort: 8443 |
| 312 | nodePort: 30 |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 313 | |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 314 | externalPort2: 1830 |
| 315 | nodePort2: 31 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 316 | clusterPort: 2550 |
| 317 | |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 318 | internalPort3: 9191 |
| 319 | externalPort3: 9090 |
| 320 | nodePort3: 11 |
Patrick Brady | 140deb9 | 2018-05-23 08:56:24 -0700 | [diff] [blame] | 321 | |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 322 | ## Persist data to a persitent volume |
| 323 | persistence: |
| 324 | enabled: true |
| 325 | |
| 326 | ## A manually managed Persistent Volume and Claim |
| 327 | ## Requires persistence.enabled: true |
| 328 | ## If defined, PVC must be created manually before volume will be bound |
| 329 | # existingClaim: |
| 330 | volumeReclaimPolicy: Retain |
| 331 | |
| 332 | ## database data Persistent Volume Storage Class |
| 333 | ## If defined, storageClassName: <storageClass> |
| 334 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 335 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 336 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 337 | ## GKE, AWS & OpenStack) |
| 338 | accessMode: ReadWriteOnce |
| 339 | size: 1Gi |
| 340 | mountPath: /dockerdata-nfs |
| 341 | mountSubPath: appc/mdsal |
| 342 | mdsalPath: /opt/opendaylight/current/daexim |
| 343 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 344 | ingress: |
| 345 | enabled: false |
Lucjan Bryndza | 684487d | 2019-12-02 12:20:10 +0100 | [diff] [blame] | 346 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 347 | - baseaddr: "appc.api" |
Lucjan Bryndza | 684487d | 2019-12-02 12:20:10 +0100 | [diff] [blame] | 348 | name: "appc" |
| 349 | port: 8443 |
| 350 | config: |
| 351 | ssl: "redirect" |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 352 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 353 | # Configure resource requests and limits |
| 354 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 355 | resources: |
| 356 | small: |
| 357 | limits: |
| 358 | cpu: 2 |
| 359 | memory: 4Gi |
| 360 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 361 | cpu: 1 |
| 362 | memory: 2Gi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 363 | large: |
| 364 | limits: |
| 365 | cpu: 4 |
| 366 | memory: 8Gi |
| 367 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 368 | cpu: 2 |
| 369 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 370 | unlimited: {} |