OBJECT

KubernetesResourceMetadata

link GraphQL Schema definition

  • type KubernetesResourceMetadata {
  • # a map of string keys and values that can be used by external tooling to store
  • # and retrieve arbitrary metadata about this object
  • annotations: [Tag!]
  • # a string representing an RFC 3339 date of the date and time an object was
  • # created
  • creationTimestamp: DateTime
  • # Number of seconds allowed for this object to gracefully terminate before it will
  • # be removed from the system. Only set when deletionTimestamp is also set. May
  • # only be shortened. Read-only.
  • deletionGracePeriodSeconds: Int
  • # DeletionTimestamp is RFC 3339 date and time at which this resource will be
  • # deleted. This field is set by the server when a graceful deletion is requested
  • # by the user,
  • # and is not directly settable by a client. The resource is expected to be deleted
  • # (no longer visible from resource lists, and not reachable by name) after the
  • # time in this field, once the
  • # finalizers list is empty. As long as the finalizers list contains items,
  • # deletion is blocked. Once the deletionTimestamp is set, this value may not be
  • # unset or be set further into the future, although
  • # it may be shortened or the resource may be deleted prior to this time. For
  • # example, a user may request that a pod is deleted in 30 seconds. The Kubelet
  • # will react by sending a graceful
  • # termination signal to the containers in the pod. After that 30 seconds, the
  • # Kubelet will send a hard termination signal (SIGKILL) to the container and after
  • # cleanup, remove the pod from the API. In
  • # the presence of network partitions, this object may still exist after this
  • # timestamp, until an administrator or automated process can determine the
  • # resource is fully terminated. If not set,
  • # graceful deletion of the object has not been requested.\n\nPopulated by the
  • # system when a graceful deletion is requested. Read-only. More info:
  • # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
  • deletionTimestamp: DateTime
  • finalizers: [String]
  • # GenerateName is an optional prefix, used by the server, to generate a unique
  • # name ONLY IF the Name field has not been provided. If this field is used, the
  • # name returned to the client will be
  • # different than the name passed. This value will also be combined with a unique
  • # suffix. The provided value has the same validation rules as the Name field, and
  • # may be
  • # truncated by the length of the suffix required to make the value unique on the
  • # server.\n\nIf this field is specified and the generated name exists, the server
  • # will NOT return a 409 - instead, it
  • # will either return 201 Created or 500 with Reason ServerTimeout indicating a
  • # unique name could not be found in the time allotted, and the client should retry
  • # (optionally after the time indicated
  • # in the Retry-After header).\n\nApplied only if Name is not specified. More info:
  • # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
  • generateName: String
  • # a sequence number representing a specific generation of the desired state. Set
  • # by the system and monotonically increasing, per-resource. May be compared, such
  • # as for RAW and WAW consistency.
  • generation: Int
  • # a map of string keys and values that can be used to organize and categorize
  • # objects
  • labels: [Tag!]
  • # a string that uniquely identifies this object within the current namespace
  • name: String!
  • # a namespace is a DNS compatible label that objects are subdivided into. The
  • # default namespace is 'default'
  • namespace: String
  • # List of objects depended by this object. If ALL objects in the list have been
  • # deleted, this object will be garbage collected. If this object is managed by a
  • # controller, then an entry in this list will point to this controller, with the
  • # controller field set to true. There cannot be more than one managing controller.
  • ownerReferences: [KubernetesResourceMetadataOwnerReference!]
  • # a string that identifies the internal version of this object that can be used by
  • # clients to determine when objects have changed. This value MUST be treated as
  • # opaque by clients and passed unmodified back to the server. Clients should not
  • # assume that the resource version has meaning across namespaces, different kinds
  • # of resources, or different servers
  • resourceVersion: String
  • # a unique in time and space value (typically an RFC 4122 generated identifier)
  • # used to distinguish between objects with the same name that have been deleted
  • # and recreated
  • uid: String
  • }

link Require by