blob: 126c4d38acf0657ca2353e6fc46ef6c85d1491cd [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
mayankg2703ced85142018-03-20 05:42:53 +000021 readinessRepository: oomk8s
Sylvain Desbureaux4898dc02019-11-14 13:35:13 +010022 readinessImage: readiness-check:2.0.2
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000023 ubuntuInitRepository: oomk8s
24 ubuntuInitImage: ubuntu-init:1.0.0
25 persistence: {}
mayankg2703ced85142018-03-20 05:42:53 +000026
27#################################################################
28# Application configuration defaults.
29#################################################################
30# application image
31repository: nexus3.onap.org:10001
jhh9b28e0e2019-06-26 22:24:28 -050032image: sonatype/nexus:2.14.13-01
mayankg2703ced85142018-03-20 05:42:53 +000033pullPolicy: Always
34
35# flag to enable debugging - application support required
36debugEnabled: false
37
38# application configuration
mayankg2703ced85142018-03-20 05:42:53 +000039config: {}
mayankg2703ced85142018-03-20 05:42:53 +000040
41# default number of instances
42replicaCount: 1
43
44nodeSelector: {}
45
46affinity: {}
47
48# probe configuration parameters
49liveness:
BorislavG16fc7602018-06-13 10:57:51 +000050 initialDelaySeconds: 180
mayankg2703ced85142018-03-20 05:42:53 +000051 periodSeconds: 10
52 # necessary to disable liveness probe when setting breakpoints
53 # in debugger so K8s doesn't restart unresponsive container
54 enabled: true
55
56readiness:
BorislavG16fc7602018-06-13 10:57:51 +000057 initialDelaySeconds: 60
mayankg2703ced85142018-03-20 05:42:53 +000058 periodSeconds: 10
59 path: /nexus/service/local/status
60
61service:
jhh59ce22d2019-05-14 17:59:36 -050062 type: ClusterIP
jhhd4258672020-08-09 12:08:08 -050063 name: policy-nexus
64 portName: policy-nexus
mayankg270313f06072018-05-07 15:36:00 +000065 externalPort: 8081
jhh59ce22d2019-05-14 17:59:36 -050066 internalPort: 8081
mayankg270313f06072018-05-07 15:36:00 +000067 nodePort: 36
mayankg2703ced85142018-03-20 05:42:53 +000068
69ingress:
70 enabled: false
71
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000072## Persist data to a persitent volume
73persistence:
74 enabled: true
75 volumeReclaimPolicy: Retain
Sylvain Desbureauxdfa9a9b2019-08-29 17:35:51 +020076 accessMode: ReadWriteOnce
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000077 size: 2Gi
78 mountPath: /dockerdata-nfs
jhhd4258672020-08-09 12:08:08 -050079 mountSubPath: policy/nexus/data
Mahendra Raghuwanshi6c9dda82018-04-26 10:06:27 +000080
vaibhavjayas4136f5d2018-08-17 07:01:05 +000081# Segregation for Different environment (Small and Large)
jhhd4258672020-08-09 12:08:08 -050082# Resource Limit flavor - By Default using small
vaibhavjayas4136f5d2018-08-17 07:01:05 +000083resources:
jhhd4258672020-08-09 12:08:08 -050084 flavor: small
vaibhavjayas4136f5d2018-08-17 07:01:05 +000085 small:
86 limits:
87 cpu: 1
88 memory: 1Gi
89 requests:
90 cpu: 1m
91 memory: 0.5Gi
92 large:
93 limits:
94 cpu: 2
95 memory: 2Gi
96 requests:
97 cpu: 2m
Mandeep Khinda60d36d42018-09-24 15:15:48 +000098 memory: 1Gi
jhh59ce22d2019-05-14 17:59:36 -050099 unlimited: {}