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 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 19 | ################################################################# |
| 20 | # Global configuration defaults. |
| 21 | ################################################################# |
| 22 | global: |
| 23 | nodePortPrefix: 302 |
| 24 | nodePortPrefixExt: 304 |
| 25 | repository: nexus3.onap.org:10001 |
| 26 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 27 | readinessImage: readiness-check:2.0.2 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 28 | persistence: |
| 29 | mountPath: /dockerdata-nfs |
| 30 | |
| 31 | ################################################################# |
| 32 | # Application configuration defaults. |
| 33 | ################################################################# |
| 34 | repository: nexus3.onap.org:10001 |
Yang Xu | 08296ed | 2019-04-23 11:15:34 -0400 | [diff] [blame] | 35 | image: onap/so/so-monitoring:1.4.0-STAGING-latest |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 36 | pullPolicy: Always |
| 37 | |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 38 | replicaCount: 1 |
| 39 | minReadySeconds: 10 |
| 40 | containerPort: 9091 |
| 41 | logPath: app/logs/ |
| 42 | app: so-monitoring |
| 43 | service: |
eikrwaq | dd0962f | 2018-10-22 11:28:23 +0100 | [diff] [blame] | 44 | type: NodePort |
| 45 | nodePort: 24 |
rope252 | cd2142c | 2018-09-17 12:35:36 +0100 | [diff] [blame] | 46 | internalPort: 9091 |
| 47 | externalPort: 9091 |
| 48 | portName: so-monitor-port |
| 49 | updateStrategy: |
| 50 | type: RollingUpdate |
| 51 | maxUnavailable: 1 |
| 52 | maxSurge: 1 |
| 53 | # Resource Limit flavor -By Default using small |
| 54 | flavor: small |
| 55 | #Segregation for different environment (Small or large) |
| 56 | resources: |
| 57 | small: |
| 58 | requests: |
| 59 | memory: 1Gi |
| 60 | cpu: 10m |
| 61 | limits: |
| 62 | memory: 4Gi |
| 63 | cpu: 1 |
| 64 | large: |
| 65 | requests: |
| 66 | memory: 2Gi |
| 67 | cpu: 20m |
| 68 | limits: |
| 69 | memory: 8Gi |
| 70 | cpu: 2 |
| 71 | readinessProbe: |
| 72 | port: 9091 |
| 73 | initialDelaySeconds: 20 |
| 74 | periodSeconds: 10 |
| 75 | timeoutSeconds: 10 |
| 76 | livenessProbe: |
| 77 | port: 9091 |
| 78 | initialDelaySeconds: 40 |
| 79 | periodSeconds: 10 |
| 80 | timeoutSeconds: 10 |
| 81 | successThreshold: 1 |
| 82 | failureThreshold: 3 |
| 83 | ingress: |
| 84 | enabled: false |
| 85 | nodeSelector: {} |
| 86 | tolerations: [] |
| 87 | affinity: {} |
| 88 | |