scope icon indicating copy to clipboard operation
scope copied to clipboard

k8s: host (node) details panel improvements

Open errordeveloper opened this issue 9 years ago • 9 comments

For Kubernetes, having node labels and kubelet version in host details panel would probably be more relevant then kernel version that we display at the very top right now. Other fields from kubectl describe nodes would probably be quite useful also.

Here are my highlights (note: node name is not always the hostname, e.g. in EC2 it's the instance ID):

Name:           gke-kubeadm-continuous-integ-default-pool-a00db3b7-vrnn
Labels:         beta.kubernetes.io/arch=amd64
            beta.kubernetes.io/instance-type=n1-standard-4
            beta.kubernetes.io/os=linux
            cloud.google.com/gke-local-ssd=true
            cloud.google.com/gke-nodepool=default-pool
            failure-domain.beta.kubernetes.io/region=europe-west1
            failure-domain.beta.kubernetes.io/zone=europe-west1-d
            kubernetes.io/hostname=gke-kubeadm-continuous-integ-default-pool-a00db3b7-vrnn
Taints:         <none>
CreationTimestamp:  Mon, 10 Oct 2016 17:45:55 +0100
Phase:          
Conditions: (some kind of compact view of conditions would be great)
  Type          Status  LastHeartbeatTime           LastTransitionTime          Reason              Message
  ----          ------  -----------------           ------------------          ------              -------
  NetworkUnavailable    False   Mon, 10 Oct 2016 17:49:34 +0100     Mon, 10 Oct 2016 17:49:34 +0100     RouteCreated            RouteController created a route
  OutOfDisk         False   Mon, 10 Oct 2016 17:49:33 +0100     Mon, 10 Oct 2016 17:45:55 +0100     KubeletHasSufficientDisk    kubelet has sufficient disk space available
  MemoryPressure    False   Mon, 10 Oct 2016 17:49:33 +0100     Mon, 10 Oct 2016 17:45:55 +0100     KubeletHasSufficientMemory  kubelet has sufficient memory available
  DiskPressure      False   Mon, 10 Oct 2016 17:49:33 +0100     Mon, 10 Oct 2016 17:45:55 +0100     KubeletHasNoDiskPressure    kubelet has no disk pressure
  Ready         True    Mon, 10 Oct 2016 17:49:33 +0100     Mon, 10 Oct 2016 17:46:32 +0100     KubeletReady            kubelet is posting ready status. WARNING: CPU hardcapping unsupported
Addresses:      10.132.0.2,146.148.7.133
Capacity: (aslo compact view to be considered)
 alpha.kubernetes.io/nvidia-gpu:    0
 cpu:                   4
 memory:                15437428Ki
 pods:                  110
Allocatable: (aslo compact view to be considered)
 alpha.kubernetes.io/nvidia-gpu:    0
 cpu:                   4
 memory:                15437428Ki
 pods:                  110
System Info:
 Machine ID:            
 System UUID:           E2544721-AEB3-F1B0-AB7F-6531412ECD72
 Boot ID:           cd7fa68f-dd95-41b9-9a54-8ef48c332304
 Kernel Version:        3.16.0-4-amd64
 OS Image:          Debian GNU/Linux 7 (wheezy)
 Operating System:      linux
 Architecture:          amd64
 Container Runtime Version: docker://1.11.2
 Kubelet Version:       v1.4.0
 Kube-Proxy Version:        v1.4.0
PodCIDR:            10.0.0.0/24
ExternalID:         6488236495975381948
Non-terminated Pods:        (well, we have these in pods view already)
Allocated resources: (I think this is pretty important)
  (Total limits may be over 100 percent, i.e., overcommitted.
  CPU Requests  CPU Limits  Memory Requests Memory Limits
  ------------  ----------  --------------- -------------
  848m (21%)    298m (7%)   864656Ki (5%)   803216Ki (5%)
Events: (would be really awesome, but require a new kind of view)

For Docker, having some of the field from docker info would be quite useful also.

Here is a subset that I find important, but obviously we don't have to have all of these:

Server Version: 1.12.1
Storage Driver: aufs
Logging Driver: json-file
Plugins:
 Volume: local
 Network: host null bridge overlay
Swarm: active
 NodeID: atsu6n6n206mpw3kvvhziuf5k
 Is Manager: true
 ClusterID: bfcdqqfb6icr5qyzpk35idae9
 Managers: 1
 Nodes: 3
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Registry: https://index.docker.io/v1/
Labels:
 provider=vmwarefusion

errordeveloper avatar Oct 10 '16 16:10 errordeveloper

Is this a dup of #1143?

rade avatar Nov 17 '16 11:11 rade

@errordeveloper ping

rade avatar Dec 12 '16 08:12 rade

@errordeveloper @2opremio ping

rade avatar Dec 15 '16 12:12 rade

I would say it is, but I would leave it up for @errordeveloper since he reported it

2opremio avatar Dec 15 '16 13:12 2opremio

@errordeveloper ping again

rade avatar Jul 05 '17 18:07 rade

#1143 is for pods and this one is for nodes.

bboreham avatar Jul 27 '17 11:07 bboreham

As @bboreham said.

errordeveloper avatar Aug 04 '17 11:08 errordeveloper

Annotations may also be of interest

bboreham avatar May 14 '18 10:05 bboreham

it will be great to include pod count/max pod capacity in node detail panel too.

ahmeed-dhon avatar Mar 10 '20 10:03 ahmeed-dhon