Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | #================================================================================= |
| 3 | # Copyright (c) 2021 Nokia. 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 | # Global values |
| 19 | global: |
| 20 | pullPolicy: Always |
| 21 | image: onap/org.onap.dcaegen2.platform.ves-openapi-manager:1.0.1 |
| 22 | containerPort: &svc_port 8080 |
| 23 | |
| 24 | service: |
| 25 | ports: |
| 26 | - name: &port http |
| 27 | port: *svc_port |
| 28 | |
| 29 | externalServices: |
| 30 | sdc_be_https: "sdc-be:8443" |
| 31 | |
| 32 | schemaMap: |
| 33 | filename: "schema-map.json" |
Michal Banka | 254c71b | 2021-03-18 13:09:19 +0100 | [diff] [blame^] | 34 | directory: "/app/mappings" |
Michal Banka | 3d48748 | 2021-02-11 10:36:47 +0100 | [diff] [blame] | 35 | |
| 36 | liveness: |
| 37 | initialDelaySeconds: 30 |
| 38 | periodSeconds: 30 |
| 39 | path: /health |
| 40 | port: *port |
| 41 | # necessary to disable liveness probe when setting breakpoints |
| 42 | # in debugger so K8s doesn't restart unresponsive container |
| 43 | # liveness not desirable for Cloudify Manager container |
| 44 | enabled: true |
| 45 | |
| 46 | readinessCheck: |
| 47 | wait_for: |
| 48 | - message-router |
| 49 | - sdc-be |
| 50 | |
| 51 | flavor: small |
| 52 | resources: |
| 53 | small: |
| 54 | limits: |
| 55 | cpu: 1 |
| 56 | memory: 1Gi |
| 57 | requests: |
| 58 | cpu: 1 |
| 59 | memory: 512Mi |
| 60 | large: |
| 61 | limits: |
| 62 | cpu: 2 |
| 63 | memory: 2Gi |
| 64 | requests: |
| 65 | cpu: 1 |
| 66 | memory: 1Gi |
| 67 | unlimited: {} |