Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Product images are not available on K8s deployment #226

Open
gterdem opened this issue Jan 16, 2024 · 1 comment
Open

Product images are not available on K8s deployment #226

gterdem opened this issue Jan 16, 2024 · 1 comment
Labels
app-public-mvc Something is related with Public MVC bug Something isn't working
Milestone

Comments

@gterdem
Copy link
Contributor

gterdem commented Jan 16, 2024

image

The public web application is using internal service url as remote-service for the gateway. The images can not be reached.

@gterdem gterdem added bug Something isn't working app-public-mvc Something is related with Public MVC labels Jan 16, 2024
@gterdem gterdem added this to the 2.1 milestone Jan 16, 2024
@gterdem gterdem self-assigned this Jan 16, 2024
@gterdem
Copy link
Contributor Author

gterdem commented Jan 24, 2024

On production, remote service must be set to real DNS as set in https://eshoponabp.com/ to https://gateway-public.eshoponabp.com/.

It is not possible on staging environment because the hosts file overrides:

127.0.0.1 gateway-public.eshoponabp.dev
# To allow the same kube context to work on the host and the container:
127.0.0.1 kubernetes.docker.internal

So the DNS is being tried to resolved by internal kubernetes cluster that results with not found service error.

@hikalkan hikalkan modified the milestones: 2.1, backlog Oct 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
app-public-mvc Something is related with Public MVC bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants