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 | |
AndrewLamb | bd6ff6b | 2023-05-04 15:56:49 +0100 | [diff] [blame] | 34 | serviceMesh: |
| 35 | authorizationPolicy: |
| 36 | authorizedPrincipals: [] |
| 37 | |
Jack Lucas | 4b22da9 | 2021-12-09 21:54:10 -0500 | [diff] [blame] | 38 | # Label on DCAE microservice deployments |
| 39 | # (Used by healthcheck code to find deployments |
| 40 | # created after initial DCAE installation) |
| 41 | deployLabel: dcaeMicroserviceName |
| 42 | |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 43 | # probe configuration parameters |
| 44 | liveness: |
| 45 | initialDelaySeconds: 10 |
| 46 | periodSeconds: 10 |
| 47 | # necessary to disable liveness probe when setting breakpoints |
| 48 | # in debugger so K8s doesn't restart unresponsive container |
| 49 | enabled: true |
| 50 | |
| 51 | readiness: |
| 52 | initialDelaySeconds: 10 |
| 53 | periodSeconds: 10 |
| 54 | # application image |
Jack Lucas | 2c5cff3 | 2023-10-13 10:53:42 -0400 | [diff] [blame] | 55 | image: onap/org.onap.dcaegen2.deployments.healthcheck-container:2.4.1 |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 56 | |
| 57 | # Resource Limit flavor -By Default using small |
| 58 | flavor: small |
| 59 | # Segregation for Different environment (Small and Large) |
| 60 | resources: |
| 61 | small: |
| 62 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 63 | cpu: "2" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 64 | memory: "500Mi" |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 65 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 66 | cpu: "1" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 67 | memory: "500Mi" |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 68 | large: |
| 69 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 70 | cpu: "4" |
| 71 | memory: "1Gi" |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 72 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 73 | cpu: "2" |
| 74 | memory: "1Gi" |
Jack Lucas | d41dbdb | 2021-02-16 11:07:28 -0500 | [diff] [blame] | 75 | unlimited: {} |
| 76 | |
farida azmy | cb03ac7 | 2021-09-12 16:14:12 +0200 | [diff] [blame] | 77 | #Pods Service Account |
| 78 | serviceAccount: |
| 79 | nameOverride: dcae-ms-healthcheck |
| 80 | roles: |
| 81 | - read |