Giter Site home page Giter Site logo

kafka-minion-helm-chart's People

Contributors

alxrem avatar amuraru avatar joan-s-molas avatar kozmagabor avatar micborens avatar petersonnek avatar rjanovski avatar weeco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kafka-minion-helm-chart's Issues

containerPort does not map to telemetry port value in deployment template

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

Helm install fails

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) -}}

Question: Custom Metrics

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.

Using only TLS cert without username/password

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

"kafka-minion.tlsSecretName" has the same value as "kafka-minion.saslSecretName"

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 -}}

ServiceMonitor is broken

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.