Difference between revisions of "Kubectl get nodes -o wide"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
.../... [[NOMINATED NODE]] [[READINESS GATE]] | .../... [[NOMINATED NODE]] [[READINESS GATE]] | ||
+ | kubectl get nodes -A -o wide | awk '{print $6}' | grep -v [[INTERNAL-IP]] | ||
+ | kubectl get nodes -A -o wide | ||
+ | NAME STATUS ROLES AGE VERSION | ||
+ | INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME | ||
+ | ip-10-236-208-15.eu-west-1.compute.internal Ready worker 3y69d v1.19.15 10.236.208.15 <none> Ubuntu 18.04.4 LTS 5.4.0-1103-aws docker://19.3.14 | ||
+ | ip-10-236-208-157.eu-west-1.compute.internal Ready controlplane,etcd 4y124d v1.19.15 10.236.208.157 <none> Ubuntu 18.04.2 LTS 5.4.0-1086-aws docker://19.3.14 | ||
+ | |||
+ | kubectl get nodes -A -o wide | ||
+ | NAME STATUS | ||
+ | ip-10-236-208-15.eu-west-1.compute.internal Ready,[[SchedulingDisabled]] | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * [[Kubernetes Pod Topology Spread Constraints]] | ||
== See also == | == See also == | ||
+ | * {{kubectl get nodes}} | ||
* {{kubectl info}} | * {{kubectl info}} | ||
* {{Kubernetes nodes}} | * {{Kubernetes nodes}} | ||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 10:03, 24 October 2023
kubectl get nodes -o wide .../... NOMINATED NODE READINESS GATE
kubectl get nodes -A -o wide | awk '{print $6}' | grep -v INTERNAL-IP
kubectl get nodes -A -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME ip-10-236-208-15.eu-west-1.compute.internal Ready worker 3y69d v1.19.15 10.236.208.15 <none> Ubuntu 18.04.4 LTS 5.4.0-1103-aws docker://19.3.14 ip-10-236-208-157.eu-west-1.compute.internal Ready controlplane,etcd 4y124d v1.19.15 10.236.208.157 <none> Ubuntu 18.04.2 LTS 5.4.0-1086-aws docker://19.3.14
kubectl get nodes -A -o wide NAME STATUS ip-10-236-208-15.eu-west-1.compute.internal Ready,SchedulingDisabled
Related[edit]
See also[edit]
kubectl get nodes
:-A
- Kubectl information commands:
cluster-info
|view
|pods
|nodes
|services
|version
|describe | logs
- Kubernetes nodes,
node.kubernetes.io
K8s Node controller (node-controller),MemoryPressure, DiskPressure, NodeHasDiskPressure, events, NodeNotReady
, Node-pressure Eviction, RemovingNode, ProviderID,kubectl node-shell, kubectl describe nodes
Advertising: