Feedback

Chat Icon

End-to-End Kubernetes with Rancher, RKE2, K3s, Fleet, Longhorn, and NeuVector

The full journey from nothing to production

Deploying and Managing Services Using Rancher Manager - Part I
35%

A ClusterIP for the Deployment

We are going to start by creating a ClusterIP Service for our todo-app. In the next section, we will see how to create an Ingress Service to expose the todo-app to the outside world. Follow these steps to create a ClusterIP Service:

  • Click on Service Discovery and then Services.
  • Select ClusterIP as the type of Service.
  • Choose todo-app-namespace as the namespace.
  • Choose a name for the Service, for example, todo-app-clusterip.
  • In the Service Ports section, fill in the following details:
  • Name: http.
  • Listening Port: 5000.
  • Target Port: 5000.

ℹ️ The Listening Port is the port that the Service will listen on, and the Target Port is the port that the Service forwards traffic to, which is the port that the container listens on.

  • In the Selector section, add the following labels:

End-to-End Kubernetes with Rancher, RKE2, K3s, Fleet, Longhorn, and NeuVector

The full journey from nothing to production

Enroll now to unlock all content and receive all future updates for free.