I have a kubernetes cluster running with calico network plugin, some 
services in this cluster still need to connect to services outside of this 
cluster.
Suppose one of these outside service is running on multiple 
nodes:192.168.10.35:9000, 192.168.10.36:9000, then I create one service 
without selector and enpoints pointed to this outside service, these are 
the manifests files:
apiVersion: v1
kind: Service
metadata:
  name: no-selector-service
spec:
  ports:
    - protocol: TCP
      port: 9000
      targetPort: 9000
---
apiVersion: v1
kind: Endpoints
metadata:
  name: no-selector-service
subsets:
  - addresses:
      - ip: 192.168.10.35
    ports:
      - port: 9000
  - addresses:
      - ip: 192.168.10.36
    ports:
      - port: 9000
 
I am wondering how to do health check on service no-selector-service sort 
of like haproxy health check do, for example do not send traffic to 
192.168.10.35:9000 if 192.168.10.35:9000 is not responding?

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to