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
d766b43
..
959e243
100644
(file)
--- a/
kubernetes/common/cassandra/values.yaml
+++ b/
kubernetes/common/cassandra/values.yaml
@@
-17,11
+17,16
@@
# 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:
2.1.17
+image: library/cassandra:
3.11.4
pullPolicy: Always
# flag to enable debugging - application support required
pullPolicy: Always
# flag to enable debugging - application support required
@@
-31,7
+36,7
@@
debugEnabled: false
config:
cluster_domain: cluster.local
heap:
config:
cluster_domain: cluster.local
heap:
- max:
512
M
+ max:
2048
M
min: 100M
jvmOpts: -Dcassandra.consistent.rangemovement=false
clusterName: cassandra
min: 100M
jvmOpts: -Dcassandra.consistent.rangemovement=false
clusterName: cassandra
@@
-62,29
+67,35
@@
liveness:
enabled: true
readiness:
enabled: true
readiness:
- initialDelaySeconds:
6
0
+ initialDelaySeconds:
12
0
periodSeconds: 10
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
service:
periodSeconds: 10
timeoutSeconds: 3
successThreshold: 1
failureThreshold: 3
service:
- type: ClusterIP
name: cassandra
name: cassandra
- ports:
- - name: intra
+ headless:
+ suffix: ""
+ annotations:
+ service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
+ publishNotReadyAddresses: true
+ headlessPorts:
+ - name: tcp-intra
port: 7000
- name: tls
port: 7001
port: 7000
- name: tls
port: 7001
- - name: jmx
+ - name:
tcp-
jmx
port: 7199
port: 7199
- - name: cql
+ - name:
tcp-
cql
port: 9042
port: 9042
- - name: thrift
+ ## thrift protocol is deprecated . Should be removed. Being left until all project removes it.
+ - name: tcp-thrift
port: 9160
port: 9160
- - name: agent
+ - name:
tcp-
agent
port: 61621
port: 61621
+podAnnotations: {}
podManagementPolicy: OrderedReady
updateStrategy:
type: RollingUpdate
podManagementPolicy: OrderedReady
updateStrategy:
type: RollingUpdate
@@
-109,12
+120,14
@@
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: {}
configOverrides: {}
@@
-136,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