Skip to content
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

Cant run TrainTicket in either docker-compose or k8s #281

Open
sadmanamin opened this issue Apr 9, 2024 · 1 comment
Open

Cant run TrainTicket in either docker-compose or k8s #281

sadmanamin opened this issue Apr 9, 2024 · 1 comment

Comments

@sadmanamin
Copy link

sadmanamin commented Apr 9, 2024

Summary

I have trying to run TrainTicket using docker-compose and k8s.

For docker-compose, as per the doc, i need to build the docker-compose first and then run docker-compose up. However, its not building showing error to many of the dockerfiles that contains java image instead of openjdk. When i change it to openjdk, it shows some internal error.

For docker-compose from deployment/docker-compose-manifests/docker-compose-with-jaeger.yml, it doesn't run showing some images have been removed from the codewisdom repo.

For k8s with istio, initially it didn't find ts-gateway-service. Later I have added it and ran. However, login doesn't work. It cant seem to find other services inside the cluster and gives 503 everytime.

To sum up, I want to run TrainTicket with Jaeger enabled for observability and monitoring tests. However, its not working as told previously.

Expected behaviour

TrainTicket should run and should be able to have proper api responses.

Current behaviour

Showing error in deployment. After deployment, showing error in inter service communication.

Steps to reproduce

\# for docker-compose
cd deployment/docker-compose-manifests/
docker-compose -f docker-compose-with-jaeger.yml up

\# for k8s with istio
kubectl create namespace trainticket
kubectl label namespace trainticket istio-injection=enabled
kubectl apply -f deployment/kubernetes-manifests/k8s-with-istio/. -n trainticket

Your environment

OS(e.g: cat /etc/os-release): Ubuntu 22.04.4 LT

docker version(e.g docker version): 26.0.0

docker-compose version (e.g docker-compose --version): docker-compose version 1.29.2, build 5becea4c

Kubernetes version(use kubectl version): v1.28.7

@YiXIEz
Copy link

YiXIEz commented Jul 2, 2024

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants