Services

This section explains how to manage services.

Services are used to expose applications for access either within or outside the cluster.

  • In KubeSphere, applications run in pods, and multiple pod replicas of the same application are managed by workloads or jobs. While each pod has a virtual IP address accessible within the cluster, pods are non-permanent resources that may be deleted or recreated. When a pod is recreated, the new pod’s virtual IP address is generally different from the old one, and the old pod’s IP address becomes invalid.

  • Services provide a stable address (domain or IP address) for client access. Services route client requests to a specific pod and offer load balancing across multiple pod replicas, so as to solve the issue of the original address becoming invalid when a pod is deleted or recreated.

  • In addition to providing a stable access address for workloads, services can expose workloads outside the cluster through NodePort or LoadBalancer methods.

Create Services

Learn how to create services.

Create Stateful or Stateless Services

Introduces how to create stateful or stateless services.

Create External Services

Instructions on how to create external services.

Create Services Using Existing Workloads

Instructions on how to create services using existing workloads as backend workloads.

View Service List

Instructions on how to view the service list.

View Service Details

Instructions on how to view service details.

Edit Service Information

Instructions on how to edit service information.

Edit Service Settings

Instructions on how to edit service settings.

Edit Service External Access Settings

Instructions on how to edit service external access settings.

Delete Services

Instructions on how to delete services.