OBJECT

KubernetesKindEndpoints

Endpoints is a collection of endpoints that implement the actual service. Example: Name: "mysvc", Subsets: [ { Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] }, { Addresses: [{"ip": "10.10.3.3"}], Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] }, ]

link GraphQL Schema definition

  • type KubernetesKindEndpoints implements KubernetesResourceInterface, Node {
  • # Kubernetes resource API version
  • apiVersion: String!
  • # Resource context
  • context: KubernetesResourceContext!
  • # Node-compatible globally unique opaque ID field
  • id: ID!
  • # Raw JSON response as produced by KRM API
  • json: JSON!
  • # Kubernetes resource kind coming from resourceKind.kind
  • kind: String!
  • # Standard object's metadata. More info:
  • # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
  • metadata: KubernetesResourceMetadata!
  • # name field, taken from metadata.name
  • name: String!
  • # Relationships to other nodes
  • relationships: KubernetesKindEndpointsRelationships!
  • # Kubernetes resource kind metadata
  • resourceKind: KubernetesResourceKind!
  • # EndpointSubset is a group of addresses with a common set of ports. The expanded
  • # set of endpoints is the Cartesian product of Addresses x Ports. For example,
  • # given: { Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], Ports:
  • # [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] } The resulting set of
  • # endpoints can be viewed as: a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], b: [
  • # 10.10.1.1:309, 10.10.2.2:309 ]
  • subsets: [KubernetesKindEndpointsSubsets]
  • # Raw YAML response as produced by KRM API
  • yaml: String!
  • }