Skip to content

Instantly share code, notes, and snippets.

@rudolfratusinski
Created August 1, 2019 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudolfratusinski/28ca2f4f6367cd52025efdac23cbc541 to your computer and use it in GitHub Desktop.
Save rudolfratusinski/28ca2f4f6367cd52025efdac23cbc541 to your computer and use it in GitHub Desktop.
# clusterName:
image:
repository: rudolfratusinski/timescaledb-stolon
tag: pg11-s0.13
pullPolicy: Always
debug: false
persistence:
enabled: true
## 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)
##
storageClassName: ""
accessModes:
- ReadWriteOnce
size: 10Gi
rbac:
create: true
serviceAccount:
create: true
# The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template
name: "tiller"
superuserSecret:
name: timescale-root
usernameKey: username
passwordKey: password
replicationSecret:
name: timescale-rep
usernameKey: username
passwordKey: password
## backend could be one of the following: consul, etcdv2, etcdv3 or kubernetes
store:
backend: kubernetes
kubeResourceKind: configmap
pgParameters:
max_connections: 100
ports:
stolon:
containerPort: 5432
metrics:
containerPort: 8080
job:
autoCreateCluster: true
autoUpdateClusterSpec: true
clusterSpec:
synchronousReplication: true
minSynchronousStandbys: 2
maxSynchronousStandbys: 2
initMode: new
keeper:
uid_prefix: "keeper"
replicaCount: 3
annotations: {}
resources:
requests:
cpu: "600m"
memory: "2Gi"
priorityClassName: ""
service:
type: ClusterIP
annotations: {}
ports:
keeper:
port: 5432
targetPort: 5432
protocol: TCP
nodeSelector: {}
affinity: {}
tolerations: []
volumes: []
volumeMounts: []
hooks:
failKeeper:
enabled: false
podDisruptionBudget:
minAvailable: 2
# maxUnavailable: 1
proxy:
replicaCount: 3
annotations: {}
resources:
requests:
cpu: "100m"
memory: "128Mi"
priorityClassName: ""
service:
type: ClusterIP
# loadBalancerIP: ""
annotations: {}
ports:
proxy:
port: 5432
targetPort: 5432
protocol: TCP
nodeSelector: {}
affinity: {}
tolerations: []
podDisruptionBudget:
minAvailable: 2
# maxUnavailable: 1
sentinel:
replicaCount: 3
annotations: {}
resources:
requests:
cpu: "100m"
memory: "128Mi"
priorityClassName: ""
nodeSelector: {}
affinity: {}
tolerations: []
podDisruptionBudget:
minAvailable: 1
# maxUnavailable: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment