unable to Access pod from another pod in Azure Kubernetes Service

2/6/2020

I have one app deployed in pod A and another app in pod B

apiVersion: v1
kind: Service
metadata:
  name: product
spec:
  type: ClusterIP
  ports:
  - port: 80
    targetPort: 80
    protocol: TCP
    name: http
  selector:
    app: product-api

apiVersion: v1
kind: Service
metadata:
  name: webbff
spec:
  type: ClusterIP
  ports:
    - port: 80
      targetPort: 80
      protocol: TCP
      name: http
  selector:
    app: webbff-api

In webbff service i have written the url http://product to access the product service. But i am unable to access it

-- Rajesh Saradka Narayana
azure-aks
azure-kubernetes
kubernetes
kubernetes-pod

0 Answers