Skip to content

Instantly share code, notes, and snippets.

@saad749
Created March 2, 2018 17:12
Show Gist options
  • Save saad749/d24c453c8b4e663e9abf572a0fb38bf4 to your computer and use it in GitHub Desktop.
Save saad749/d24c453c8b4e663e9abf572a0fb38bf4 to your computer and use it in GitHub Desktop.
kubectl describe nodes with flannel
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: flannel.alpha.coreos.com/backend-data={"VtepMAC":"6a:2a:47:dc:99:a1"}
flannel.alpha.coreos.com/backend-type=vxlan
flannel.alpha.coreos.com/kube-subnet-manager=true
flannel.alpha.coreos.com/public-ip=192.168.100.12
node.alpha.kubernetes.io/ttl=0
volumes.kubernetes.io/controller-managed-attach-detach=true
Taints: <none>
CreationTimestamp: Tue, 27 Feb 2018 13:01:00 -0800
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
OutOfDisk False Tue, 27 Feb 2018 13:30:33 -0800 Tue, 27 Feb 2018 13:00:56 -0800 KubeletHasSufficientDisk kubelet has sufficient disk space available
MemoryPressure False Tue, 27 Feb 2018 13:30:33 -0800 Tue, 27 Feb 2018 13:00:56 -0800 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Tue, 27 Feb 2018 13:30:33 -0800 Tue, 27 Feb 2018 13:00:56 -0800 KubeletHasNoDiskPressure kubelet has no disk pressure
Ready True Tue, 27 Feb 2018 13:30:33 -0800 Tue, 27 Feb 2018 13:12:42 -0800 KubeletReady kubelet is posting ready status. AppArmor enabled
Addresses:
InternalIP: 172.17.0.1
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
PodCIDR: 10.244.0.0/24
ExternalID: ubuntu
Non-terminated Pods: (5 in total)
Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits
--------- ---- ------------ ---------- --------------- -------------
kube-system kube-apiserver-ubuntu 250m (6%) 0 (0%) 0 (0%) 0 (0%)
kube-system kube-dns-6f4fd4bdf-rgvm6 260m (6%) 0 (0%) 110Mi (1%) 170Mi (2%)
kube-system kube-flannel-ds-4t97w 0 (0%) 0 (0%) 0 (0%) 0 (0%)
kube-system kube-proxy-f8fp9 0 (0%) 0 (0%) 0 (0%) 0 (0%)
kube-system kube-scheduler-ubuntu 100m (2%) 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
------------ ---------- --------------- -------------
610m (15%) 0 (0%) 110Mi (1%) 170Mi (2%)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Starting 29m kubelet, ubuntu Starting kubelet.
Normal NodeAllocatableEnforced 29m kubelet, ubuntu Updated Node Allocatable limit across pods
Normal NodeHasSufficientDisk 29m (x8 over 29m) kubelet, ubuntu Node ubuntu status is now: NodeHasSufficientDisk
Normal NodeHasSufficientMemory 29m (x7 over 29m) kubelet, ubuntu Node ubuntu status is now: NodeHasSufficientMemory
Normal NodeHasNoDiskPressure 29m (x8 over 29m) kubelet, ubuntu Node ubuntu status is now: NodeHasNoDiskPressure
Normal Starting 29m kube-proxy, ubuntu Starting kube-proxy.
Normal Starting 24m kubelet, ubuntu Starting kubelet.
Normal NodeAllocatableEnforced 24m kubelet, ubuntu Updated Node Allocatable limit across pods
Normal NodeHasSufficientDisk 24m kubelet, ubuntu Node ubuntu status is now: NodeHasSufficientDisk
Normal NodeHasSufficientMemory 24m kubelet, ubuntu Node ubuntu status is now: NodeHasSufficientMemory
Normal NodeHasNoDiskPressure 24m kubelet, ubuntu Node ubuntu status is now: NodeHasNoDiskPressure
Normal Starting 24m kube-proxy, ubuntu Starting kube-proxy.
Normal NodeNotReady 24m (x2 over 24m) kubelet, ubuntu Node ubuntu status is now: NodeNotReady
Warning Rebooted 19m (x31 over 24m) kubelet, ubuntu Node ubuntu has been rebooted, boot id: 658b4a08-d724-425e-9246-2b41995ecc46
Normal Starting 17m kubelet, ubuntu Starting kubelet.
Normal NodeAllocatableEnforced 17m kubelet, ubuntu Updated Node Allocatable limit across pods
Normal NodeHasSufficientDisk 17m kubelet, ubuntu Node ubuntu status is now: NodeHasSufficientDisk
Normal NodeHasSufficientMemory 17m kubelet, ubuntu Node ubuntu status is now: NodeHasSufficientMemory
Normal NodeHasNoDiskPressure 17m kubelet, ubuntu Node ubuntu status is now: NodeHasNoDiskPressure
Normal NodeNotReady 17m kubelet, ubuntu Node ubuntu status is now: NodeNotReady
Normal Starting 17m kube-proxy, ubuntu Starting kube-proxy.
Warning Rebooted 4m (x119 over 24m) kubelet, ubuntu Node ubuntu has been rebooted, boot id: 16efd500-a2a5-446f-ba25-1187857996e0
Warning Rebooted 2m (x91 over 17m) kubelet, ubuntu Node ubuntu has been rebooted, boot id: 658b4a08-d724-425e-9246-2b41995ecc46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment