Class GkeWorkload (2.21.0)

GkeWorkload(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to the metadata labels on monitored resources that fall under a workload (for example, k8s_container or k8s_pod).

Attributes

NameDescription
project_id str
Output only. The project this resource lives in. For legacy services migrated from the Custom type, this may be a distinct project from the one parenting the service itself.
location str
The location of the parent cluster. This may be a zone or region.
cluster_name str
The name of the parent cluster.
namespace_name str
The name of the parent namespace.
top_level_controller_type str
The type of this workload (for example, "Deployment" or "DaemonSet")
top_level_controller_name str
The name of this workload.