-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Voter does not seems to be working as the result app only shows the same results over and over again #165
Comments
Swarm and Kubernetes deployments are not going to work because images from docker hub are not updated as predicted on this pull request. In this case, you have to build the images by yourself and change the stacks and k8s-specifications to use your own images. |
It is still not corrected because of which |
I was following the "play with docker" tutorials ( https://training.play-with-docker.com/dev-stage1/ ) and noticed the same behavior. |
result app not working mmumshad/kubernetes-example-voting-app#5 |
same issue is still open, result page doesn't reflects the voting correctly. 50-50 always. Any assistance could be helpful. Not sure whether the issue is with the voter or result or worker image. |
We're sorry for the late response. Linux images have been refreshed, cleaned up, and are now multi-platform. If you still have issues with the latest images, feel free to reopen this ticket. |
The result app is still not working. Showing 50-50. Any assistance will be helpful. |
This example works for us, so could you please give us enough information to recreate your issue from scratch? Are you using the latest commit of this repo? |
** PLEASE ONLY USE THIS ISSUE TRACKER TO SUBMIT ISSUES WITH THE EXAMPLE VOTING APP **
Please provide the following information so we can assess the issue you're having
After all of the components are deployed, when testing the voter application, it loads, when you vote, nothing happens. If you check the results app, it always shows the same results 50% cat and 50% dogs.
Steps to reproduce the issue, if relevant:
1.
$ minikube start
😄 minikube v1.9.0 on Darwin 10.15.3
✨ Using the hyperkit driver based on user configuration
🔥 Creating hyperkit VM (CPUs=6, Memory=8096MB, Disk=20000MB) ...
🐳 Preparing Kubernetes v1.18.0 on Docker 19.03.8 ...
🌟 Enabling addons: default-storageclass, storage-provisioner
🏄 Done! kubectl is now configured to use "minikube"
git clone https://github.com/dockersamples/example-voting-app
$ kubectl create namespace vote
$ kubectl create -f k8s-specifications/ --namespace=vote
$ kubectl get pods --namespace=vote
NAME READY STATUS RESTARTS AGE
db-6789fcc76c-ssk7n 1/1 Running 0 49s
redis-554668f9bf-s6vx7 1/1 Running 0 49s
result-79bf6bc748-l89mw 1/1 Running 0 49s
vote-7478984bfb-mwgbp 1/1 Running 0 49s
worker-dd46d7584-kwk2s 1/1 Running 0 49s
Describe the results you received:
Everything seems to work as expected
Describe the results you expected:
I expected that every time I load the vote page and vote, that vote gets recorded and whenever I access the results page it will show me the correct amount of votes for either dogs or cats
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:$ docker info
Client:
Debug Mode: false
Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
The text was updated successfully, but these errors were encountered: