c5e5811fd1d963da97459f1e2e7261dc5a78e532
[oom.git] / kubernetes / aaf / components / aaf-cass / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications © 2020 AT&T, Orange
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 global:
16   nodePortPrefix: 302
17   # Readiness image
18   readinessRepository: oomk8s
19   readinessImage: readiness-check:2.0.2
20   # Ubuntu Init image
21   ubuntuInitRepository: registry.hub.docker.com
22   ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
23   # Logging image
24   loggingRepository: docker.elastic.co
25   loggingImage: beats/filebeat:5.5.0
26   # BusyBox image
27   busyboxRepository: registry.hub.docker.com
28   busyboxImage: library/busybox:1.31
29   persistence:
30     enabled: true
31   # Standard OOM
32   pullPolicy: "Always"
33   repository: "nexus3.onap.org:10001"
34
35 flavor: small
36
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
40 # application configuration
41 replicaCount: 1
42
43 nodeSelector: {}
44
45 affinity: {}
46
47 # probe configuration parameters
48 liveness:
49   initialDelaySeconds: 120
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   port: tcp-cql
55
56 image: onap/aaf/aaf_cass:2.1.23
57
58 config:
59   cluster_name: osaaf
60   heap_new_size: 512M
61   max_heap_size: 1024M
62   dc: dc1
63
64 readiness:
65   initialDelaySeconds: 5
66   periodSeconds: 10
67
68 service:
69   name: aaf-cass
70   type: ClusterIP
71   ports:
72     - name: tcp-intra
73       port: 7000
74     - name: tls
75       port: 7001
76     - name: tcp-cql
77       port: 9042
78     - name: tcp-thrift
79       port: 9160
80
81 ingress:
82   enabled: false
83
84 # Configure resource requests and limits
85 resources:
86   small:
87     limits:
88       cpu: 2100m
89       memory: 1792Mi
90     requests:
91       cpu: 30m
92       memory: 1280Mi
93   large:
94     limits:
95       cpu: 4
96       memory: 12000Mi
97     requests:
98       cpu: 40m
99       memory: 9000Mi
100   unlimited: {}
101
102 persistence:
103   enabled: true
104   #existingClaim:
105   mountPath: /dockerdata-nfs
106   mountSubPath: "cass"
107   volumeReclaimPolicy: Retain
108   accessMode: ReadWriteOnce
109   size: 20Gi