Skip to content

Instantly share code, notes, and snippets.

@5long
Created July 16, 2020 05:36
Show Gist options
  • Save 5long/f79c2f3a759512c72214d3506f6c8d5f to your computer and use it in GitHub Desktop.
Save 5long/f79c2f3a759512c72214d3506f6c8d5f to your computer and use it in GitHub Desktop.
Sample of FailedScheduling events
# Output of command:
# kubectl get events -n debug --field-selector reason=FailedScheduling -o yaml ~
apiVersion: v1
items:
- action: Scheduling
apiVersion: v1
eventTime: "2020-07-16T05:34:23.503432Z"
firstTimestamp: null
involvedObject:
apiVersion: v1
kind: Pod
name: httpbin-5bc99b769f-mrf7l
namespace: debug
resourceVersion: "780399964"
uid: 63dbba8b-ee4a-40eb-99a5-85670020abb5
kind: Event
lastTimestamp: null
message: '0/9 nodes are available: 9 Insufficient cpu.'
metadata:
creationTimestamp: "2020-07-16T05:34:23Z"
name: httpbin-5bc99b769f-mrf7l.162224c8f153d194
namespace: debug
resourceVersion: "5240028"
selfLink: /api/v1/namespaces/debug/events/httpbin-5bc99b769f-mrf7l.162224c8f153d194
uid: a75f1b3a-517d-4183-b010-72fa6ab0ff82
reason: FailedScheduling
reportingComponent: default-scheduler
reportingInstance: default-scheduler-controlplane-scheduler-595dc58f99-42wjx
source:
component: default-scheduler
type: Warning
- action: Scheduling
apiVersion: v1
eventTime: "2020-07-16T05:34:23.515753Z"
firstTimestamp: null
involvedObject:
apiVersion: v1
kind: Pod
name: httpbin-5bc99b769f-mrf7l
namespace: debug
resourceVersion: "780399967"
uid: 63dbba8b-ee4a-40eb-99a5-85670020abb5
kind: Event
lastTimestamp: null
message: '0/9 nodes are available: 9 Insufficient cpu.'
metadata:
creationTimestamp: "2020-07-16T05:34:23Z"
name: httpbin-5bc99b769f-mrf7l.162224c8f20fd55b
namespace: debug
resourceVersion: "5240029"
selfLink: /api/v1/namespaces/debug/events/httpbin-5bc99b769f-mrf7l.162224c8f20fd55b
uid: ec010e1e-abf6-4c5c-92b5-0c881d9f83b3
reason: FailedScheduling
reportingComponent: default-scheduler
reportingInstance: default-scheduler-controlplane-scheduler-595dc58f99-42wjx
source:
component: default-scheduler
type: Warning
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment