INPUT_OBJECT

KubernetesKindEndpointsInput

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

  • input KubernetesKindEndpointsInput {
  • # 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
  • apiVersion: String
  • # 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
  • kind: String
  • # Standard object's metadata. More info:
  • # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
  • metadata: KubernetesResourceMetadataInput
  • # 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: [KubernetesKindEndpointsSubsetsInput]
  • }