Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
| 3 | # Copyright (c) 2021 J. F. Lucas. All rights reserved. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
| 18 | ################################################################# |
| 19 | # Global configuration defaults. |
| 20 | ################################################################# |
| 21 | global: |
| 22 | nodePortPrefix: 302 |
| 23 | nodePortPrefixExt: 304 |
| 24 | |
| 25 | ################################################################# |
| 26 | # Filebeat configuration defaults. |
| 27 | ################################################################# |
| 28 | filebeatConfig: |
| 29 | logstashServiceName: log-ls |
| 30 | logstashPort: 5044 |
| 31 | |
| 32 | ################################################################# |
| 33 | # initContainer images. |
| 34 | ################################################################# |
| 35 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
| 36 | consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0 |
| 37 | |
| 38 | ################################################################# |
| 39 | # Application configuration defaults. |
| 40 | ################################################################# |
| 41 | # application image |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 42 | image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.8.0 |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 43 | pullPolicy: Always |
| 44 | |
| 45 | # log directory where logging sidecar should look for log files |
| 46 | # if absent, no sidecar will be deployed |
| 47 | logDirectory: /var/log/ONAP/dcae-hv-ves-collector |
| 48 | |
| 49 | # directory where TLS certs should be stored |
| 50 | # if absent, no certs will be retrieved and stored |
| 51 | certDirectory: /etc/ves-hv/ssl |
| 52 | |
| 53 | # TLS role -- set to true if microservice acts as server |
| 54 | # If true, an init container will retrieve a server cert |
| 55 | # and key from AAF and mount them in certDirectory. |
| 56 | tlsServer: true |
| 57 | |
| 58 | secrets: |
| 59 | - uid: &aafCredsUID aafcreds |
| 60 | type: basicAuth |
| 61 | login: '{{ .Values.aafCreds.user }}' |
| 62 | password: '{{ .Values.aafCreds.password }}' |
| 63 | passwordPolicy: required |
| 64 | |
| 65 | # dependencies |
| 66 | readinessCheck: |
| 67 | wait_for: |
| 68 | - dcae-config-binding-service |
| 69 | - aaf-cm |
| 70 | |
| 71 | # probe configuration |
| 72 | readiness: |
| 73 | type: exec |
| 74 | initialDelaySeconds: 5 |
| 75 | periodSeconds: 15 |
| 76 | timeoutSeconds: 2 |
| 77 | command: |
| 78 | - /opt/ves-hv-collector/healthcheck.sh |
| 79 | |
| 80 | # service configuration |
| 81 | service: |
| 82 | type: NodePort |
| 83 | name: dcae-hv-ves-collector |
| 84 | ports: |
| 85 | - name: http |
| 86 | port: 6061 |
| 87 | port_protocol: http |
| 88 | nodePort: 22 |
| 89 | |
| 90 | aafCreds: |
| 91 | user: admin |
| 92 | password: admin_secret |
| 93 | |
| 94 | credentials: |
| 95 | - name: AAF_USER |
| 96 | uid: *aafCredsUID |
| 97 | key: login |
| 98 | - name: AAF_PASSWORD |
| 99 | uid: *aafCredsUID |
| 100 | key: password |
| 101 | |
| 102 | # initial application configuration |
| 103 | applicationConfig: |
| 104 | logLevel: INFO |
| 105 | server.idleTimeoutSec: 300 |
| 106 | server.listenPort: 6061 |
| 107 | cbs.requestIntervalSec: 5 |
| 108 | security.sslDisable: false |
| 109 | security.keys.keyStoreFile: /etc/ves-hv/ssl/cert.jks |
| 110 | security.keys.keyStorePasswordFile: /etc/ves-hv/ssl/jks.pass |
| 111 | security.keys.trustStoreFile: /etc/ves-hv/ssl/trust.jks |
| 112 | security.keys.trustStorePasswordFile: /etc/ves-hv/ssl/trust.pass |
| 113 | streams_publishes: |
Tomasz Pietruszkiewicz | 773c5cb | 2021-03-31 07:35:03 +0200 | [diff] [blame] | 114 | ves-3gpp-fault-supervision: |
| 115 | type: kafka |
| 116 | aaf_credentials: |
| 117 | username: ${AAF_USER} |
| 118 | password: ${AAF_PASSWORD} |
| 119 | kafka_info: |
| 120 | bootstrap_servers: message-router-kafka:9092 |
| 121 | topic_name: SEC_3GPP_FAULTSUPERVISION_OUTPUT |
| 122 | ves-3gpp-provisioning: |
| 123 | type: kafka |
| 124 | aaf_credentials: |
| 125 | username: ${AAF_USER} |
| 126 | password: ${AAF_PASSWORD} |
| 127 | kafka_info: |
| 128 | bootstrap_servers: message-router-kafka:9092 |
| 129 | topic_name: SEC_3GPP_PROVISIONING_OUTPUT |
| 130 | ves-3gpp-heartbeat: |
| 131 | type: kafka |
| 132 | aaf_credentials: |
| 133 | username: ${AAF_USER} |
| 134 | password: ${AAF_PASSWORD} |
| 135 | kafka_info: |
| 136 | bootstrap_servers: message-router-kafka:9092 |
| 137 | topic_name: SEC_3GPP_HEARTBEAT_OUTPUT |
| 138 | ves-3gpp-performance-assurance: |
| 139 | type: kafka |
| 140 | aaf_credentials: |
| 141 | username: ${AAF_USER} |
| 142 | password: ${AAF_PASSWORD} |
| 143 | kafka_info: |
| 144 | bootstrap_servers: message-router-kafka:9092 |
| 145 | topic_name: SEC_3GPP_PERFORMANCEASSURANCE_OUTPUT |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 146 | perf3gpp: |
| 147 | type: kafka |
| 148 | aaf_credentials: |
| 149 | username: ${AAF_USER} |
| 150 | password: ${AAF_PASSWORD} |
| 151 | kafka_info: |
| 152 | bootstrap_servers: message-router-kafka:9092 |
| 153 | topic_name: HV_VES_PERF3GPP |
| 154 | |
| 155 | applicationEnv: |
| 156 | JAVA_OPTS: '-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml' |
| 157 | |
| 158 | # Resource Limit flavor -By Default using small |
| 159 | flavor: small |
| 160 | # Segregation for Different environment (Small and Large) |
| 161 | resources: |
| 162 | small: |
| 163 | limits: |
| 164 | cpu: 2 |
| 165 | memory: 2Gi |
| 166 | requests: |
| 167 | cpu: 1 |
| 168 | memory: 1Gi |
| 169 | large: |
| 170 | limits: |
| 171 | cpu: 4 |
| 172 | memory: 4Gi |
| 173 | requests: |
| 174 | cpu: 2 |
| 175 | memory: 2Gi |
| 176 | unlimited: {} |