Access Services Running on Clusters | Kubernetes

Access Services Running on Clusters | Kubernetes

This page shows how to connect to services running on the kubernetes cluster.

before we start

You must have a kubernetes cluster and the kubectl command line tool must be configured to communicate with your cluster. It is recommended that you run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. if you don’t already have a cluster you can create one using minikube or you can use one of these kubernetes playgrounds:

Reading: How to connect to kubernetes pod

  • killercoda
  • play with kubernetes

access services running on the cluster

in kubernetes, nodes, pods and services all have their own ip’s. In many cases, node ips, pod ips, and some service ips in a cluster will not be routable, so they will not be accessible from a machine outside the cluster, such as your desktop machine.

ways to connect

You have several options to connect to nodes, pods and services from outside the cluster:

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button