Kubernetes service only points to one master in a multi-master cluster

Solution Verified - Updated -

Issue

  • Why Does Kubernetes service have only one endpoint in a multi-master cluster?
# oc describe svc kubernetes -n default
Name:              kubernetes
Namespace:         default
Labels:            component=apiserver
                   provider=kubernetes
Annotations:       <none>
Selector:          <none>
Type:              ClusterIP
IP:                10.0.0.1
Port:              https  443/TCP
TargetPort:        8443/TCP
Endpoints:         10.0.0.1:8443
Port:              dns  53/UDP
TargetPort:        8053/UDP
Endpoints:         10.0.0.1:8053
Port:              dns-tcp  53/TCP
TargetPort:        8053/TCP
Endpoints:         10.0.0.1:8053
Session Affinity:  None
Events:            <none>

Environment

  • Openshift Container Platform (OCP)
    • 3.10
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content