blob: 2706ba85a13dde551efb2b246f107c0a7ee173f4 [file] [log] [blame]
vagrant1a3a3552018-03-10 23:56:32 +00001# Default values for cassandra.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
4global: # global defaults
5 nodePortPrefix: 302
vagrant1a3a3552018-03-10 23:56:32 +00006
7
8# application image
9dockerhubRepository: registry.hub.docker.com
10image: cassandra:2.1
11pullPolicy: Always
12
13# application configuration
14config:
15 heap:
16 max: 512M
17 min: 100M
18 jvmOpts: -Dcassandra.consistent.rangemovement=false
19 clusterName: aai-cluster
20 dataCenter: Pod lab
21 rackName: Rack1
22 autoBootstrap: true
23 ports:
24 cql: 9042
25 thrift: 9160
26 # If a JVM Agent is in place
27 # agent: 61621
28
29# default number of instances
30replicaCount: 3
31
32nodeSelector: {}
33
34affinity: {}
35
36# probe configuration parameters
37liveness:
38 initialDelaySeconds: 10
39 periodSeconds: 10
40 # necessary to disable liveness probe when setting breakpoints
41 # in debugger so K8s doesn't restart unresponsive container
42 enabled: true
43
44readiness:
45 initialDelaySeconds: 10
46 periodSeconds: 10
47
48service:
49 type: ClusterIP
50 name: aai-cassandra
51 internalPort: 7000
52 internalPort2: 7001
53 internalPort3: 7199
54 internalPort4: 9042
55
56podManagementPolicy: OrderedReady
57updateStrategy:
58 type: OnDelete
59
60ingress:
61 enabled: false
62
63persistence:
Daniel Silverthornfc1a1882018-05-01 18:51:42 +000064 enabled: true
vagrant1a3a3552018-03-10 23:56:32 +000065
66 ## A manually managed Persistent Volume and Claim
67 ## Requires persistence.enabled: true
68 ## If defined, PVC must be created manually before volume will be bound
69 # existingClaim:
70 volumeReclaimPolicy: Retain
71
72 ## database data Persistent Volume Storage Class
73 ## If defined, storageClassName: <storageClass>
74 ## If set to "-", storageClassName: "", which disables dynamic provisioning
75 ## If undefined (the default) or set to null, no storageClassName spec is
76 ## set, choosing the default provisioner. (gp2 on AWS, standard on
77 ## GKE, AWS & OpenStack)
78 ##
79 ## storageClass: "-"
80 accessMode: ReadWriteOnce
81 size: 2Gi
82 mountPath: /dockerdata-nfs
83 mountSubPath: aai/cassandra
84 storageType: local
85 storageClass: ""
86
87
88resources: {}
89 # We usually recommend not to specify default resources and to leave this as a conscious
90 # choice for the user. This also increases chances charts run on environments with little
91 # resources, such as Minikube. If you do want to specify resources, uncomment the following
92 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
93 #
94 # Example:
95 # Configure resource requests and limits
96 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
97 # Minimum memory for development is 2 CPU cores and 4GB memory
98 # Minimum memory for production is 4 CPU cores and 8GB memory
99#resources:
100# limits:
101# cpu: 2
102# memory: 4Gi
103# requests:
104# cpu: 2
105# memory: 4Gi