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 a Stateful or Stateless Service
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.