example-voting-app
example-voting-app copied to clipboard
Worker pod is not working error code : CrashLoopBackoff
[**](url
) PLEASE ONLY USE THIS ISSUE TRACKER TO SUBMIT ISSUES WITH THE EXAMPLE VOTING APP **
- If you have a bug working with Docker itself, not related to these labs, please file the bug on the Docker repo *
- If you would like general support figuring out how to do something with Docker, please use the Docker Slack channel. If you're not on that channel, sign up for the Docker Community and you'll get an invite. *
- Or go to the Docker Forums *
Please provide the following information so we can assess the issue you're having
Description
Steps to reproduce the issue, if relevant: 1. 2. 3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version
:
19.03.12```
**Output of `docker info`:**
(paste your output here)
**Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.):**
[
](url)
Work pod error log
Hi, if you work on cloud like aws, you should open port for redis and postgres.
I'm having the exact same issue on my openstack based microk8s cluster (3 nodes running on Ubuntu focal).
I've checked the security groups and ports 3000-32xxx are allowed between nodes internally.
Also when creating the deployment initially I'm getting an error about the "vote" namespace already existing (after manually creating it as outlined inthe README.md file). I've also tried changing the port to 30001 because of this message:
$ kubectl create -f k8s-specifications/ deployment.apps/db created deployment.apps/redis created deployment.apps/result created deployment.apps/vote created deployment.apps/worker created Error from server (AlreadyExists): error when creating "k8s-specifications/db-service.yaml": services "db" already exists Error from server (AlreadyExists): error when creating "k8s-specifications/redis-service.yaml": services "redis" already exists Error from server (Invalid): error when creating "k8s-specifications/result-service.yaml": Service "result" is invalid: spec.ports[0].nodePort: Invalid value: 31001: provided port is already allocated Error from server (AlreadyExists): error when creating "k8s-specifications/vote-namespace.yml": namespaces "vote" already exists Error from server (AlreadyExists): error when creating "k8s-specifications/vote-service.yaml": services "vote" already exists
Cheers, Uwe
I managed to fix the issue by deleting an older "wordpress" deployment managed by helm which I'd forgotten about. :-)
We're sorry for the late response. Linux images have been refreshed, cleaned up, and are now multi-platform. If you're still having issues with the latest images, feel free to reopen this ticket.