Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 1 | # ===========LICENSE_START======================================================== |
| 2 | # Copyright (c) 2021 Nokia. All rights reserved. |
| 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 | # ============LICENSE_END========================================================= |
| 16 | |
| 17 | # Global values |
| 18 | global: |
| 19 | pullPolicy: Always |
| 20 | |
| 21 | image: onap/org.onap.sdc.sdc-helm-validator:1.2.0 |
| 22 | containerPort: &svc_port 8080 |
| 23 | |
| 24 | config: |
| 25 | loggingLevel: INFO |
| 26 | |
| 27 | service: |
| 28 | type: ClusterIP |
| 29 | ports: |
| 30 | - name: &port http |
| 31 | port: *svc_port |
| 32 | |
| 33 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 34 | initialDelaySeconds: 1 |
| 35 | periodSeconds: 10 |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 36 | path: /actuator/health |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 37 | successThreshold: 1 |
| 38 | failureThreshold: 3 |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 39 | port: *port |
| 40 | # necessary to disable liveness probe when setting breakpoints |
| 41 | # in debugger so K8s doesn't restart unresponsive container |
| 42 | enabled: true |
| 43 | |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 44 | startup: |
| 45 | initialDelaySeconds: 10 |
| 46 | periodSeconds: 10 |
| 47 | path: /actuator/health |
| 48 | successThreshold: 1 |
| 49 | failureThreshold: 12 |
| 50 | port: *port |
| 51 | |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 52 | flavor: small |
| 53 | resources: |
| 54 | small: |
| 55 | limits: |
| 56 | cpu: 1 |
| 57 | memory: 256Mi |
| 58 | requests: |
| 59 | cpu: 1 |
| 60 | memory: 256Mi |
| 61 | large: |
| 62 | limits: |
| 63 | cpu: 2 |
| 64 | memory: 1Gi |
| 65 | requests: |
| 66 | cpu: 1 |
| 67 | memory: 256Mi |
| 68 | unlimited: {} |