Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[GENERAL] Use readiness container v3.0.1
[oom.git]
/
kubernetes
/
common
/
cassandra
/
values.yaml
diff --git
a/kubernetes/common/cassandra/values.yaml
b/kubernetes/common/cassandra/values.yaml
index
375d7ae
..
959e243
100644
(file)
--- a/
kubernetes/common/cassandra/values.yaml
+++ b/
kubernetes/common/cassandra/values.yaml
@@
-17,37
+17,39
@@
# Declare variables to be passed into your templates.
global: # global defaults
nodePortPrefix: 302
# Declare variables to be passed into your templates.
global: # global defaults
nodePortPrefix: 302
-
+ persistence:
+ mountPath: /dockerdata-nfs
+ backup:
+ mountPath: /dockerdata-nfs/backup
+ repository: nexus3.onap.org:10001
+ readinessImage: onap/oom/readiness:3.0.1
# application image
repository: nexus3.onap.org:10001
# application image
repository: nexus3.onap.org:10001
-image: library/cassandra:3.11
+image: library/cassandra:3.11
.4
pullPolicy: Always
# flag to enable debugging - application support required
debugEnabled: false
pullPolicy: Always
# flag to enable debugging - application support required
debugEnabled: false
-# configmapping detail whether it exist locally or not
-# by default it is false, if you wanna configure it then mention
-# locally TRUE value in local values.yaml.
-
-configmapping: false
-
# application configuration
config:
# application configuration
config:
+ cluster_domain: cluster.local
heap:
heap:
- max:
512
M
+ max:
2048
M
min: 100M
jvmOpts: -Dcassandra.consistent.rangemovement=false
clusterName: cassandra
dataCenter: Pod
rackName: Rack
autoBootstrap: true
min: 100M
jvmOpts: -Dcassandra.consistent.rangemovement=false
clusterName: cassandra
dataCenter: Pod
rackName: Rack
autoBootstrap: true
- cassandraUsername: root
- cassandraPassword: root
+ # If hostNetwork is true then provide the comma separated list of seeds.
+ #seeds:seed1,seed2
# default number of instances
# default number of instances
-replicaCount: 1
+replicaCount: 3
+
+hostNetwork: false
nodeSelector: {}
nodeSelector: {}
@@
-57,32
+59,46
@@
affinity: {}
liveness:
initialDelaySeconds: 60
periodSeconds: 10
liveness:
initialDelaySeconds: 60
periodSeconds: 10
+ timeoutSeconds: 3
+ successThreshold: 1
+ failureThreshold: 3
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
readiness:
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
enabled: true
readiness:
- initialDelaySeconds:
6
0
+ initialDelaySeconds:
12
0
periodSeconds: 10
periodSeconds: 10
+ timeoutSeconds: 3
+ successThreshold: 1
+ failureThreshold: 3
service:
service:
- type: ClusterIP
name: cassandra
name: cassandra
- portName: cassandra
- externalPort: 9160
- internalPort: 9160
- externalPort2: 7000
- internalPort2: 7000
- externalPort3: 7001
- internalPort3: 7001
- externalPort4: 7199
- internalPort4: 7199
- externalPort5: 9042
- internalPort5: 9042
-
+ headless:
+ suffix: ""
+ annotations:
+ service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
+ publishNotReadyAddresses: true
+ headlessPorts:
+ - name: tcp-intra
+ port: 7000
+ - name: tls
+ port: 7001
+ - name: tcp-jmx
+ port: 7199
+ - name: tcp-cql
+ port: 9042
+ ## thrift protocol is deprecated . Should be removed. Being left until all project removes it.
+ - name: tcp-thrift
+ port: 9160
+ - name: tcp-agent
+ port: 61621
+
+podAnnotations: {}
podManagementPolicy: OrderedReady
updateStrategy:
podManagementPolicy: OrderedReady
updateStrategy:
- type:
OnDele
te
+ type:
RollingUpda
te
ingress:
enabled: false
ingress:
enabled: false
@@
-104,13
+120,16
@@
persistence:
## GKE, AWS & OpenStack)
##
## storageClass: "-"
## GKE, AWS & OpenStack)
##
## storageClass: "-"
+ ## Not set as it depends of the backup enabledment or not.
accessMode: ReadWriteOnce
size: 2Gi
mountPath: /dockerdata-nfs
mountSubPath: cassandra
storageType: local
accessMode: ReadWriteOnce
size: 2Gi
mountPath: /dockerdata-nfs
mountSubPath: cassandra
storageType: local
- storageClass: ""
+ backup:
+ mountPath: /dockerdata-nfs/backup
+configOverrides: {}
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
@@
-130,3
+149,12
@@
resources: {}
# requests:
# cpu: 2
# memory: 4Gi
# requests:
# cpu: 2
# memory: 4Gi
+backup:
+ enabled: false
+ cron: "00 00 * * *"
+ retentionPeriod: 3
+ dbSize: 1
+ keyspacesToSkip:
+ - name: system_traces
+ - name: system_auth
+ - name: system_distributed