Skip to content
Snippets Groups Projects
Commit 812a54ce authored by Benedikt Wetzel's avatar Benedikt Wetzel Committed by Sören Henning
Browse files

allow to set the nodeselectors, clean up

not tested so far
parent df53ba94
No related branches found
No related tags found
1 merge request!60Introduce a Theodolite Helm chart for deploying all dependencies
...@@ -11,4 +11,8 @@ spec: ...@@ -11,4 +11,8 @@ spec:
- sh - sh
- -c - -c
- "exec tail -f /dev/null" - "exec tail -f /dev/null"
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }} {{- end }}
\ No newline at end of file
...@@ -11,4 +11,8 @@ spec: ...@@ -11,4 +11,8 @@ spec:
- sh - sh
- -c - -c
- "exec tail -f /dev/null" - "exec tail -f /dev/null"
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end}} {{- end}}
# Theodolite default values
### ###
# Theodolite resources # Theodolite resources
### ###
kafkaClient: kafkaClient:
enabled: true enabled: true
namespace: # TODO nodeSelector: {}
ZookeeperClient: ZookeeperClient:
enabled: true enabled: true
namespace: # TODO nodeSelector: {}
#### ####
...@@ -22,17 +21,14 @@ ZookeeperClient: ...@@ -22,17 +21,14 @@ ZookeeperClient:
### ###
grafana: grafana:
enabled: true enabled: true
nodeSelector: {}
image: image:
repository: grafana/grafana repository: grafana/grafana
tag: 6.7.3 tag: 6.7.3
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# Administrator credentials when not using an existing secret (see below) # Administrator credentials when not using an existing secret (see below)
adminUser: admin adminUser: admin
adminPassword: admin adminPassword: admin
## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders ## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders
## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards ## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards
sidecar: sidecar:
...@@ -40,40 +36,11 @@ grafana: ...@@ -40,40 +36,11 @@ grafana:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
dashboards: dashboards:
enabled: true enabled: true
SCProvider: true
# label that the configmaps with dashboards are marked with
label: grafana_dashboard
# folder in the pod that should hold the collected dashboards (unless `defaultFolderName` is set)
folder: /tmp/dashboards
# The default folder name, it will create a subfolder under the `folder` and put dashboards in there instead
defaultFolderName: null
# If specified, the sidecar will search for dashboard config-maps inside this namespace.
# Otherwise the namespace in which the sidecar is running will be used.
# It's also possible to specify ALL to search in all namespaces
searchNamespace: null
# provider configuration that lets grafana manage the dashboards
provider: provider:
# name of the provider, should be unique
name: sidecarProvider
# orgid as configured in grafana
orgid: 1
# folder in which the dashboards should be imported in grafana
folder: ''
# type of the provider
type: file
# disableDelete to activate a import-only behaviour
disableDelete: false
# allow updating provisioned dashboards from the UI # allow updating provisioned dashboards from the UI
allowUiUpdates: true allowUiUpdates: true
datasources: datasources:
enabled: true enabled: true
# label that the configmaps with datasources are marked with
label: grafana_datasource
# If specified, the sidecar will search for datasource config-maps inside this namespace.
# Otherwise the namespace in which the sidecar is running will be used.
# It's also possible to specify ALL to search in all namespaces
searchNamespace: null
service: service:
nodePort: 31199 nodePort: 31199
type: NodePort type: NodePort
...@@ -82,6 +49,7 @@ grafana: ...@@ -82,6 +49,7 @@ grafana:
### ###
# Confluent Platform # Confluent Platform
### ###
cp-helm-charts: cp-helm-charts:
enabled: true enabled: true
## ------------------------------------------------------ ## ------------------------------------------------------
...@@ -89,6 +57,7 @@ cp-helm-charts: ...@@ -89,6 +57,7 @@ cp-helm-charts:
## ------------------------------------------------------ ## ------------------------------------------------------
cp-zookeeper: cp-zookeeper:
enabled: true enabled: true
nodeSelector: {}
servers: 3 # default: 3 servers: 3 # default: 3
image: confluentinc/cp-zookeeper image: confluentinc/cp-zookeeper
imageTag: 5.4.0 imageTag: 5.4.0
...@@ -99,21 +68,13 @@ cp-helm-charts: ...@@ -99,21 +68,13 @@ cp-helm-charts:
heapOptions: "-Xms512M -Xmx512M" heapOptions: "-Xms512M -Xmx512M"
persistence: persistence:
enabled: false enabled: false
resources: {}
## If you do want to specify resources, uncomment the following lines, adjust them as necessary,
## and remove the curly braces after 'resources:'
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
## ------------------------------------------------------ ## ------------------------------------------------------
## Kafka ## Kafka
## ------------------------------------------------------ ## ------------------------------------------------------
cp-kafka: cp-kafka:
enabled: true enabled: true
nodeSelector: {}
brokers: 10 # deauflt: 10 brokers: 10 # deauflt: 10
image: confluentinc/cp-enterprise-kafka image: confluentinc/cp-enterprise-kafka
imageTag: 5.4.0 imageTag: 5.4.0
...@@ -125,16 +86,6 @@ cp-helm-charts: ...@@ -125,16 +86,6 @@ cp-helm-charts:
persistence: persistence:
enabled: false enabled: false
resources: {} resources: {}
## If you do want to specify resources, uncomment the following lines, adjust them as necessary,
## and remove the curly braces after 'resources:'
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
configurationOverrides: configurationOverrides:
#offsets.topic.replication.factor: 1 #offsets.topic.replication.factor: 1
"message.max.bytes": "134217728" # 128 MB "message.max.bytes": "134217728" # 128 MB
...@@ -160,6 +111,7 @@ cp-helm-charts: ...@@ -160,6 +111,7 @@ cp-helm-charts:
## ------------------------------------------------------ ## ------------------------------------------------------
cp-schema-registry: cp-schema-registry:
enabled: true enabled: true
nodeSelector: {}
image: confluentinc/cp-schema-registry image: confluentinc/cp-schema-registry
imageTag: 5.4.0 imageTag: 5.4.0
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. ## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
...@@ -176,15 +128,6 @@ cp-helm-charts: ...@@ -176,15 +128,6 @@ cp-helm-charts:
nodePort: 30099 # davor wars 1 konflikt mit kafka 31091 nodePort: 30099 # davor wars 1 konflikt mit kafka 31091
annotations: {} annotations: {}
## If you do want to specify resources, uncomment the following lines, adjust them as necessary,
## and remove the curly braces after 'resources:'
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
cp-kafka-rest: cp-kafka-rest:
enabled: false enabled: false
...@@ -203,6 +146,7 @@ cp-helm-charts: ...@@ -203,6 +146,7 @@ cp-helm-charts:
### ###
kafka-lag-exporter: kafka-lag-exporter:
enabled: true enabled: true
nodeSelector: {}
clusters: clusters:
- name: "my-confluent-cp-kafka" - name: "my-confluent-cp-kafka"
bootstrapBrokers: "my-confluent-cp-kafka:9092" bootstrapBrokers: "my-confluent-cp-kafka:9092"
...@@ -262,6 +206,7 @@ kube-prometheus-stack: ...@@ -262,6 +206,7 @@ kube-prometheus-stack:
enabled: false enabled: false
prometheusOperator: prometheusOperator:
nodeSelector: {}
enabled: true enabled: true
prometheus: prometheus:
...@@ -273,6 +218,7 @@ kube-prometheus-stack: ...@@ -273,6 +218,7 @@ kube-prometheus-stack:
### ###
prometheus: prometheus:
enabled: true enabled: true
nodeSelector: {}
# depends on your cluster security and permission settings, you may need to create the following resources # depends on your cluster security and permission settings, you may need to create the following resources
serviceAccount: serviceAccount:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment