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

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  [[gcloud logging read]] resource.labels.cluster_name
 
  [[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 ==
 
  [[severity: ERROR]]
 
  [[severity: ERROR]]
 +
[[kubectl get events -A]]
  
 +
== See also ==
 +
* {{gcloud logging read}}
  
* {{gcloud logging read}}
+
[[Category:GCP]]

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: