Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T USA |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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. |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 14 | repository: nexus3.onap.org:10001 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 15 | image: onap/so/api-handler-infra:latest |
| 16 | pullPolicy: IfNotPresent |
| 17 | replicaCount: 1 |
| 18 | minReadySeconds: 10 |
| 19 | containerPort: 8080 |
| 20 | logPath: ./logs/apih/ |
| 21 | app: api-handler-infra |
| 22 | service: |
| 23 | type: NodePort |
Mandeep Khinda | dc2b43e | 2018-09-06 16:34:19 +0000 | [diff] [blame] | 24 | nodePort: 77 |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 25 | internalPort: 8080 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 26 | portName: so-apih-port |
| 27 | updateStrategy: |
| 28 | type: RollingUpdate |
| 29 | maxUnavailable: 1 |
| 30 | maxSurge: 1 |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 31 | # Resource Limit flavor -By Default using small |
| 32 | flavor: small |
| 33 | # Segregation for Different environment (Small and Large) |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 34 | resources: |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 35 | small: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 36 | limits: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 37 | cpu: 2000m |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 38 | memory: 4Gi |
| 39 | requests: |
| 40 | cpu: 500m |
| 41 | memory: 1Gi |
| 42 | large: |
| 43 | limits: |
| 44 | cpu: 4000m |
| 45 | memory: 8Gi |
| 46 | requests: |
| 47 | cpu: 1000m |
| 48 | memory: 2Gi |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 49 | livenessProbe: |
| 50 | path: /manage/health |
| 51 | scheme: HTTPS |
| 52 | initialDelaySeconds: 600 |
| 53 | periodSeconds: 60 |
| 54 | timeoutSeconds: 10 |
| 55 | successThreshold: 1 |
| 56 | failureThreshold: 3 |
| 57 | global: |
| 58 | nodePortPrefix: 302 |
| 59 | # docker repository |
| 60 | repository: nexus3.onap.org:10001 |
| 61 | # image pull Policy |
| 62 | pullPolicy: IfNotPresent |
Mike Elliott | 282751f | 2018-04-19 17:24:08 -0400 | [diff] [blame] | 63 | mariadb: |
| 64 | nameOverride: so-db |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 65 | nodeSelector: {} |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 66 | affinity: {} |