EndpointSlice

An EndpointSlice represents a subset of the endpoints that implement a Service. For a given Service, multiple EndpointSlices may exist, and together they represent all the pods selected by the Service. The kubernetes.io/service-name label links slices to their Service.

Container OrchestrationKubernetesLoad BalancingNetworkingService Discovery

Properties

Name Type Description
apiVersion string
kind string
metadata object
addressType string Address type of endpoints in this slice. All endpoints in a single slice must share the same address type.
endpoints array List of unique endpoints in this slice. Up to 1000 endpoints per slice.
ports array Network ports exposed by each endpoint in the slice.
View JSON Schema on GitHub

JSON Schema

kubernetes-services-endpointslice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EndpointSlice",
  "title": "EndpointSlice",
  "type": "object",
  "description": "An EndpointSlice represents a subset of the endpoints that implement a Service. For a given Service, multiple EndpointSlices may exist, and together they represent all the pods selected by the Service. The kubernetes.io/service-name label links slices to their Service.",
  "required": [
    "addressType",
    "endpoints"
  ],
  "properties": {
    "apiVersion": {
      "type": "string",
      "const": "discovery.k8s.io/v1"
    },
    "kind": {
      "type": "string",
      "const": "EndpointSlice"
    },
    "metadata": {
      "$ref": "#/components/schemas/ObjectMeta"
    },
    "addressType": {
      "type": "string",
      "enum": [
        "IPv4",
        "IPv6"
      ],
      "description": "Address type of endpoints in this slice. All endpoints in a single slice must share the same address type."
    },
    "endpoints": {
      "type": "array",
      "description": "List of unique endpoints in this slice. Up to 1000 endpoints per slice.",
      "maxItems": 1000,
      "items": {
        "$ref": "#/components/schemas/Endpoint"
      }
    },
    "ports": {
      "type": "array",
      "description": "Network ports exposed by each endpoint in the slice.",
      "maxItems": 100,
      "items": {
        "$ref": "#/components/schemas/EndpointPort"
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/kubernetes-services-endpointslice"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.