Appearance
Services
A Kubernetes Service gives pods a stable internal address and port. Use services on RemoteGPU when other workloads or ingresses need to reach a deployment.
In RemoteGPU, services are namespace-scoped Kubernetes resources. They are your resources, whether you create them from the console or with kubectl.
Typical reasons to create a service
A service is useful for:
- internal app-to-app traffic through a stable in-cluster target
- a stable target while deployment pods restart or scale
- a backend target before creating an ingress
Choose a workflow
Use the console when you want guided service creation for an existing deployment. The console reads the deployment selector and creates a ClusterIP service.
Use kubectl when you want to define the service selector and ports directly from a manifest.
Create a service
From the console:
- Open Kubernetes / Services
- Select a namespace
- Click
Create service - Choose the deployment you want to expose
- Provide the service details
| Console field | What it means |
|---|---|
Service name | Kubernetes service name in the namespace |
Service port | The port clients use to reach the service |
Target port | The container port or named target on the selected deployment |
The console reads the deployment selector and creates a ClusterIP service for that deployment.
After that, it behaves like any other Kubernetes service in the namespace.
Supported service profile
| Area | Supported | Not supported |
|---|---|---|
| Service type | ClusterIP | NodePort |
| Public exposure model | Ingress backed by a service | externalIPs |
| Ownership model | Namespace-scoped Kubernetes Service | Platform-managed service proxy |
Console and kubectl work on the same service list
The Services page shows the live services in the namespace.
That includes services created from the console and services created with kubectl.
Service updates and deletions made with kubectl appear in the console after refresh.
Read next
- Read Ingresses to publish the service with HTTP routing.
- Read Deployments to run or update the backend workload.
