OBJECT

KubernetesResourceEvent

Event from a resource subscription

link GraphQL Schema definition

  • type KubernetesResourceEvent {
  • # Kubernetes resource that has been updated.
  • #
  • # Type-specific fields from the returned resource can be requested in the GraphQL
  • # query via an inline query fragment using the specific GraphQL type,
  • # or use the generic resource type: `KubernetesResource`.
  • #
  • # For example:
  • # ```
  • # subscription {
  • #
  • # applicationEngineResourceEvents(
  • #
  • # kind: "Pod"
  • #
  • # context: { namespace: "ensemble-be" }
  • #
  • # ) {
  • #
  • # type
  • #
  • # resource {
  • #
  • # name
  • #
  • # ... on KubernetesKindPod {
  • #
  • # status {
  • #
  • # phase
  • #
  • # }
  • #
  • # relationships {
  • #
  • # controller {
  • #
  • # name
  • #
  • # }
  • #
  • # }
  • #
  • # }
  • #
  • # }
  • #
  • # }
  • # }
  • # ```
  • resource: KubernetesResourceInterface
  • # Event type
  • type: KubernetesResourceEventType!
  • }