Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T USA |
| 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. |
Alexis de Talhouët | a52efcc | 2018-09-18 16:46:12 -0400 | [diff] [blame] | 14 | image: onap/so/request-db-adapter:1.3.0-STAGING-latest |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 15 | pullPolicy: IfNotPresent |
| 16 | replicaCount: 1 |
| 17 | minReadySeconds: 10 |
| 18 | containerPort: 8083 |
| 19 | logPath: ./logs/reqdb/ |
| 20 | app: request-db-adapter |
| 21 | service: |
| 22 | type: ClusterIP |
| 23 | internalPort: 8083 |
| 24 | externalPort: 8083 |
| 25 | portName: so-reqdb-port |
| 26 | updateStrategy: |
| 27 | type: RollingUpdate |
| 28 | maxUnavailable: 1 |
| 29 | maxSurge: 1 |
| 30 | # Resource Limit flavor -By Default using small |
| 31 | flavor: small |
| 32 | # Segregation for Different environment (Small and Large) |
| 33 | resources: |
| 34 | small: |
| 35 | limits: |
| 36 | memory: 4Gi |
| 37 | cpu: 2000m |
| 38 | requests: |
| 39 | memory: 1Gi |
| 40 | cpu: 500m |
| 41 | large: |
| 42 | limits: |
| 43 | memory: 8Gi |
| 44 | cpu: 4000m |
| 45 | requests: |
| 46 | memory: 2Gi |
| 47 | cpu: 1000m |
| 48 | unlimited: {} |
| 49 | livenessProbe: |
| 50 | path: /manage/health |
| 51 | port: 8083 |
| 52 | scheme: HTTP |
| 53 | initialDelaySeconds: 600 |
| 54 | periodSeconds: 60 |
| 55 | timeoutSeconds: 10 |
| 56 | successThreshold: 1 |
| 57 | failureThreshold: 3 |
| 58 | ingress: |
| 59 | enabled: false |
| 60 | nodeSelector: {} |
| 61 | tolerations: [] |
| 62 | affinity: {} |