Kubernetes Services website screenshot

Kubernetes Services

Kubernetes Services provide an abstract way to expose an application running on a set of Pods as a network service. They provide stable networking endpoints and load balancing across pod replicas in a Kubernetes cluster.

6 APIs 0 Features
Container OrchestrationKubernetesLoad BalancingNetworkingService Discovery

APIs

Kubernetes Services

The Kubernetes Services API provides an abstraction for exposing groups of Pods over a network with a stable virtual IP address and DNS name. It supports ClusterIP, NodePort, Lo...

Kubernetes Ingress

The Kubernetes Ingress API manages external HTTP and HTTPS access to services within a cluster, providing load balancing, SSL termination, and name-based virtual hosting. Traffi...

Kubernetes Gateway API

The Kubernetes Gateway API is a role-oriented, extensible API for managing ingress and mesh traffic routing in Kubernetes. It supports advanced traffic management including head...

Kubernetes EndpointSlices

The Kubernetes EndpointSlices API tracks IP addresses, ports, readiness, and topology information for Pods backing a Service. EndpointSlices replaced the older Endpoints API to ...

Kubernetes Network Policies

The Kubernetes NetworkPolicy API controls how groups of Pods communicate with each other and with external network endpoints. Policies define ingress and egress rules based on P...

Kubernetes DNS for Services and Pods

Kubernetes provides DNS-based service discovery for Services and Pods within a cluster. DNS records are automatically created for Services, allowing workloads to locate services...

Collections

Pricing Plans

Rate Limits

Kubernetes Services Rate Limits

2 limits

RATE LIMITS

FinOps

Event Specifications

Kubernetes Services Watch Events

The Kubernetes Services watch API provides streaming event notifications for networking resources including Services, Ingresses, EndpointSlices, NetworkPolicies, and Gateway API...

ASYNCAPI

Semantic Vocabularies

Kubernetes Services Context

0 classes · 28 properties

JSON-LD

JSON Structure

Kubernetes Services Structure

0 properties

