[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / policy / components / policy-nexus / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018-2020 AT&T Intellectual Property
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 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessImage: onap/oom/readiness:3.0.1
22   ubuntuInitRepository: oomk8s
23   ubuntuInitImage: ubuntu-init:1.0.0
24   persistence: {}
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 # application image
30 repository: nexus3.onap.org:10001
31 image: sonatype/nexus:2.14.13-01
32 pullPolicy: Always
33
34 # flag to enable debugging - application support required
35 debugEnabled: false
36
37 # application configuration
38 config: {}
39
40 # default number of instances
41 replicaCount: 1
42
43 nodeSelector: {}
44
45 affinity: {}
46
47 # probe configuration parameters
48 liveness:
49   initialDelaySeconds: 180
50   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
55 readiness:
56   initialDelaySeconds: 60
57   periodSeconds: 10
58   path: /nexus/service/local/status
59
60 service:
61   type: ClusterIP
62   name: policy-nexus
63   portName: policy-nexus
64   externalPort: 8081
65   internalPort: 8081
66   nodePort: 36
67
68 ingress:
69   enabled: false
70
71 ## Persist data to a persitent volume
72 persistence:
73   enabled: true
74   volumeReclaimPolicy: Retain
75   accessMode: ReadWriteOnce
76   size: 2Gi
77   mountPath: /dockerdata-nfs
78   mountSubPath: policy/nexus/data
79
80 # Segregation for Different environment (Small and Large)
81 # Resource Limit flavor - By Default using small
82 resources:
83   flavor: small
84   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
97       memory: 1Gi
98   unlimited: {}