Not able to access application running on kubernetes pod (Using Docker-Desktop: Single-node cluster)

3/26/2020

See below service is running:

enter image description here

and Below error i am getting while trying to access it:

enter image description here

Kubectl get pods:

enter image description here

Yaml files:

  1. Service: enter image description here

  2. Deployment:

    enter image description here

-- Ajit Bhavle
kubernetes

1 Answer

3/30/2020

Check pod status if it's running or not.

Also, you can try with port-forwarding to POD

kubectl port-forward <POD name> 8086:8086 & open localhost:8086

-- Harsh Manvar
Source: StackOverflow