Editing Kubectl get events
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | * <code>[[kubectl get]] events</code> | |
− | |||
− | * <code>[[kubectl get | ||
* <code>[[kubectl get events -A]]</code> | * <code>[[kubectl get events -A]]</code> | ||
− | |||
− | |||
− | |||
− | |||
* <code>kubectl get events -o yaml</code> | * <code>kubectl get events -o yaml</code> | ||
Line 16: | Line 10: | ||
* <code>[[kubectl -n gitlab-runner get events --field-selector type!=Normal]]</code> | * <code>[[kubectl -n gitlab-runner get events --field-selector type!=Normal]]</code> | ||
− | + | kubectl get events -A | grep [[Warning]] | |
kubectl get events -A | grep [[Warning]] | egrep "[[FailedMount]]|[[FailedAttachVolume]]|[[Unhealthy]]|[[ClusterUnhealthy]]|[[FailedScheduling]]" | kubectl get events -A | grep [[Warning]] | egrep "[[FailedMount]]|[[FailedAttachVolume]]|[[Unhealthy]]|[[ClusterUnhealthy]]|[[FailedScheduling]]" | ||
Line 22: | Line 16: | ||
== Events examples == | == Events examples == | ||
− | |||
− | |||
=== Warning === | === Warning === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
your_namespace 28s Warning [[FailedScheduling]] pod/kibana-kibana-654ccb45bd-pbp4r 0/2 nodes are available: 2 [[Insufficient cpu]]. | your_namespace 28s Warning [[FailedScheduling]] pod/kibana-kibana-654ccb45bd-pbp4r 0/2 nodes are available: 2 [[Insufficient cpu]]. | ||
Line 63: | Line 44: | ||
− | [[kube-system]] 43m [[Warning]] [[ClusterUnhealthy]] [[configmap/]] | + | [[kube-system]] 43m [[Warning]] [[ClusterUnhealthy]] [[configmap/]][[cluster-autoscaler-status]] [[Cluster has no ready nodes]]. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Normal === | === Normal === | ||
Line 87: | Line 55: | ||
[[Evict]] | [[Evict]] | ||
[[SandboxChanged]] | [[SandboxChanged]] | ||
− | [[SuccessfulCreate | + | [[SuccessfulCreate]] |
[[SuccessfulDelete]] | [[SuccessfulDelete]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 117: | Line 79: | ||
* <code>[[FailedKillPod]]</code> | * <code>[[FailedKillPod]]</code> | ||
* <code>[[FailedScheduling]]</code> | * <code>[[FailedScheduling]]</code> | ||
− | |||
− | |||
* <code>[[Generated]]</code> | * <code>[[Generated]]</code> | ||
* <code>[[PresentError]]</code> | * <code>[[PresentError]]</code> | ||
Line 129: | Line 89: | ||
* <code>[[SuccessfulCreate]]</code> | * <code>[[SuccessfulCreate]]</code> | ||
* <code>[[SuccessfulDelete]]</code> | * <code>[[SuccessfulDelete]]</code> | ||
− | |||
− | |||
− | |||
* <code>[[NoPods]]</code> | * <code>[[NoPods]]</code> | ||
* <code>[[NodeHasNoDiskPressure]]</code> | * <code>[[NodeHasNoDiskPressure]]</code> | ||
* <code>[[UnAvailableLoadBalancer]]</code> | * <code>[[UnAvailableLoadBalancer]]</code> | ||
− | |||
* <code>[[VolumeFailedDelete]]</code> | * <code>[[VolumeFailedDelete]]</code> | ||
== Related == | == Related == | ||
− | |||
* <code>[[kubectl top]]</code> | * <code>[[kubectl top]]</code> | ||
* <code>[[kubectl logs]]</code> | * <code>[[kubectl logs]]</code> | ||
* <code>[[gcloud logging read resource.labels.cluster_name]]</code> | * <code>[[gcloud logging read resource.labels.cluster_name]]</code> | ||
+ | * <code>[[kubectl get events --help]]</code> | ||
* [[job-controller]] | * [[job-controller]] | ||
* [[GCP Node logs]] | * [[GCP Node logs]] | ||
Line 148: | Line 104: | ||
* <code>[[kubectl describe nodes (conditions:)]]</code> | * <code>[[kubectl describe nodes (conditions:)]]</code> | ||
* <code>[[kubectl describe nodes]] | grep [[KubeletReady]]</code> | * <code>[[kubectl describe nodes]] | grep [[KubeletReady]]</code> | ||
− | |||
== See also == | == See also == | ||
* {{kubectl events}} | * {{kubectl events}} | ||
+ | * {{kubectl info}} | ||
* {{K8s troubleshooting}} | * {{K8s troubleshooting}} | ||
− | |||
[[Category:K8s]] | [[Category:K8s]] |
Advertising: