What is your service name and namespace? pods should register with the service and you can communicate with them through the service.
apiVersion: v1
kind: Service
metadata:
name: ddns-updater
namespace: default
For example , I have a pod named ddns-updater and a service also called ddns-updater. To access one of the pods, I can resolve ddns-updater.default.svc.cluster.local to find it.
spec:
ports:
- protocol: TCP
port: 8000
targetPort: 8000
selector:
app: ddns-updater