< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Create Services

This section explains how to create services.

KubeSphere supports creating services and their backend workloads in the following ways:

  • Create Stateful Services: Create services with an internal access mode set to Headless, and simultaneously create a StatefulSet as the backend workload for the service.

  • Create Stateless Services: Create services with an internal access mode set to VirtualIP, and simultaneously create a Deployment as the backend workload for the service.

  • Create External Services: Direct service traffic to services outside the cluster.

  • Specify Workloads: Create services with an internal access mode set to Headless or VirtualIP, and use existing workloads in the project as the backend workload for the service.

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.