Bharath Thiruveedula | 63070de | 2018-08-16 10:08:52 +0530 | [diff] [blame] | 1 | # Copyright (C) 2018 Verizon. All Rights Reserved |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Bharath Thiruveedula | 63070de | 2018-08-16 10:08:52 +0530 | [diff] [blame] | 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 25 | flavor: small |
| 26 | |
dyh | de205f6 | 2021-10-08 17:17:30 +0800 | [diff] [blame] | 27 | image: onap/vfc/db:1.3.5 |
Bharath Thiruveedula | 63070de | 2018-08-16 10:08:52 +0530 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
| 30 | # flag to enable debugging - application support required |
| 31 | debugEnabled: false |
| 32 | |
| 33 | # application configuration |
| 34 | config: {} |
| 35 | |
| 36 | # default number of instances |
| 37 | replicaCount: 1 |
| 38 | |
| 39 | nodeSelector: {} |
| 40 | |
| 41 | affinity: {} |
| 42 | |
| 43 | # probe configuration parameters |
| 44 | liveness: |
| 45 | initialDelaySeconds: 120 |
| 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: 120 |
| 53 | periodSeconds: 10 |
| 54 | |
| 55 | service: |
| 56 | type: ClusterIP |
yangyan | e9871c5 | 2019-04-04 16:28:28 +0800 | [diff] [blame] | 57 | name: vfc-redis |
AndrewLamb | ce8a39c | 2022-07-14 12:51:55 +0100 | [diff] [blame] | 58 | portName: http |
dengyh | 62038bf | 2020-08-21 16:10:58 +0800 | [diff] [blame] | 59 | externalPort: 6379 |
| 60 | internalPort: 6379 |
Bharath Thiruveedula | 63070de | 2018-08-16 10:08:52 +0530 | [diff] [blame] | 61 | |
| 62 | ingress: |
| 63 | enabled: false |
| 64 | |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 65 | # Configure resource requests and limits |
| 66 | resources: |
| 67 | small: |
| 68 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 69 | cpu: "200m" |
| 70 | memory: "0.5Gi" |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 71 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 72 | cpu: "100m" |
| 73 | memory: "0.2Gi" |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 74 | large: |
| 75 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 76 | cpu: "400m" |
| 77 | memory: "1Gi" |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 78 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 79 | cpu: "200m" |
| 80 | memory: "0.5Gi" |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 81 | unlimited: {} |