Git Product home page Git Product logo

Comments (6)

solsson avatar solsson commented on August 28, 2024
  • rename manifests from NNname.yml to NN-name.yml?

from kubernetes-kafka.

solsson avatar solsson commented on August 28, 2024

Found an explanation for why selector: needs to be added to workload API manifests:
From daemonset but I guess it applies to other resources as well:
"The pod selector will no longer be defaulted when left empty. Selector defaulting was not compatible with kubectl apply."

from kubernetes-kafka.

solsson avatar solsson commented on August 28, 2024

An update on testing, based on #79 (comment). I lack the Kafka experiment to interpret current results, so I think I want 3 tests that do essentially the same but with different clients.

What we want to assert is basically "uptime" in the face of re-scheduled broker and zk pods, caused by things like node downtime, cluster upgrades or zone outages. Tests continuously "bootstrap" + consume from a topic with 2 replicas (b8bfda8) + regularly produce messages + assert that those messages get consumed.

Measurements of throughput etc will have to wait until we have Prometheus monitoring up and running (#49 + Yolean/kubernetes-monitoring + ServiceMonitors + rules).

The three tests are:

As a complement it'll be interesting to have kafkacat with new bootstrap for every assert run, i.e. https://github.com/Yolean/kubernetes-kafka/blob/master/test/basic-with-kafkacat.yml prior to #79)

from kubernetes-kafka.

solsson avatar solsson commented on August 28, 2024

Killing pods and watching test readiness I tend to need a tab that does a human readable variant of #60. My new favorite oneliner 😄 (with alias from solsson/kubectx#1 (comment)):

while :; do k get pods --all-namespaces -w; done | gawk '{ print strftime("%FT%T"), $0; fflush() }'

from kubernetes-kafka.

solsson avatar solsson commented on August 28, 2024

Tests have been put into practice in #79 (comment)

Huge improvement that we don't spin up 2 JVMs every 10s :)

from kubernetes-kafka.

solsson avatar solsson commented on August 28, 2024

Closing this messy ticket in favor of https://github.com/Yolean/kubernetes-kafka/milestone/1, with scope reductions -> https://github.com/Yolean/kubernetes-kafka/milestone/2.

from kubernetes-kafka.

Related Issues (20)

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.