@jkcfg/kubernetes
Version:
jk Kubernetes library
67 lines • 2.71 kB
JSON
{
"description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.",
"properties": {
"addressType": {
"description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. Default is IP",
"type": [
"string",
"null"
]
},
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": [
"string",
"null"
]
},
"endpoints": {
"description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.discovery.v1alpha1.Endpoint"
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": [
"string",
"null"
],
"enum": [
"EndpointSlice"
]
},
"metadata": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
"description": "Standard object's metadata."
},
"ports": {
"description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.discovery.v1alpha1.EndpointPort"
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"endpoints"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "discovery.k8s.io",
"kind": "EndpointSlice",
"version": "v1alpha1"
}
],
"$schema": "http://json-schema.org/schema#"
}