Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
d0e70684
Commit
d0e70684
authored
4 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Add Kafka configuration and ServiceMonitor
parent
d3b5ea08
No related branches found
No related tags found
No related merge requests found
Pipeline
#416
passed
4 years ago
Stage: build
Stage: test
Stage: check
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
execution/infrastructure/kafka/service-monitor.yaml
+14
-0
14 additions, 0 deletions
execution/infrastructure/kafka/service-monitor.yaml
execution/infrastructure/kafka/values.yaml
+174
-0
174 additions, 0 deletions
execution/infrastructure/kafka/values.yaml
with
188 additions
and
0 deletions
execution/infrastructure/kafka/service-monitor.yaml
0 → 100644
+
14
−
0
View file @
d0e70684
apiVersion
:
monitoring.coreos.com/v1
kind
:
ServiceMonitor
metadata
:
labels
:
app
:
cp-kafka
appScope
:
titan-ccp
name
:
kafka
spec
:
selector
:
matchLabels
:
app
:
cp-kafka
endpoints
:
-
port
:
metrics
interval
:
7s
\ No newline at end of file
This diff is collapsed.
Click to expand it.
execution/infrastructure/kafka/values.yaml
0 → 100644
+
174
−
0
View file @
d0e70684
## ------------------------------------------------------
## Zookeeper
## ------------------------------------------------------
cp-zookeeper
:
enabled
:
true
servers
:
3
image
:
confluentinc/cp-zookeeper
imageTag
:
5.4.0
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
imagePullSecrets
:
# - name: "regcred"
heapOptions
:
"
-Xms512M
-Xmx512M"
persistence
:
enabled
:
false
## The size of the PersistentVolume to allocate to each Zookeeper Pod in the StatefulSet. For
## production servers this number should likely be much larger.
##
## Size for Data dir, where ZooKeeper will store the in-memory database snapshots.
dataDirSize
:
10Gi
# dataDirStorageClass: ""
## Size for data log dir, which is a dedicated log device to be used, and helps avoid competition between logging and snaphots.
dataLogDirSize
:
10Gi
# dataLogDirStorageClass: ""
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
## ------------------------------------------------------
cp-kafka
:
enabled
:
true
brokers
:
10
image
:
confluentinc/cp-enterprise-kafka
imageTag
:
5.4.0
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
imagePullSecrets
:
# - name: "regcred"
heapOptions
:
"
-Xms512M
-Xmx512M"
persistence
:
enabled
:
false
# storageClass: ""
size
:
5Gi
disksPerBroker
:
1
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
:
#"offsets.topic.replication.factor": "3"
"
message.max.bytes"
:
"
134217728"
# 128 MB
"
replica.fetch.max.bytes"
:
"
134217728"
# 128 MB
# "default.replication.factor": 3
# "min.insync.replicas": 2
# "auto.create.topics.enable": false
"
log.retention.ms"
:
"
10000"
# 10s
"
metrics.sample.window.ms"
:
"
5000"
#5s
## ------------------------------------------------------
## Schema Registry
## ------------------------------------------------------
cp-schema-registry
:
enabled
:
true
image
:
confluentinc/cp-schema-registry
imageTag
:
5.4.0
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
imagePullSecrets
:
# - name: "regcred"
heapOptions
:
"
-Xms512M
-Xmx512M"
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
## ------------------------------------------------------
## REST Proxy
## ------------------------------------------------------
cp-kafka-rest
:
enabled
:
false
image
:
confluentinc/cp-kafka-rest
imageTag
:
5.4.0
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
imagePullSecrets
:
# - name: "regcred"
heapOptions
:
"
-Xms512M
-Xmx512M"
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 Connect
## ------------------------------------------------------
cp-kafka-connect
:
enabled
:
false
image
:
confluentinc/cp-kafka-connect
imageTag
:
5.4.0
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
imagePullSecrets
:
# - name: "regcred"
heapOptions
:
"
-Xms512M
-Xmx512M"
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
## ------------------------------------------------------
## KSQL Server
## ------------------------------------------------------
cp-ksql-server
:
enabled
:
false
image
:
confluentinc/cp-ksql-server
imageTag
:
5.4.0
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
imagePullSecrets
:
# - name: "regcred"
heapOptions
:
"
-Xms512M
-Xmx512M"
ksql
:
headless
:
false
## ------------------------------------------------------
## Control Center
## ------------------------------------------------------
cp-control-center
:
enabled
:
false
image
:
confluentinc/cp-enterprise-control-center
imageTag
:
5.2.0
## Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace.
## https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
imagePullSecrets
:
# - name: "regcred"
heapOptions
:
"
-Xms512M
-Xmx512M"
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment