Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +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. |
| 14 | image: onap/so/vfc-adapter:latest |
| 15 | pullPolicy: IfNotPresent |
| 16 | replicaCount: 1 |
| 17 | minReadySeconds: 10 |
| 18 | containerPort: 8084 |
| 19 | logPath: ./logs/vfc/ |
| 20 | app: vfc-adapter |
| 21 | service: |
| 22 | type: ClusterIP |
| 23 | internalPort: 8084 |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 24 | externalPort: 8084 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 25 | portName: so-vfc-port |
| 26 | updateStrategy: |
| 27 | type: RollingUpdate |
| 28 | maxUnavailable: 1 |
| 29 | maxSurge: 1 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 30 | # Resource Limit flavor -By Default using small |
| 31 | flavor: small |
| 32 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 33 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 34 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 35 | limits: |
| 36 | memory: 4Gi |
| 37 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 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 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 48 | livenessProbe: |
| 49 | path: /manage/health |
| 50 | port: 8084 |
| 51 | scheme: HTTP |
| 52 | initialDelaySeconds: 600 |
| 53 | periodSeconds: 60 |
| 54 | timeoutSeconds: 10 |
| 55 | successThreshold: 1 |
| 56 | failureThreshold: 3 |
| 57 | ingress: |
| 58 | enabled: false |
| 59 | nodeSelector: {} |
| 60 | tolerations: [] |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 61 | affinity: {} |