Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionRequiredSchemaDefault
cluster_namename of Kubernetes ClustertrueString
namespacenamespacetrueString
node_namename of Kubernetes nodetrueString
capacityCapacity represents the total resources of a node.falseobject
allocatableAllocatable represents the resources of a node that are available for scheduling. Defaults to Capacityfalse

object

  • cpu
  • memory
  • storage

conditionsConditions is an array of current observed node conditions.falsev1.NodeCondition array
addressesList of addresses reachable to the node.falsev1.NodeAddresses array
daemonEndpointsEndpoints of daemons running on the Node.falsev1.NodeDaemonEndpoints
nodeInfoSet of ids/uuids to uniquely identify the node.falsev1.NodeSystemInfo
imagesList of container images on this nodefalsev1.ContainerImage array
volumesInUseList of attachable volumes in use (mounted) by the node.falsev1.UniqueVolumeName array
volumesAttachedList of volumes that are attached to the node.falsev1.AttachedVolume array


Query Cluster POD by name

  • kubectl get pods -o=name
  • kubectl get pods -o=name | grep <particular pod string> | sed "s/^.\(4\}//"


Others

  • kubectl get ns -A
  • kubectl get pods - n <namespace>