JSON STRUCTURE

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
🔗
Reference
Reference
👥
GitHubOrganization
GitHubOrganization
👥
GitHubRepository
GitHubRepository
📰
Blog
Blog
🔗
Community
Community
📄
ChangeLog
ChangeLog
🔗
JSONSchema
JSONSchema
🔗
JSONLD
JSONLD

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Kubernetes Services API
  version: v1.32.0
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: Default
    type: folder
  items:
  - info:
      name: Kubernetes Services List Services in a namespace
      type: http
    http:
      method: GET
      url: https://kubernetes.default.svc/api/v1/namespaces/:namespace/services
      params:
      - name: namespace
        value: ''
        type: path
        description: Namespace name to scope the request.
      - name: labelSelector
        value: ''
        type: query
        description: Label selector expression to filter resources. Supports equality (=, ==, !=) and set-based (in, notin,
          exists) operators.
      - name: fieldSelector
        value: ''
        type: query
        description: 'Field selector expression to filter resources by field values. Example: metadata.name=my-service'
      - name: limit
        value: ''
        type: query
        description: Maximum number of items to return. Use with continue for pagination.
      - name: continue
        value: ''
        type: query
        description: Pagination token from a previous response's metadata.continue field.
      - name: resourceVersion
        value: ''
        type: query
        description: Resource version for watch operations. Returns events after this version.
      - name: watch
        value: ''
        type: query
        description: If true, return a watch stream of changes instead of a list.
    docs: Returns a list of all Services in the specified namespace. Services provide stable virtual IPs and DNS names for
      pod groups. Supports label and field filtering, and streaming via the watch parameter.
  - info:
      name: Kubernetes Services Create a Service
      type: http
    http:
      method: POST
      url: https://kubernetes.default.svc/api/v1/namespaces/:namespace/services
      params:
      - name: namespace
        value: ''
        type: path
        description: Namespace name to scope the request.
      - name: dryRun
        value: ''
        type: query
        description: If 'All', the request is validated and processed without persisting. Useful to verify changes before
          applying them.
      body:
        type: json
        data: '{}'
    docs: 'Creates a new Service in the specified namespace. The Service type determines how the service is exposed: ClusterIP
      for internal access, NodePort to add a node-level port, LoadBalancer to provision a cloud load balancer, or ExternalName
      to alias an external DNS name.'
  - info:
      name: Kubernetes Services Get a Service
      type: http
    http:
      method: GET
      url: https://kubernetes.default.svc/api/v1/namespaces/:namespace/services/:name
      params:
      - name: namespace
        value: ''
        type: path
        description: Namespace name to scope the request.
      - name: name
        value: ''
        type: path
        description: Name of the Service resource.
    docs: Returns the specified Service including its cluster IP, type, port mappings, selector, session affinity configuration,
      and load balancer status.
  - info:
      name: Kubernetes Services Replace a Service
      type: http
    http:
      method: PUT
      url: https://kubernetes.default.svc/api/v1/namespaces/:namespace/services/:name
      params:
      - name: namespace
        value: ''
        type: path
        description: Namespace name to scope the request.
      - name: name
        value: ''
        type: path
        description: Name of the Service resource.
      - name: dryRun
        value: ''
        type: query
        description: If 'All', the request is validated and processed without persisting. Useful to verify changes before
          applying them.
      body:
        type: json
        data: '{}'
    docs: Replaces the full specification of the specified Service. Updates to selector take effect immediately; changing
      the type between ClusterIP, NodePort, and LoadBalancer may trigger infrastructure changes.
  - info:
      name: Kubernetes Services Patch a Service
      type: http
    http:
      method: PATCH
      url: https://kubernetes.default.svc/api/v1/namespaces/:namespace/services/:name
      params:
      - name: namespace
        value: ''
        type: path
        description: Namespace name to scope the request.
      - name: name
        value: ''
        type: path
        description: Name of the Service resource.
      - name: dryRun
        value: ''
        type: query
        description: If 'All', the request is validated and processed without persisting. Useful to verify changes before
          applying them.
      body:
        type: json
        data: '{}'
    docs: Applies a partial update to the specified Service. Supports strategic-merge-patch, merge-patch, and apply-patch
      content types for targeted field updates without replacing the full resource.
  - info:
      name: Kubernetes Services Delete a Service
      type: http
    http:
      method: DELETE
      url: https://kubernetes.default.svc/api/v1/namespaces/:namespace/services/:name
      params:
      - name: namespace
        value: ''
        type: path
        description: Namespace name to scope the request.
      - name: name
        value: ''
        type: path
        description: Name of the Service resource.
      - name: gracePeriodSeconds
        value: ''
        type: query
        description: Duration in seconds to wait before forcefully deleting the resource.
      - name: dryRun
        value: ''
        type: query
        description: If 'All', the request is validated and processed without persisting. Useful to verify changes before
          applying them.
    docs: Deletes the specified Service. For LoadBalancer-type services, the associated external load balancer will be deprovisioned.
      ClusterIP is released back to the IP pool.
  - info:
      name: Kubernetes Services List Services across all namespaces
      type: http
    http:
      method: GET
      url: https://kubernetes.default.svc/api/v1/services
      params:
      - name: labelSelector
        value: ''
        type: query
        description: Label selector expression to filter resources. Supports equality (=, ==, !=) and set-based (in, notin,
          exists) operators.
      - name: fieldSelector
        value: ''
        type: query
        description: 'Field selector expression to filter resources by field values. Example: metadata.name=my-service'
      - name: limit
        value: ''
        type: query
        description: Maximum number of items to return. Use with continue for pagination.
      - name: watch
        value: ''
        type: query
        description: If true, return a watch stream of changes instead of a list.
    docs: Returns a list of all Services across every namespace in the cluster. Useful for cluster-wide service discovery
      and auditing. Supports label and field filtering.
- info:
    name: ServiceStatus
    type: folder
  items:
  - info:
      name: Kubernetes Services Get Service status
      type: http
    http:
      method: GET
      url: https://kubernetes.default.svc/api/v1/namespaces/:namespace/services/:name/status
      params:
      - name: namespace
        value: ''
        type: path
        description: Namespace name to scope the request.
      - name: name
        value: ''
        type: path
        description: Name of the Service resource.
    docs: Returns the status subresource of the specified Service, including load balancer ingress IPs or hostnames and any
      provisioning conditions.
  - info:
      name: Kubernetes Services Replace Service status
      type: http
    http:
      method: PUT
      url: https://kubernetes.default.svc/api/v1/namespaces/:namespace/services/:name/status
      params:
      - name: namespace
        value: ''
        type: path
        description: Namespace name to scope the request.
      - name: name
        value: ''
        type: path
        description: Name of the Service resource.
      body:
        type: json
        data: '{}'
    docs: Replaces the status subresource of the specified Service. Used by load balancer controllers to report the provisioned
      external IP or hostname back to the Service resource.
bundled: true