blob: 05f2d08800c2fd8dbf707ffe3302d5a59e5fa29d [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
BorislavG26b650f2018-05-13 17:11:01 +000051 internalPort: 9042
52 portName: cql
53 internalPort2: 9160
54 portName2: thrift
55 internalPort3: 61621
56 portName3: agent
vagrant1a3a3552018-03-10 23:56:32 +000057
58podManagementPolicy: OrderedReady
59updateStrategy:
60 type: OnDelete
61
62ingress:
63 enabled: false
64
65persistence:
Daniel Silverthornfc1a1882018-05-01 18:51:42 +000066 enabled: true
vagrant1a3a3552018-03-10 23:56:32 +000067
68 ## A manually managed Persistent Volume and Claim
69 ## Requires persistence.enabled: true
70 ## If defined, PVC must be created manually before volume will be bound
71 # existingClaim:
72 volumeReclaimPolicy: Retain
73
74 ## database data Persistent Volume Storage Class
75 ## If defined, storageClassName: <storageClass>
76 ## If set to "-", storageClassName: "", which disables dynamic provisioning
77 ## If undefined (the default) or set to null, no storageClassName spec is
78 ## set, choosing the default provisioner. (gp2 on AWS, standard on
79 ## GKE, AWS & OpenStack)
80 ##
81 ## storageClass: "-"
82 accessMode: ReadWriteOnce
83 size: 2Gi
84 mountPath: /dockerdata-nfs
85 mountSubPath: aai/cassandra
86 storageType: local
87 storageClass: ""
88
89
90resources: {}
91 # We usually recommend not to specify default resources and to leave this as a conscious
92 # choice for the user. This also increases chances charts run on environments with little
93 # resources, such as Minikube. If you do want to specify resources, uncomment the following
94 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
95 #
96 # Example:
97 # Configure resource requests and limits
98 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
99 # Minimum memory for development is 2 CPU cores and 4GB memory
100 # Minimum memory for production is 4 CPU cores and 8GB memory
101#resources:
102# limits:
103# cpu: 2
104# memory: 4Gi
105# requests:
106# cpu: 2
107# memory: 4Gi