commiting resource limit for onap-aaf component
[oom.git] / kubernetes / aaf / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   ubuntuInitRepository: registry.hub.docker.com
23   ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
24   persistence:
25     enabled: true
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 config:
30   serviceServiceName: aaf-service
31   locateServiceName: aaf-locate
32   cmServiceName: aaf-cm
33   fsServiceName: aaf-fs
34   guiServiceName: aaf-gui
35   helloServiceName: aaf-hello
36   oauthServiceName: aaf-oauth
37   csServiceName: aaf-cass
38   # gerrit branch where the latest aaf/auth/sample/public code exists
39   gerritProject: http://gerrit.onap.org/r/aaf/authz.git
40   gerritBranch: 2.0.0-ONAP
41
42 flavor: small
43 # default number of instances
44 replicaCount: 1
45
46 nodeSelector: {}
47
48 affinity: {}
49
50 # probe configuration parameters
51 liveness:
52   initialDelaySeconds: 10
53   periodSeconds: 10
54   # necessary to disable liveness probe when setting breakpoints
55   # in debugger so K8s doesn't restart unresponsive container
56   enabled: true
57
58 readiness:
59   initialDelaySeconds: 10
60   periodSeconds: 10
61
62 ingress:
63   enabled: false
64
65 ## Persist data to a persitent volume
66 persistence:
67   ## A manually managed Persistent Volume and Claim
68   ## Requires persistence.enabled: true
69   ## If defined, PVC must be created manually before volume will be bound
70   # existingClaim:
71   volumeReclaimPolicy: Retain
72
73   ## database data Persistent Volume Storage Class
74   ## If defined, storageClassName: <storageClass>
75   ## If set to "-", storageClassName: "", which disables dynamic provisioning
76   ## If undefined (the default) or set to null, no storageClassName spec is
77   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
78   ##   GKE, AWS & OpenStack)
79   ##
80   # storageClass: "-"
81   accessMode: ReadWriteMany
82   size: 2Gi
83   mountPath: /dockerdata-nfs
84   mountSubPath: aaf/data
85
86 # Configure resource requests and limits
87 resources:
88   small:
89     limits:
90       cpu: 2
91       memory: 3Gi
92     requests:
93       cpu: 2
94       memory: 3Gi
95   large:
96     limits:
97       cpu: 4
98       memory: 6Gi
99     requests:
100       cpu: 4
101       memory: 6Gi
102   unlimited: {}