Merge "clamphealth check"
[oom.git] / kubernetes / aai / charts / aai-cassandra / values.yaml
1 # Default values for cassandra.
2 # This is a YAML-formatted file.
3 # Declare variables to be passed into your templates.
4 global: # global defaults
5   nodePortPrefix: 302
6
7
8 # application image
9 dockerhubRepository: registry.hub.docker.com
10 image: cassandra:2.1
11 pullPolicy: Always
12
13 # application configuration
14 config:
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
30 replicaCount: 3
31
32 nodeSelector: {}
33
34 affinity: {}
35
36 # probe configuration parameters
37 liveness:
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
44 readiness:
45   initialDelaySeconds: 10
46   periodSeconds: 10
47
48 service:
49   type: ClusterIP
50   name: aai-cassandra
51   internalPort: 9042
52   portName: cql
53   internalPort2: 9160
54   portName2: thrift
55   internalPort3: 61621
56   portName3: agent
57
58 podManagementPolicy: OrderedReady
59 updateStrategy:
60   type: OnDelete
61
62 ingress:
63   enabled: false
64
65 persistence:
66   enabled: true
67
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   
90 resources: {}
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