cloudworkz / kafka-minion-helm-chart Goto Github PK
View Code? Open in Web Editor NEWHelm chart for deployment of Kafka Minion
License: MIT License
Helm chart for deployment of Kafka Minion
License: MIT License
In the deployment template, the http containerPort does not match the telemetry port in the value file - it's just statically set to 80, which causes the probes to endlessly fail:
- name: http
containerPort: 80
protocol: TCP
I think it should be
- name: http
containerPort: {{ .Values.telemetry.port }}
protocol: TCP
I am trying to use minions with TLS enabled without key & password. I see below error message. Looks like we cannot just provide key. Please let me know.
helm install kafka-minion kafka-minion/kafka-minion --set kafka.tls.enabled=true --set kafka.brokers="{brokers list}" --set kafka.tls.certificates.ca="$(cat ./kafka.client.truststore.jks)"
kafka-minion/templates/tls-secret.yaml:17:51: executing "kafka-minion/templates/tls-secret.yaml" at <b64enc>: invalid value; expected string
Hey all ๐
I'm kinda new to this so I'm not sure if this question will make sense, sorry if it doesn't.
I'm looking to integrate specific metrics on HPA (Horizontal Pod Autoscaler) from K8s, but since these metrics expose all topics/groups/etc/etc together it won't fit very well.
Is there a way to create/query custom metrics?
minReplicas: 1 maxReplicas: 3 metrics: - type: Pods pods: metricName: CONSUMER_LAG_FROM_GROUP_ID_METRIC targetAverageValue: 100
Scaling up based on consumer lag from specific group id
Is this looking possible?
Thank you.
the chart-generated servicemonitor has a selection label of:
Selector:
Match Labels:
App: kafka-minion
but the actual service generated by the chart has labels:
Labels: app.kubernetes.io/instance=km
app.kubernetes.io/managed-by=Tiller
app.kubernetes.io/name=kafka-minion
so no match, and no target, and no discovery.
My workaround:
manually creating the service monitor with:
selector:
matchLabels:
app.kubernetes.io/name: kafka-minion
values.yml shows tls hash but this doesn't translate to configuration
Incorrect check in sasl-secret.yaml
based on default values.yaml.
Current check
{{- if and (.Values.sasl.enabled) (not .Values.sasl.existingCredentialsSecret) -}}
should be
{{- if and (.Values.kafka.sasl.enabled) (not .Values.kafka.sasl.existingCredentialsSecret) -}}
Hello,
Can you fix the helpers.tpl file please ?
{{/*
Create the name for the TLS credentials secret.
*/}}
{{- define "kafka-minion.tlsSecretName" -}}
{{- if .Values.kafka.tls.existingSecret -}}
{{- .Values.kafka.tls.existingSecret -}}
{{- else -}}
{{- template "kafka-minion.fullname" . -}}-sasl
{{- end -}}
{{- end -}}
instead of :
{{/*
Create the name for the TLS credentials secret.
*/}}
{{- define "kafka-minion.tlsSecretName" -}}
{{- if .Values.kafka.tls.existingSecret -}}
{{- .Values.kafka.tls.existingSecret -}}
{{- else -}}
{{- template "kafka-minion.fullname" . -}}-tls
{{- end -}}
{{- end -}}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.