mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
258 lines
7.2 KiB
YAML
258 lines
7.2 KiB
YAML
## Global Docker image parameters
|
|
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
|
|
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
|
|
##
|
|
# global:
|
|
# imageRegistry: myRegistryName
|
|
# imagePullSecrets:
|
|
# - myRegistryKeySecretName
|
|
# storageClass: myStorageClass
|
|
|
|
## Bitnami Cassandra image version
|
|
## ref: https://hub.docker.com/r/bitnami/cassandra/tags/
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/cassandra
|
|
## Bitnami Cassandra image tag
|
|
## ref: https://github.com/bitnami/bitnami-docker-cassandra#supported-tags-and-respective-dockerfile-links
|
|
##
|
|
tag: 3.11.4-debian-9-r183
|
|
## Specify a imagePullPolicy
|
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
pullPolicy: IfNotPresent
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
##
|
|
# pullSecrets:
|
|
# - myRegistryKeySecretName
|
|
|
|
## String to partially override cassandra.fullname template (will maintain the release name)
|
|
##
|
|
# nameOverride:
|
|
|
|
## String to fully override cassandra.fullname template
|
|
##
|
|
# fullnameOverride:
|
|
|
|
## Init containers parameters:
|
|
## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
|
|
##
|
|
volumePermissions:
|
|
enabled: false
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/minideb
|
|
tag: stretch
|
|
pullPolicy: Always
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
##
|
|
# pullSecrets:
|
|
# - myRegistryKeySecretName
|
|
resources: {}
|
|
|
|
## Specify a service type
|
|
## ref: http://kubernetes.io/docs/user-guide/services/
|
|
##
|
|
service:
|
|
type: ClusterIP
|
|
## CQL Port
|
|
port: 9042
|
|
thriftPort: 9160
|
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
# nodePort: 30001
|
|
# loadBalancerIP:
|
|
|
|
## Provide any additional annotations which may be required. This can be used to
|
|
## set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
|
|
## Enable persistence using Persistent Volume Claims
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
persistence:
|
|
## If true, use a Persistent Volume Claim, If false, use emptyDir
|
|
##
|
|
enabled: true
|
|
## Persistent Volume Storage Class
|
|
## If defined, storageClassName: <storageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
## GKE, AWS & OpenStack)
|
|
##
|
|
# storageClass: "-"
|
|
## Persistent Volume Claim annotations
|
|
##
|
|
annotations:
|
|
## Persistent Volume Access Mode
|
|
##
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
## Persistent Volume size
|
|
##
|
|
size: 8Gi
|
|
|
|
## Configure resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
## Minimum memory for development is 4GB and 2 CPU cores
|
|
## Minimum memory for production is 8GB and 4 CPU cores
|
|
## ref: http://docs.datastax.com/en/archived/cassandra/2.0/cassandra/architecture/architecturePlanningHardware_c.html
|
|
##
|
|
resources: {}
|
|
# requests:
|
|
# memory: 4Gi
|
|
# cpu: 2
|
|
# limits:
|
|
# memory: 4Gi
|
|
# cpu: 2
|
|
|
|
## Secret with keystore, keystore password, truststore, truststore password
|
|
# tlsEncryptionSecretName:
|
|
## ConfigMap with custom cassandra configuration files. This overrides any other Cassandra configuration set in the chart
|
|
# existingConfiguration:
|
|
|
|
## Cluster parameters
|
|
##
|
|
cluster:
|
|
name: cassandra
|
|
replicaCount: 1
|
|
seedCount: 1
|
|
numTokens: 256
|
|
datacenter: dc1
|
|
rack: rack1
|
|
enableRPC: true
|
|
endpointSnitch: SimpleSnitch
|
|
minimumAvailable: 1
|
|
## Encryption values. NOTE: They require tlsEncryptionSecretName
|
|
internodeEncryption: none
|
|
clientEncryption: false
|
|
domain: cluster.local
|
|
|
|
jvm:
|
|
## Extra JVM Settings
|
|
##
|
|
extraOpts:
|
|
|
|
## Memory settings: These are calculated automatically
|
|
## unless specified otherwise
|
|
##
|
|
# maxHeapSize: 4G
|
|
# newHeapSize: 800M
|
|
|
|
## Database credentials
|
|
##
|
|
dbUser:
|
|
user: cassandra
|
|
forcePassword: false
|
|
# password:
|
|
# existingSecret:
|
|
|
|
## ConfigMap with cql scripts. Useful for creating a keyspace
|
|
## and pre-populating data
|
|
##
|
|
# initDBConfigMap:
|
|
|
|
## Liveness and Readiness probe values.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
|
|
##
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 30
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 5
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 5
|
|
|
|
## Additional pod annotations
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
|
|
## Additional pod labels
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
|
|
## StatefulSet settings
|
|
##
|
|
statefulset:
|
|
updateStrategy: OnDelete
|
|
# rollingUpdatePartition:
|
|
|
|
## Pod Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
##
|
|
securityContext:
|
|
enabled: true
|
|
fsGroup: 1001
|
|
runAsUser: 1001
|
|
|
|
## Affinity for pod assignment
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
##
|
|
affinity: {}
|
|
|
|
## Tolerations for pod assignment
|
|
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
|
|
##
|
|
## Container entrypoint and cmd (useful for using different images)
|
|
##
|
|
entrypoint: "/app-entrypoint.sh"
|
|
cmd: "/run.sh"
|
|
|
|
## Network policies
|
|
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
|
|
##
|
|
networkPolicy:
|
|
## Specifies whether a NetworkPolicy should be created
|
|
##
|
|
enabled: false
|
|
|
|
## The Policy model to apply. When set to false, only pods with the correct
|
|
## client label will have network access to the port Redis is listening
|
|
## on. When true, Redis will accept connections from any source
|
|
## (with the correct destination port).
|
|
##
|
|
# allowExternal: true
|
|
|
|
## Cassandra exporter configuration
|
|
## Ref: https://github.com/criteo/cassandra_exporter
|
|
##
|
|
metrics:
|
|
enabled: false
|
|
image:
|
|
registry: docker.io
|
|
pullPolicy: IfNotPresent
|
|
repository: bitnami/cassandra-exporter
|
|
tag: 2.3.0-debian-9-r24
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
##
|
|
# pullSecrets:
|
|
# - myRegistryKeySecretName
|
|
resources: {}
|
|
podAnnotations:
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "8080"
|