Comments (9)
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.
Combined with tweaking the values for the probes #98, that's a start to a smoother install/demo experience
from riff.
I guess we could add an init-container for the Kafka pod that waits for ZK to be available.
from riff.
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.
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.
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.
looking at the readiness and liveness probes may be helpful as well.
jurgen is offended by repeated crashing on startup...
from riff.
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.
This issue has gone stale, we're on Knative now! Please reopen if still relevant.
from riff.
Related Issues (20)
- Replace Knative Build with kpack HOT 2
- Reinstate riff version command HOT 1
- Release riff v0.4.0 HOT 2
- Test upgrades from last riff release HOT 2
- Standalone riff runtimes HOT 1
- Fix HTTP/2 vulnerabilities HOT 2
- Hardcoded container registry for knative-serving HOT 4
- Cannot chain streaming functions HOT 6
- Use apps/v1 instead of extensions/v1beta1
- Explore a riff plugin for Octant
- Support stream read/write access control
- Support stream transport security/encryption HOT 1
- Add streaming examples in docs
- Expose autoscaling controls like minScale, maxScale, and scale-to-zero-grace-period on Knative deployers HOT 3
- Release riff v0.5.0 HOT 7
- Need to solve keda install for k8s v1.16+ HOT 5
- Support CloudEvents on the wire for streaming
- Explore interop with Knative Eventing brokers
- Upgrade checkout Github action to v2 everywhere
- uppercase example keeps crashlooping HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riff.