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
  • #
  • # }
  • #
  • # }
  • #
  • # }
  • #
  • # }
  • #
  • # }
  • # }
  • # ```
  • #
  • # **NOTE:** This API/functionality is in Alpha, This functionality can be unstable
  • # and schema elements may change over future iterations.
  • resource: KubernetesResourceInterface
  • # Event type
  • type: KubernetesResourceEventType!
  • }