mirror of
https://github.com/helm/charts.git
synced 2026-08-22 22:07:36 +00:00
* allow to set COCKROACH_ENGINE_MAX_SYNC_DURATION Signed-off-by: Christian Hüning <christian.huening@figo.io> * switched to ExtraEnvArgs Signed-off-by: Christian Hüning <christian.huening@figo.io> * Bumped App and Tag version to 2.1.6 Signed-off-by: Christian Hüning <christian.huening@figo.io> * added example to comment in values.yaml Signed-off-by: Christian Hüning <christian.huening@figo.io>
81 lines
2.7 KiB
YAML
81 lines
2.7 KiB
YAML
# Default values for cockroachdb.
|
|
# This is a YAML-formatted file.
|
|
# Declare name/value pairs to be passed into your templates.
|
|
# name: value
|
|
|
|
Name: "cockroachdb"
|
|
Image: "cockroachdb/cockroach"
|
|
ImageTag: "v2.1.6"
|
|
ImagePullPolicy: "Always"
|
|
Replicas: 3
|
|
MaxUnavailable: 1
|
|
Component: "cockroachdb"
|
|
|
|
# You can set a different external and internal GRPC port and service name. If using istio set InternalGrpcName to "cockroach"
|
|
InternalGrpcPort: 26257
|
|
ExternalGrpcPort: 26257
|
|
|
|
# If the port numbers are different then then port names must be different as well.
|
|
InternalGrpcName: grpc
|
|
ExternalGrpcName: grpc
|
|
|
|
InternalHttpPort: 8080
|
|
ExternalHttpPort: 8080
|
|
HttpName: http
|
|
|
|
# Uncomment the following resources definitions or pass them from command line
|
|
# to control the cpu and memory resources allocated by the Kubernetes cluster
|
|
Resources: {}
|
|
# requests:
|
|
# cpu: "100m"
|
|
# memory: "512Mi"
|
|
Storage: "100Gi"
|
|
## Persistent Volume Storage Class for database data
|
|
## If defined, storageClassName: <StorageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
## GKE, AWS & OpenStack)
|
|
##
|
|
StorageClass: null
|
|
CacheSize: "25%"
|
|
MaxSQLMemory: "25%"
|
|
ClusterDomain: "cluster.local"
|
|
NetworkPolicy:
|
|
Enabled: false
|
|
AllowExternal: true
|
|
Service:
|
|
type: ClusterIP
|
|
annotations: {}
|
|
PodManagementPolicy: Parallel
|
|
UpdateStrategy:
|
|
type: RollingUpdate
|
|
NodeSelector: {}
|
|
Tolerations: {}
|
|
Secure:
|
|
Enabled: false
|
|
RequestCertsImage: "cockroachdb/cockroach-k8s-request-cert"
|
|
RequestCertsImageTag: "0.4"
|
|
ServiceAccount:
|
|
# Specifies whether a service account should be created.
|
|
Create: true
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated.
|
|
Name:
|
|
|
|
# If you are deploying a second cockroach instance that should join a first, use the below list to join to the existing instance.
|
|
# Each item in the array should be a FQDN (and port if needed) resolvable by the new pods.
|
|
JoinExisting: []
|
|
# Set a locality (e.g. "region=us-central1,datacenter=us-centra1-a") if you're doing multi-cluster so data is distributed properly
|
|
Locality: ""
|
|
# Additional command-line arguments you want to pass to the `cockroach start` commands
|
|
ExtraArgs: []
|
|
# ExtraSecretMounts is a list of names from secrets in the same namespace as the cockroachdb cluster, which shall be mounted into /etc/cockroach/secrets/ for every cluster member.
|
|
ExtraSecretMounts: []
|
|
# ExtraEnvArgs is a list of name,value tuples providing extra ENV variables.
|
|
# e.g.:
|
|
# ExtraEnvArgs:
|
|
# - name: COCKROACH_ENGINE_MAX_SYNC_DURATION
|
|
# value: "24h"
|
|
ExtraEnvArgs: []
|