<p>I have created a <code>Service</code> with a <strong>static</strong> <code>Endpoint</code> that points to two public IP addresses (<code>A.B.C.D</code> and <code>X.Y.V.Z</code>).</p>
<pre><code>apiVersion: v1
kind: Service
metadata:
  name: web-app
spec:
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80
---
apiVersion: v1
kind: Endpoints
metadata:
  name: web-app
subsets:
  - addresses:
      - ip: A.B.C.D
      - ip: X.Y.V.Z
    ports:
      - port: 80
</code></pre>
<p>Is there a health check for these IP addresses by default, what if one of the IP addresses goes down?<br />
If there is no pre-built health check, how do I configure it?</p>

Xavier123
<p>As per <a href="https://github.com/kubernetes/kubernetes/issues/77738" rel="nofollow noreferrer">this feature request</a> in official kubernetes repo and the <a href="https://github.com/kubernetes/kubernetes/issues/77738#issuecomment-491560980" rel="nofollow noreferrer">comment</a> written by <em><strong>Vllry</strong></em>,</p>
<blockquote>
<p>Only ready pods have an endpoint added to the Endpoints object (there is no concept of health checks at the service/endpoint level). This allows consumers of endpoints to avoid the need to health check. So I'm afraid this would be an out-of-scope feature request.</p>
</blockquote>
<p>Kubernetes doesn’t have built-in functionality to monitor the endpoints. If you need to monitor these endpoints you can use some other tools like <strong>servicemesh</strong> or <strong>external monitoring tools</strong>.</p>
