rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2018 Ericsson. All rights reserved. |
| 3 | # ================================================================================ |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | # SPDX-License-Identifier: Apache-2.0 |
| 17 | # ============LICENSE_END========================================================= |
| 18 | # @author: gareth.roper@ericsson.com |
| 19 | image: onap/so/so-monitoring:latest |
| 20 | pullPolicy: IfNotPresent |
| 21 | replicaCount: 1 |
| 22 | minReadySeconds: 10 |
| 23 | containerPort: 9091 |
| 24 | logPath: app/logs/ |
| 25 | app: so-monitoring |
| 26 | service: |
| 27 | type: ClusterIP |
| 28 | internalPort: 9091 |
| 29 | externalPort: 9091 |
| 30 | portName: so-monitor-port |
| 31 | updateStrategy: |
| 32 | type: RollingUpdate |
| 33 | maxUnavailable: 1 |
| 34 | maxSurge: 1 |
| 35 | # Resource Limit flavor -By Default using small |
| 36 | flavor: small |
| 37 | #Segregation for different environment (Small or large) |
| 38 | resources: |
| 39 | small: |
| 40 | requests: |
| 41 | memory: 1Gi |
| 42 | cpu: 10m |
| 43 | limits: |
| 44 | memory: 4Gi |
| 45 | cpu: 1 |
| 46 | large: |
| 47 | requests: |
| 48 | memory: 2Gi |
| 49 | cpu: 20m |
| 50 | limits: |
| 51 | memory: 8Gi |
| 52 | cpu: 2 |
| 53 | readinessProbe: |
| 54 | port: 9091 |
| 55 | initialDelaySeconds: 20 |
| 56 | periodSeconds: 10 |
| 57 | timeoutSeconds: 10 |
| 58 | livenessProbe: |
| 59 | port: 9091 |
| 60 | initialDelaySeconds: 40 |
| 61 | periodSeconds: 10 |
| 62 | timeoutSeconds: 10 |
| 63 | successThreshold: 1 |
| 64 | failureThreshold: 3 |
| 65 | ingress: |
| 66 | enabled: false |
| 67 | nodeSelector: {} |
| 68 | tolerations: [] |
| 69 | affinity: {} |
| 70 | |