Closed cryptobench closed 1 year ago
I made the following changes to the chart , but it doesn't get scheduled on the correct node.
service:
primary:
# One of (ClusterIP | LoadBalancer | NodePort). Headless services are not supported.
type: ClusterIP
# The port used by the service.
port: 5432
# Optional NodePort, only used for type `NodePort`.
nodePort: null
# Additional labels to be added to the Service.
labels: { "dbtype": "primary" }
# Additional annotations to be added to the Service.
annotations: {}
# Define extra fields to be interpolated into the Service spec.
#
# This allows for adding support for new features and functionality which may not yet
# be directly supported in this chart.
spec: {}
nodeSelector:
workertype: "dbprimary"
# loadBalancerSourceRanges:
# - "0.0.0.0/0"
replica:
# One of (ClusterIP | LoadBalancer | NodePort). Headless services are not supported.
type: ClusterIP
# The port used by the service.
port: 5432
# Optional NodePort, only used for type `NodePort`.
nodePort: null
# Additional labels to be added to the Service.
labels: { "dbtype": "replica" }
# Additional annotations to be added to the Service.
annotations: {}
# Define extra fields to be interpolated into the Service spec.
#
# This allows for adding support for new features and functionality which may not yet
# be directly supported in this chart.
spec: {}
# loadBalancerSourceRanges:
# - "0.0.0.0/0"
nodeSelector:
workertype: "dbreplica"
This issue went stale because it was not updated in a month. Please consider updating it to improve the quality of the project.
This issue was closed because it has been stalled for 30 days with no activity.
Hello everyone! I am pretty new to kubernetes and exploring helm charts for TimeScaleDB. I Have a cluster setup with nodes that have the label:
workertype:dbprimary
andworkertype:dbreplica
I am looking to edit the values.yaml file to assign replica pods to
workertype:dbreplica
and the primary pod toworkertype:dbprimary
I have tried setting nodeSelector under service.primary.spec.nodeSelector but that's invalid and returns