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/request-db-adapter:latest
|
| 15 | pullPolicy: IfNotPresent
|
| 16 | replicaCount: 1
|
| 17 | minReadySeconds: 10
|
| 18 | containerPort: 8083
|
| 19 | logPath: ./logs/reqdb/
|
| 20 | app: request-db-adapter
|
| 21 | service:
|
| 22 | type: ClusterIP
|
| 23 | internalPort: 8083
|
| 24 | externalPort: 10700
|
| 25 | portName: so-reqdb-port
|
| 26 | updateStrategy:
|
| 27 | type: RollingUpdate
|
| 28 | maxUnavailable: 1
|
| 29 | maxSurge: 1
|
| 30 | resources:
|
| 31 | requests:
|
| 32 | memory: 1Gi
|
| 33 | cpu: 500m
|
| 34 | limits:
|
| 35 | memory: 4Gi
|
| 36 | cpu: 2000m
|
| 37 | livenessProbe:
|
| 38 | path: /manage/health
|
| 39 | port: 8083
|
| 40 | scheme: HTTP
|
| 41 | initialDelaySeconds: 600
|
| 42 | periodSeconds: 60
|
| 43 | timeoutSeconds: 10
|
| 44 | successThreshold: 1
|
| 45 | failureThreshold: 3
|
| 46 | ingress:
|
| 47 | enabled: false
|
| 48 | nodeSelector: {}
|
| 49 | tolerations: []
|
| 50 | affinity: {} |