Error when deployed on OCP Cluster
See original GitHub issueSummary
ts-ui-dashboard pod has CrashLoopBackOff error, when deployed on OCP Cluster.
Expected behaviour
All PODs should be running state. I see one pod is in CrashLoopBackOff. Rest all are fine and in running state.
Current behaviour
When deployed application, I see all pods running fine, except following:
oc logs ts-ui-dashboard-5cb87645cb-7gj8d
2021/04/06 01:28:53 [emerg] 1#1: host not found in upstream "ts-avatar-service" in /usr/local/openresty/nginx/conf/nginx.conf:386
nginx: [emerg] host not found in upstream "ts-avatar-service" in /usr/local/openresty/nginx/conf/nginx.conf:386
Steps to reproduce
Clone this train-ticket repo. Deploy the application on OCP, using Kubernetes yml files located in ‘train-ticket/deployment/kubernetes-manifests/quickstart-k8s’ folder.
Your environment
OS(e.g: cat /etc/os-release
): OCP 4.3.13
docker version(e.g docker version
):
Client Version: version.Info{Major:“1”, Minor:“18”, GitVersion:“v1.18.0”, GitCommit:“9e991415386e4cf155a24b1da15becaa390438d8”, GitTreeState:“clean”, BuildDate:“2020-03-25T14:58:59Z”, GoVersion:“go1.13.8”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“16+”, GitVersion:“v1.16.2+853223d”, GitCommit:“853223d”, GitTreeState:“clean”, BuildDate:“2020-10-14T15:02:59Z”, GoVersion:“go1.12.12”, Compiler:“gc”, Platform:“linux/amd64”}
docker-compose version (e.g docker-compose --version
):
Kubernetes version(use kubectl version
):
istio version:
Additional context
I didn’t find anything related to ts-avatar-service. It doesn’t seems to be valid service. Or I might be missing something.
Search result and your thoughts
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
@ansnadeem Sorry, we forgot to update our docker-compose file and just add the avatar-service in
docker-compose.yml
to start nginx properly, like thisThanks for the feedback on the bugs
Awesome, everything seems to be working fine now.
Thank you @kagaya85 for the quick resolve.