blob: 69be914bd4708da274c7763def7b0c5299bf2486 [file] [log] [blame]
mayankg2703ced85142018-03-20 05:42:53 +00001# Copyright © 2017 Amdocs, Bell Canada
jhhd4258672020-08-09 12:08:08 -05002# Modifications Copyright © 2018-2020 AT&T Intellectual Property
mayankg2703ced85142018-03-20 05:42:53 +00003#
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#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000022 ubuntuInitRepository: oomk8s
23 ubuntuInitImage: ubuntu-init:1.0.0
24 persistence: {}
mayankg2703ced85142018-03-20 05:42:53 +000025
26#################################################################
27# Application configuration defaults.
28#################################################################
29# application image
30repository: nexus3.onap.org:10001
jhh9b28e0e2019-06-26 22:24:28 -050031image: sonatype/nexus:2.14.13-01
mayankg2703ced85142018-03-20 05:42:53 +000032pullPolicy: Always
33
34# flag to enable debugging - application support required
35debugEnabled: false
36
37# application configuration
mayankg2703ced85142018-03-20 05:42:53 +000038config: {}
mayankg2703ced85142018-03-20 05:42:53 +000039
40# default number of instances
41replicaCount: 1
42
43nodeSelector: {}
44
45affinity: {}
46
47# probe configuration parameters
48liveness:
BorislavG16fc7602018-06-13 10:57:51 +000049 initialDelaySeconds: 180
mayankg2703ced85142018-03-20 05:42:53 +000050 periodSeconds: 10
51 # necessary to disable liveness probe when setting breakpoints
52 # in debugger so K8s doesn't restart unresponsive container
53 enabled: true
54
55readiness:
BorislavG16fc7602018-06-13 10:57:51 +000056 initialDelaySeconds: 60
mayankg2703ced85142018-03-20 05:42:53 +000057 periodSeconds: 10
58 path: /nexus/service/local/status
59
60service:
jhh59ce22d2019-05-14 17:59:36 -050061 type: ClusterIP
jhhd4258672020-08-09 12:08:08 -050062 name: policy-nexus
63 portName: policy-nexus
mayankg270313f06072018-05-07 15:36:00 +000064 externalPort: 8081
jhh59ce22d2019-05-14 17:59:36 -050065 internalPort: 8081
mayankg270313f06072018-05-07 15:36:00 +000066 nodePort: 36
mayankg2703ced85142018-03-20 05:42:53 +000067
68ingress:
69 enabled: false
70
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000071## Persist data to a persitent volume
72persistence:
73 enabled: true
74 volumeReclaimPolicy: Retain
Sylvain Desbureauxdfa9a9b2019-08-29 17:35:51 +020075 accessMode: ReadWriteOnce
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000076 size: 2Gi
77 mountPath: /dockerdata-nfs
jhhd4258672020-08-09 12:08:08 -050078 mountSubPath: policy/nexus/data
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000079
vaibhavjayas4136f5d2018-08-17 07:01:05 +000080# Segregation for Different environment (Small and Large)
jhhd4258672020-08-09 12:08:08 -050081# Resource Limit flavor - By Default using small
vaibhavjayas4136f5d2018-08-17 07:01:05 +000082resources:
jhhd4258672020-08-09 12:08:08 -050083 flavor: small
vaibhavjayas4136f5d2018-08-17 07:01:05 +000084 small:
85 limits:
86 cpu: 1
87 memory: 1Gi
88 requests:
89 cpu: 1m
90 memory: 0.5Gi
91 large:
92 limits:
93 cpu: 2
94 memory: 2Gi
95 requests:
96 cpu: 2m
Mandeep Khinda60d36d42018-09-24 15:15:48 +000097 memory: 1Gi
jhh59ce22d2019-05-14 17:59:36 -050098 unlimited: {}