<p>When I am trying to send an HTTP request from one pod to another pod within my cluster, how do I target it? By the cluster IP, service IP, serivce name? I can not seem to find any documentation on this even though it seems like such a big part. Any knowledge would help. Thanks!</p>

matt
<p><a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/" rel="noreferrer">DNS for Services and Pods</a> should help you here.</p>

<pre><code>apiVersion: v1
kind: Service
metadata:
  name: myservice
  namespace: mynamespace
spec:
  selector:
    name: myapp
  type: ClusterIP
  ports:
  - name: http
    port: 80
    targetPort: 80
</code></pre>

<p>Lets say you have a service defined as such and you are trying to call the service from the same namespace. You can call <code>http://myservice.svc.cluster.local:80</code>. If you want to call the service from another namespace you can use <code>http://myservice.mynamespace.svc.cluster.local:80</code></p>
