kube-slack
kube-slack copied to clipboard
Detect Pending pods
Hello guys,
we've developed Pending pods check. It is based on longnotready.ts file, but it is different.
Pending pods doesn't have any "Ready" status condition, only one status condition similiar to this :
`status: conditions:
- lastProbeTime: "2019-07-22T09:56:09Z" lastTransitionTime: "2019-07-22T09:22:00Z" message: '0/5 nodes are available: 5 Insufficient cpu.' reason: Unschedulable status: "False" type: PodScheduled`
So they have to be checked differently.
Hope you will like our PR :) Thanks!