Difference between revisions of "Gcloud logging read resource.labels.cluster name"

From wikieduonline
Jump to navigation Jump to search
 
Line 3: Line 3:
  
 
  [[gcloud logging read]] resource.labels.cluster_name="[[your-cluster-name]]" | grep -B1 "[[no ready nodes]]"
 
  [[gcloud logging read]] resource.labels.cluster_name="[[your-cluster-name]]" | grep -B1 "[[no ready nodes]]"
 +
 +
[[gcloud logging read]] resource.labels.cluster_name="[[your-cluster-name]]" [[--freshness]] 90d | grep -B1 "[[no ready nodes]]"
 +
  
 
== Related ==
 
== Related ==

Latest revision as of 17:02, 29 November 2022

gcloud logging read resource.labels.cluster_name
gcloud logging read resource.labels.cluster_name="your-cluster-name" | grep -B1 "no ready nodes"
gcloud logging read resource.labels.cluster_name="your-cluster-name" --freshness 90d | grep -B1 "no ready nodes"


Related[edit]

severity: ERROR
kubectl get events -A

See also[edit]

Advertising: