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 |
Alexis de Talhouët | a52efcc | 2018-09-18 16:46:12 -0400 | [diff] [blame] | 15 | image: onap/so/api-handler-infra:1.3.0-STAGING-latest |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 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 |
Alexis de Talhouët | a52efcc | 2018-09-18 16:46:12 -0400 | [diff] [blame] | 31 | # Resource Limit flavor -By Default using small |
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 49 | unlimited: {} |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 50 | livenessProbe: |
Ramesh Parthasarathy | 1ceefda | 2018-09-14 21:22:43 +0000 | [diff] [blame] | 51 | path: /manage/health |
| 52 | scheme: HTTP |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 53 | initialDelaySeconds: 600 |
| 54 | periodSeconds: 60 |
| 55 | timeoutSeconds: 10 |
| 56 | successThreshold: 1 |
| 57 | failureThreshold: 3 |
| 58 | global: |
| 59 | nodePortPrefix: 302 |
| 60 | # docker repository |
| 61 | repository: nexus3.onap.org:10001 |
| 62 | # image pull Policy |
| 63 | pullPolicy: IfNotPresent |
Mike Elliott | 282751f | 2018-04-19 17:24:08 -0400 | [diff] [blame] | 64 | mariadb: |
| 65 | nameOverride: so-db |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 66 | nodeSelector: {} |
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 67 | affinity: {} |