Skip to content

twexler/kubectl-node_condition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubectl node-condition

kubectl node-codition is a plugin for kubectl that simply outputs all Conditions linked to a Node.

Install

go get github.com/twexler/kube-node_condition

Example

> kubectl node-condition
docker-for-desktop
==================

+----------------------------+--------+--------------------------------+-------------------------------+
|           REASON           | STATUS |            MESSAGE             |     LAST TRANSITION TIME      |
+----------------------------+--------+--------------------------------+-------------------------------+
| KubeletHasSufficientDisk   | False  | kubelet has sufficient disk    | 2018-11-22 12:17:49 -0500 EST |
|                            |        | space available                |                               |
+----------------------------+--------+--------------------------------+-------------------------------+
| KubeletHasSufficientMemory | False  | kubelet has sufficient memory  | 2018-11-22 12:17:49 -0500 EST |
|                            |        | available                      |                               |
+----------------------------+--------+--------------------------------+-------------------------------+
| KubeletHasNoDiskPressure   | False  | kubelet has no disk pressure   | 2018-11-22 12:17:49 -0500 EST |
+----------------------------+--------+--------------------------------+-------------------------------+
| KubeletHasSufficientPID    | False  | kubelet has sufficient PID     | 2018-11-22 12:17:49 -0500 EST |
|                            |        | available                      |                               |
+----------------------------+--------+--------------------------------+-------------------------------+
| KubeletReady               | True   | kubelet is posting ready       | 2018-11-22 12:17:49 -0500 EST |
|                            |        | status                         |                               |
+----------------------------+--------+--------------------------------+-------------------------------+

Why

I found it difficult to ascertain the condition of nodes on clusters I operate en masse.

About

A kubectl plugin to output node condition information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages