Skip to content

Instantly share code, notes, and snippets.

@saad749
Created March 2, 2018 16:59
Show Gist options
  • Save saad749/8f460650182a04d0ddf3158a52761a9a to your computer and use it in GitHub Desktop.
Save saad749/8f460650182a04d0ddf3158a52761a9a to your computer and use it in GitHub Desktop.
kubectl describe nodes results
kube-master@ubuntu:~$ kubectl describe nodes
Name: ubuntu
Roles: master
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/os=linux
kubernetes.io/hostname=ubuntu
node-role.kubernetes.io/master=
Annotations: node.alpha.kubernetes.io/ttl=0
volumes.kubernetes.io/controller-managed-attach-detach=true
Taints: node-role.kubernetes.io/master:NoSchedule
CreationTimestamp: Fri, 02 Mar 2018 08:21:47 -0800
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
OutOfDisk False Fri, 02 Mar 2018 08:53:59 -0800 Fri, 02 Mar 2018 08:21:43 -0800 KubeletHasSufficientDisk kubelet has sufficient disk space available
MemoryPressure False Fri, 02 Mar 2018 08:53:59 -0800 Fri, 02 Mar 2018 08:21:43 -0800 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Fri, 02 Mar 2018 08:53:59 -0800 Fri, 02 Mar 2018 08:21:43 -0800 KubeletHasNoDiskPressure kubelet has no disk pressure
Ready True Fri, 02 Mar 2018 08:53:59 -0800 Fri, 02 Mar 2018 08:22:57 -0800 KubeletReady kubelet is posting ready status. AppArmor enabled
Addresses:
InternalIP: 192.168.100.17
Hostname: ubuntu
Capacity:
cpu: 4
memory: 6080840Ki
pods: 110
Allocatable:
cpu: 4
memory: 5978440Ki
pods: 110
System Info:
Machine ID: a3948b40db09427c9f201aa3559f7395
System UUID: CAD54D56-305A-EDCC-F80F-CC0190FABC81
Boot ID: 16efd500-a2a5-446f-ba25-1187857996e0
Kernel Version: 4.13.0-36-generic
OS Image: Ubuntu 17.10
Operating System: linux
Architecture: amd64
Container Runtime Version: docker://1.13.1
Kubelet Version: v1.9.3
Kube-Proxy Version: v1.9.3
ExternalID: ubuntu
Non-terminated Pods: (7 in total)
Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits
--------- ---- ------------ ---------- --------------- -------------
kube-system etcd-ubuntu 0 (0%) 0 (0%) 0 (0%) 0 (0%)
kube-system kube-apiserver-ubuntu 250m (6%) 0 (0%) 0 (0%) 0 (0%)
kube-system kube-controller-manager-ubuntu 200m (5%) 0 (0%) 0 (0%) 0 (0%)
kube-system kube-dns-6f4fd4bdf-wfqhb 260m (6%) 0 (0%) 110Mi (1%) 170Mi (2%)
kube-system kube-proxy-h4hz9 0 (0%) 0 (0%) 0 (0%) 0 (0%)
kube-system kube-scheduler-ubuntu 100m (2%) 0 (0%) 0 (0%) 0 (0%)
kube-system weave-net-fkgnh 20m (0%) 0 (0%) 0 (0%) 0 (0%)
Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
CPU Requests CPU Limits Memory Requests Memory Limits
------------ ---------- --------------- -------------
830m (20%) 0 (0%) 110Mi (1%) 170Mi (2%)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Starting 32m kubelet, ubuntu Starting kubelet.
Normal NodeAllocatableEnforced 32m kubelet, ubuntu Updated Node Allocatable limit across pods
Normal NodeHasSufficientDisk 32m (x8 over 32m) kubelet, ubuntu Node ubuntu status is now: NodeHasSufficientDisk
Normal NodeHasSufficientMemory 32m (x8 over 32m) kubelet, ubuntu Node ubuntu status is now: NodeHasSufficientMemory
Normal NodeHasNoDiskPressure 32m (x7 over 32m) kubelet, ubuntu Node ubuntu status is now: NodeHasNoDiskPressure
Normal Starting 32m kube-proxy, ubuntu Starting kube-proxy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment