Skip to content

Instantly share code, notes, and snippets.

@Nick-Harvey
Created March 13, 2019 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nick-Harvey/319e451c91b79e0009e9c7d6d56ba92d to your computer and use it in GitHub Desktop.
Save Nick-Harvey/319e451c91b79e0009e9c7d6d56ba92d to your computer and use it in GitHub Desktop.
$ kubectl describe node
Name: minikube
Roles: master
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/os=linux
kubernetes.io/hostname=minikube
node-role.kubernetes.io/master=
Annotations: kubeadm.alpha.kubernetes.io/cri-socket: /var/run/dockershim.sock
node.alpha.kubernetes.io/ttl: 0
volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp: Wed, 13 Mar 2019 13:53:23 -0400
Taints: <none>
Unschedulable: false
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
MemoryPressure False Wed, 13 Mar 2019 14:02:43 -0400 Wed, 13 Mar 2019 13:53:12 -0400 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Wed, 13 Mar 2019 14:02:43 -0400 Wed, 13 Mar 2019 13:53:12 -0400 KubeletHasNoDiskPressure kubelet has no disk pressure
PIDPressure False Wed, 13 Mar 2019 14:02:43 -0400 Wed, 13 Mar 2019 13:53:12 -0400 KubeletHasSufficientPID kubelet has sufficient PID available
Ready True Wed, 13 Mar 2019 14:02:43 -0400 Wed, 13 Mar 2019 13:53:12 -0400 KubeletReady kubelet is posting ready status
Addresses:
InternalIP: 10.0.2.15
Hostname: minikube
Capacity:
cpu: 2
ephemeral-storage: 16888216Ki
hugepages-2Mi: 0
memory: 2038624Ki
pods: 110
Allocatable:
cpu: 2
ephemeral-storage: 15564179840
hugepages-2Mi: 0
memory: 1936224Ki
pods: 110
System Info:
Machine ID: 940b092685564fb4abc2d5a76cb0ffcd
System UUID: A79CE33E-417A-4C3E-90DE-F17CBD80CE45
Boot ID: 5c0e272a-0966-4b24-a7ca-84342bf8150d
Kernel Version: 4.15.0
OS Image: Buildroot 2018.05
Operating System: linux
Architecture: amd64
Container Runtime Version: docker://18.6.2
Kubelet Version: v1.13.3
Kube-Proxy Version: v1.13.3
Non-terminated Pods: (9 in total)
Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits AGE
--------- ---- ------------ ---------- --------------- ------------- ---
kube-system coredns-86c58d9df4-8s9vh 100m (5%) 0 (0%) 70Mi (3%) 170Mi (8%) 9m15s
kube-system coredns-86c58d9df4-w8wtx 100m (5%) 0 (0%) 70Mi (3%) 170Mi (8%) 9m15s
kube-system etcd-minikube 0 (0%) 0 (0%) 0 (0%) 0 (0%) 8m21s
kube-system kube-addon-manager-minikube 5m (0%) 0 (0%) 50Mi (2%) 0 (0%) 9m17s
kube-system kube-apiserver-minikube 250m (12%) 0 (0%) 0 (0%) 0 (0%) 8m11s
kube-system kube-controller-manager-minikube 200m (10%) 0 (0%) 0 (0%) 0 (0%) 8m30s
kube-system kube-proxy-4vnzh 0 (0%) 0 (0%) 0 (0%) 0 (0%) 9m15s
kube-system kube-scheduler-minikube 100m (5%) 0 (0%) 0 (0%) 0 (0%) 8m33s
kube-system storage-provisioner 0 (0%) 0 (0%) 0 (0%) 0 (0%) 9m13s
Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
Resource Requests Limits
-------- -------- ------
cpu 755m (37%) 0 (0%)
memory 190Mi (10%) 340Mi (17%)
ephemeral-storage 0 (0%) 0 (0%)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal NodeHasSufficientMemory 9m42s (x8 over 9m42s) kubelet, minikube Node minikube status is now: NodeHasSufficientMemory
Normal NodeHasNoDiskPressure 9m42s (x8 over 9m42s) kubelet, minikube Node minikube status is now: NodeHasNoDiskPressure
Normal NodeHasSufficientPID 9m42s (x7 over 9m42s) kubelet, minikube Node minikube status is now: NodeHasSufficientPID
Normal Starting 9m14s kube-proxy, minikube Starting kube-proxy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment