Giter VIP home page Giter VIP logo

Comments (9)

trisberg avatar trisberg commented on May 29, 2024

One thing that might help is to pre pull the zookeeper image using:

eval $(minikube docker-env)
docker pull wurstmeister/zookeeper:3.4.6

That way the zookeeper image is already on the minikube and should start faster.

from riff.

trisberg avatar trisberg commented on May 29, 2024

Combined with tweaking the values for the probes #98, that's a start to a smoother install/demo experience

from riff.

markfisher avatar markfisher commented on May 29, 2024

I guess we could add an init-container for the Kafka pod that waits for ZK to be available.

from riff.

trisberg avatar trisberg commented on May 29, 2024

it's also the topic-gateway, topic-controller and zipkin needs zk/kafka, although if the zookeeper image is available I typically don't see pod restarts

from riff.

jamieklassen avatar jamieklassen commented on May 29, 2024

I have found the helm install not to be too painful (usually each pod that depends on zookeeper has 1 restart) on the cloud (kubo/GKE) with meaty VMs -- is it fair to say this is mainly a minikube issue? There are many tools for orchestrating deployments (logic like "deploy zookeeper, wait for the pod to be ready before deploying the rest"), but when I looked around it seemed like https://github.com/Azure/brigade was popular for this sort of use case.

from riff.

jldec avatar jldec commented on May 29, 2024

One pattern for this (also mentioned in #issuecomment-341781081) is to use an init container.
Another might be the readiness probe.

see https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/

I think it's worth investigating both of those to avoid situations like this

On slower network connections it make take longer to stabilize the system after pulling down all the images. Instead of waiting you can try to “purge” the riff components (without deleting the images from the cache) and then reinstall the chart as with the same command as before.

from riff.

jldec avatar jldec commented on May 29, 2024

looking at the readiness and liveness probes may be helpful as well.

jurgen is offended by repeated crashing on startup...

from riff.

trisberg avatar trisberg commented on May 29, 2024

We might look into adding init containers like this one:

      initContainers:
      - name: init-wait-mysql
        image: busybox
        command: ['sh', '-c', 'until nslookup test-mysql; do echo waiting for mysql; sleep 2; done;']

from riff.

scothis avatar scothis commented on May 29, 2024

This issue has gone stale, we're on Knative now! Please reopen if still relevant.

from riff.

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.