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
|
| 15 | image: onap/so/catalog-db-adapter:latest
|
| 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
|
| 25 | externalPort: 10800
|
| 26 | portName: so-catdb-port
|
| 27 | updateStrategy:
|
| 28 | type: RollingUpdate
|
| 29 | maxUnavailable: 1
|
| 30 | maxSurge: 1
|
| 31 | resources:
|
| 32 | requests:
|
| 33 | memory: 1Gi
|
| 34 | cpu: 500m
|
| 35 | limits:
|
| 36 | memory: 4Gi
|
| 37 | cpu: 2000m
|
| 38 | livenessProbe:
|
| 39 | path: /manage/health
|
| 40 | port: 8082
|
| 41 | scheme: HTTP
|
| 42 | initialDelaySeconds: 600
|
| 43 | periodSeconds: 60
|
| 44 | timeoutSeconds: 10
|
| 45 | successThreshold: 1
|
| 46 | failureThreshold: 3
|
| 47 | ingress:
|
| 48 | enabled: false
|
| 49 | nodeSelector: {}
|
| 50 | tolerations: []
|
| 51 | affinity: {} |