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 | repository: nexus3.onap.org:10001
|
Alexis de Talhouët | a52efcc | 2018-09-18 16:46:12 -0400 | [diff] [blame] | 15 | image: onap/so/catalog-db-adapter: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: 8082
|
| 20 | logPath: ./logs/catdb/
|
| 21 | app: catalog-db-adapter
|
| 22 | service:
|
| 23 | type: ClusterIP
|
| 24 | internalPort: 8082
|
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 25 | externalPort: 8082
|
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 26 | portName: so-catdb-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:
|
| 37 | memory: 4Gi
|
| 38 | cpu: 2000m
|
vaibhav16dec | 0da8829 | 2018-08-13 06:10:27 +0000 | [diff] [blame] | 39 | requests:
|
| 40 | memory: 1Gi
|
| 41 | cpu: 500m
|
| 42 | large:
|
| 43 | limits:
|
| 44 | memory: 8Gi
|
| 45 | cpu: 4000m
|
| 46 | requests:
|
| 47 | memory: 2Gi
|
| 48 | cpu: 1000m
|
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 49 | livenessProbe:
|
| 50 | path: /manage/health
|
| 51 | port: 8082
|
| 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: []
|
Brian Freeman | 1a66793 | 2018-09-06 14:45:37 -0500 | [diff] [blame] | 62 | affinity: {}
|