Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | #================================================================================= |
| 3 | # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. |
| 4 | # Modifications Copyright © 2018 Amdocs, Bell Canada |
| 5 | # Modifications Copyright © 2020 Nokia |
| 6 | # Copyright (c) 2021 J. F. Lucas. All rights reserved. |
| 7 | # ================================================================================ |
| 8 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | # you may not use this file except in compliance with the License. |
| 10 | # You may obtain a copy of the License at |
| 11 | # |
| 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | # |
| 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | # See the License for the specific language governing permissions and |
| 18 | # limitations under the License. |
| 19 | # ============LICENSE_END========================================================= |
| 20 | |
| 21 | ################################################################# |
| 22 | # Global configuration defaults. |
| 23 | ################################################################# |
| 24 | global: |
| 25 | nodePortPrefix: 302 |
| 26 | |
| 27 | service: |
| 28 | type: ClusterIP |
| 29 | name: dcae-ms-healthcheck |
| 30 | ports: |
| 31 | - port: 8080 |
| 32 | name: http |
| 33 | |
Jack Lucas | 4b22da9 | 2021-12-09 21:54:10 -0500 | [diff] [blame] | 34 | # Label on DCAE microservice deployments |
| 35 | # (Used by healthcheck code to find deployments |
| 36 | # created after initial DCAE installation) |
| 37 | deployLabel: dcaeMicroserviceName |
| 38 | |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 39 | # probe configuration parameters |
| 40 | liveness: |
| 41 | initialDelaySeconds: 10 |
| 42 | periodSeconds: 10 |
| 43 | # necessary to disable liveness probe when setting breakpoints |
| 44 | # in debugger so K8s doesn't restart unresponsive container |
| 45 | enabled: true |
| 46 | |
| 47 | readiness: |
| 48 | initialDelaySeconds: 10 |
| 49 | periodSeconds: 10 |
| 50 | # application image |
Jack Lucas | 4b22da9 | 2021-12-09 21:54:10 -0500 | [diff] [blame] | 51 | image: onap/org.onap.dcaegen2.deployments.healthcheck-container:2.4.0 |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 52 | |
| 53 | # Resource Limit flavor -By Default using small |
| 54 | flavor: small |
| 55 | # Segregation for Different environment (Small and Large) |
| 56 | resources: |
| 57 | small: |
| 58 | limits: |
| 59 | cpu: 2 |
| 60 | memory: 2Gi |
| 61 | requests: |
| 62 | cpu: 1 |
| 63 | memory: 1Gi |
| 64 | large: |
| 65 | limits: |
| 66 | cpu: 4 |
| 67 | memory: 4Gi |
| 68 | requests: |
| 69 | cpu: 2 |
| 70 | memory: 2Gi |
| 71 | unlimited: {} |
| 72 | |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 73 | #Pods Service Account |
| 74 | serviceAccount: |
| 75 | nameOverride: dcae-ms-healthcheck |
| 76 | roles: |
| 77 | - read |