blob: 22055d6e90aeb5698b73e01dce343b068dec9ef0 [file] [log] [blame]
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00001# 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
vagrant1a3a3552018-03-10 23:56:32 +000015# Default values for cassandra.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
vagrant1a3a3552018-03-10 23:56:32 +000020
21
22# application image
23dockerhubRepository: registry.hub.docker.com
24image: cassandra:2.1
25pullPolicy: Always
26
27# application configuration
28config:
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
44replicaCount: 3
45
46nodeSelector: {}
47
48affinity: {}
49
50# probe configuration parameters
51liveness:
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
58readiness:
59 initialDelaySeconds: 10
60 periodSeconds: 10
61
62service:
63 type: ClusterIP
64 name: aai-cassandra
BorislavG26b650f2018-05-13 17:11:01 +000065 internalPort: 9042
66 portName: cql
67 internalPort2: 9160
68 portName2: thrift
69 internalPort3: 61621
70 portName3: agent
vagrant1a3a3552018-03-10 23:56:32 +000071
72podManagementPolicy: OrderedReady
73updateStrategy:
74 type: OnDelete
75
76ingress:
77 enabled: false
78
79persistence:
Daniel Silverthornfc1a1882018-05-01 18:51:42 +000080 enabled: true
vagrant1a3a3552018-03-10 23:56:32 +000081
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
104resources: {}
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