0

I generated an API with .net to deploy it with docker and kubernetes, the pods are running and i did a minikube tunnel, i tried to use the external IP to call the api with the port that i setted up but it doesnt work, anybody got an idea of how can i solve that ? Thanks!

There is the command of the creation of service

kubectl expose deployment aspnetcore --type=LoadBalancer --port=4242 --target-port=5000

enter image description here

ELel
  • 1
  • 2
  • 1
    When you say "it doesn't work", what happens? Have you verified that the Service is correctly connected to its Pods? Since Minikube is a local developer-oriented setup, it can't provision a cloud load balancer and the Service's "external IP" may not be meaningful; have you looked at _e.g._ [Kubernetes (Minikube) external ip does not work](https://stackoverflow.com/questions/39850819/kubernetes-minikube-external-ip-does-not-work)? – David Maze Jan 16 '22 at 09:29

0 Answers0