This is based on the original example-voting-app repository from the docker-examples GitHub page
and modified it to work on the Kubernetes cluster.
This is based on the original example-voting-app repository from the docker-examples GitHub page
and modified it to work on the Kubernetes cluster.
Dear @mmumshad,
Kindly note that when I tried to create the worker pod I faced the issue of the status being stuck on the CrashLoopBackOff so I read the logs for the pod and those are the logs:
Note: I tried to run the image alone by the docker and I faced the same issue.
Please advice dear
Best Regards,
Aws Smadi
In the log of the worker pod, it's hanging at the "Connecting to redis" message.
Also I used the app at 30005 to vote, but the result at 30004 remains at 50:50
Here is the log
Connected to db
Found redis at 10.144.17.252
Connecting to redis
Does anyone have any idea to solve this issue?
Hi
I created the deployments and services.
But somehow all pods are in this state: ImagePullBackOff
Did I miss something?
test@user5967:~/k8s-for-beginners/example-voting-app-kubernetes-main$ kubectl get pods
NAME READY STATUS RESTARTS AGE
postgres-deploy-776f4bdfcb-lkv8l 0/1 ImagePullBackOff 0 119s
redis-deploy-54b67b7b4-g2c9q 0/1 ImagePullBackOff 0 118s
result-app-deploy-7cc95854b6-dtqjl 0/1 ImagePullBackOff 0 118s
voting-app-deploy-96f58547f-7cmfh 0/1 ImagePullBackOff 0 118s
worker-app-deploy-54575bd48c-mpgrc 0/1 ImagePullBackOff 0 118s
Attached I send my [logs.](Uploading logs.txt…)
Thank you for helping me here
Dear @mmumshad,
after running every service and deployment.
minikube service result-service --url
http://192.168.49.2:30005
but the site can't be reach.
eagerly waiting for your response
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.