Merge "Set aai&music Cassandra readiness periodSeconds"
[oom.git] / kubernetes / aai / charts / aai-cassandra / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
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 # Default values for cassandra.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 global: # global defaults
19   nodePortPrefix: 302
20
21
22 # application image
23 dockerhubRepository: registry.hub.docker.com
24 image: cassandra:2.1
25 pullPolicy: Always
26
27 # application configuration
28 config:
29   heap:
30     max: 512M
31     min: 100M
32   jvmOpts: -Dcassandra.consistent.rangemovement=false
33   clusterName: aai-cluster
34   dataCenter: Pod lab
35   rackName: Rack1
36   autoBootstrap: true
37   ports:
38     cql: 9042
39     thrift: 9160
40     # If a JVM Agent is in place
41     # agent: 61621
42
43 # default number of instances
44 replicaCount: 3
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 service:
63   type: ClusterIP
64   name: aai-cassandra
65   internalPort: 9042
66   portName: cql
67   internalPort2: 9160
68   portName2: thrift
69   internalPort3: 61621
70   portName3: agent
71
72 podManagementPolicy: OrderedReady
73 updateStrategy:
74   type: OnDelete
75
76 ingress:
77   enabled: false
78
79 persistence:
80   enabled: true
81
82   ## A manually managed Persistent Volume and Claim
83   ## Requires persistence.enabled: true
84   ## If defined, PVC must be created manually before volume will be bound
85   # existingClaim:
86   volumeReclaimPolicy: Retain
87
88   ## database data Persistent Volume Storage Class
89   ## If defined, storageClassName: <storageClass>
90   ## If set to "-", storageClassName: "", which disables dynamic provisioning
91   ## If undefined (the default) or set to null, no storageClassName spec is
92   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
93   ##   GKE, AWS & OpenStack)
94   ##
95   ## storageClass: "-"
96   accessMode: ReadWriteOnce
97   size: 2Gi
98   mountPath: /dockerdata-nfs
99   mountSubPath: aai/cassandra
100   storageType: local
101   storageClass: ""
102
103
104 resources: {}
105   # We usually recommend not to specify default resources and to leave this as a conscious
106   # choice for the user. This also increases chances charts run on environments with little
107   # resources, such as Minikube. If you do want to specify resources, uncomment the following
108   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
109   #
110   # Example:
111   # Configure resource requests and limits
112   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
113   # Minimum memory for development is 2 CPU cores and 4GB memory
114   # Minimum memory for production is 4 CPU cores and 8GB memory
115 #resources:
116 #  limits:
117 #    cpu: 2
118 #    memory: 4Gi
119 #  requests:
120 #    cpu: 2
121 #    memory: 4Gi