BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 3 | # Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved. |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 4 | # Modifications Copyright © 2018 Amdocs, Bell Canada |
Jack Lucas | 089cd9d | 2020-09-30 12:24:20 -0400 | [diff] [blame] | 5 | # Copyright (c) 2020 J. F. Lucas. All rights reserved. |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 6 | # ================================================================================ |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # ============LICENSE_END========================================================= |
| 19 | |
| 20 | ################################################################# |
| 21 | # Global configuration defaults. |
| 22 | ################################################################# |
| 23 | global: |
| 24 | nodePortPrefix: 302 |
Jack Lucas | 346b52f | 2019-02-07 18:36:42 -0500 | [diff] [blame] | 25 | persistence: {} |
Jack Lucas | c70bc7e | 2019-09-23 09:02:31 -0400 | [diff] [blame] | 26 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
BorislavG | 254272e | 2018-05-09 14:34:14 +0000 | [diff] [blame] | 27 | repositoryCred: |
| 28 | user: docker |
| 29 | password: docker |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 30 | |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 31 | secrets: |
| 32 | - uid: 'cm-pass' |
| 33 | type: password |
| 34 | externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}' |
| 35 | password: '{{ .Values.config.cloudifyManagerPassword }}' |
| 36 | policy: required |
| 37 | |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 38 | config: |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 39 | cloudifyManagerPassword: "override me" |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 40 | logstashServiceName: log-ls |
| 41 | logstashPort: 5044 |
| 42 | # Addresses of other ONAP entities |
| 43 | address: |
| 44 | consul: |
| 45 | host: consul-server |
| 46 | port: 8500 |
| 47 | |
| 48 | ################################################################# |
| 49 | # Application configuration defaults. |
| 50 | ################################################################# |
| 51 | # application image |
Piotr Marcinkiewicz | 207d7a2 | 2020-09-30 09:40:35 +0200 | [diff] [blame] | 52 | image: onap/org.onap.dcaegen2.deployments.cm-container:3.4.1 |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 53 | pullPolicy: Always |
| 54 | |
Jack Lucas | ecc9f60 | 2019-03-19 11:38:42 -0400 | [diff] [blame] | 55 | # name of shared ConfigMap with kubeconfig for multiple clusters |
| 56 | multisiteConfigMapName: multisite-kubeconfig-configmap |
| 57 | |
| 58 | # image for init container to initialize shared ConfigMap |
Vijay Venkatesh Kumar | 6ef010c | 2019-05-01 18:41:35 +0000 | [diff] [blame] | 59 | multisiteInitImage: onap/org.onap.dcaegen2.deployments.multisite-init-container:1.0.0 |
Jack Lucas | ecc9f60 | 2019-03-19 11:38:42 -0400 | [diff] [blame] | 60 | |
Jack Lucas | 128c0ad | 2019-09-04 15:44:33 -0400 | [diff] [blame] | 61 | # image for cleanup job container |
| 62 | cleanupImage: onap/org.onap.dcaegen2.deployments.dcae-k8s-cleanup-container:1.0.0 |
| 63 | |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 64 | # probe configuration parameters |
| 65 | liveness: |
| 66 | initialDelaySeconds: 10 |
| 67 | periodSeconds: 10 |
Jack Lucas | 089cd9d | 2020-09-30 12:24:20 -0400 | [diff] [blame] | 68 | timeoutSeconds: 5 |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 69 | # necessary to disable liveness probe when setting breakpoints |
| 70 | # in debugger so K8s doesn't restart unresponsive container |
Jack Lucas | 7586f97 | 2018-10-31 13:47:16 -0400 | [diff] [blame] | 71 | # liveness not desirable for Cloudify Manager container |
| 72 | enabled: false |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 73 | |
| 74 | readiness: |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 75 | initialDelaySeconds: 60 |
Jack Lucas | 089cd9d | 2020-09-30 12:24:20 -0400 | [diff] [blame] | 76 | # In some environments we see CM coming up |
| 77 | # properly but readiness probe timing out. |
| 78 | # Increasing the timeout and adjusting the |
| 79 | # period so it's longer than the timeout. |
| 80 | # (DCAEGEN2-2465) |
| 81 | periodSeconds: 30 |
| 82 | timeoutSeconds: 10 |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 83 | |
| 84 | service: |
| 85 | type: ClusterIP |
| 86 | name: dcae-cloudify-manager |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 87 | externalPort: 443 |
| 88 | internalPort: 443 |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 89 | |
vaibhav_16dec | db582fa | 2018-09-20 12:32:47 +0000 | [diff] [blame] | 90 | # Resource Limit flavor -By Default using small |
| 91 | flavor: small |
| 92 | # Segregation for Different environment (Small and Large) |
Jack Lucas | ab19289 | 2020-10-06 12:01:59 -0400 | [diff] [blame] | 93 | # Due to memory issues in ONAP integration environment, |
| 94 | # we've increased the memory amounts for both flavors. |
vaibhav_16dec | db582fa | 2018-09-20 12:32:47 +0000 | [diff] [blame] | 95 | resources: |
| 96 | small: |
| 97 | limits: |
| 98 | cpu: 2 |
Jack Lucas | ab19289 | 2020-10-06 12:01:59 -0400 | [diff] [blame] | 99 | memory: 4Gi |
vaibhav_16dec | db582fa | 2018-09-20 12:32:47 +0000 | [diff] [blame] | 100 | requests: |
| 101 | cpu: 1 |
Jack Lucas | ab19289 | 2020-10-06 12:01:59 -0400 | [diff] [blame] | 102 | memory: 2Gi |
vaibhav_16dec | db582fa | 2018-09-20 12:32:47 +0000 | [diff] [blame] | 103 | large: |
| 104 | limits: |
| 105 | cpu: 4 |
Jack Lucas | ab19289 | 2020-10-06 12:01:59 -0400 | [diff] [blame] | 106 | memory: 8Gi |
vaibhav_16dec | db582fa | 2018-09-20 12:32:47 +0000 | [diff] [blame] | 107 | requests: |
| 108 | cpu: 2 |
Jack Lucas | ab19289 | 2020-10-06 12:01:59 -0400 | [diff] [blame] | 109 | memory: 4Gi |
vaibhav_16dec | db582fa | 2018-09-20 12:32:47 +0000 | [diff] [blame] | 110 | unlimited: {} |
BorislavG | e904ab2 | 2018-04-03 16:55:55 +0300 | [diff] [blame] | 111 | # Kubernetes namespace for components deployed via Cloudify manager |
| 112 | # If empty, use the common namespace |
Lusheng Ji | 98f947e | 2018-04-30 12:03:37 -0400 | [diff] [blame] | 113 | # dcae_ns: "dcae" |
Jack Lucas | cec10b4 | 2018-12-04 15:10:28 -0500 | [diff] [blame] | 114 | |
| 115 | # Parameters for persistent storage |
| 116 | persistence: |
| 117 | enabled: true |
| 118 | accessMode: ReadWriteOnce |
| 119 | size: 4Gi |
| 120 | mountPath: /dockerdata-nfs |
| 121 | mountSubPath: dcae-cm/data |
Sylvain Desbureaux | 03c36f9 | 2019-11-29 15:22:29 +0100 | [diff] [blame] | 122 | volumeReclaimPolicy: Retain |