Difference between revisions of "Kubectl cluster-info dump"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  [[kubectl cluster-info]] dump
 
  [[kubectl cluster-info]] dump
 
  .../...
 
  .../...
 +
 +
Note: kubectl cluster-info dump do not include information about APIs. Use:
 +
  [[kubectl cluster-info dump]] && [[kubectl api-resources]]
 +
 
   
 
   
 
  kubectl cluster-info dump | wc -l
 
  kubectl cluster-info dump | wc -l
 
  5840
 
  5840
 +
 +
kubectl cluster-info dump | wc -l
 +
10124
  
 
== [[Minikube]] ==
 
== [[Minikube]] ==
Line 12: Line 19:
 
  3123
 
  3123
  
  kubectl cluster-info dump | grep '"kind":'  | trim
+
== Kind ==
 +
  kubectl cluster-info dump | grep '"kind":'  | sort | uniq | trim
 +
"[[kind]]": "[[DaemonSet]]",
 +
"kind": "[[Deployment]]",
 +
"kind": "Node",
 +
"kind": "ReplicaSet",
 +
"kind": "[[DaemonSetList]]",
 +
"kind": "[[DeploymentList]]",
 +
"kind": "EventList",
 
  "kind": "[[NodeList]]",
 
  "kind": "[[NodeList]]",
  "kind": "[[EventList]]",
+
  "kind": "[[PodList]]",
 +
"kind": "[[ReplicaSetList]]",
 
  "kind": "[[ReplicationControllerList]]",
 
  "kind": "[[ReplicationControllerList]]",
 
  "kind": "[[ServiceList]]",
 
  "kind": "[[ServiceList]]",
  "kind": "DaemonSetList",
+
 
 +
  kubectl cluster-info dump | grep '"kind":'  | sort | uniq | trim
 +
"kind": "DaemonSet",
 +
"kind": "[[DaemonSetList]]",
 +
"kind": "Deployment",
 
  "kind": "DeploymentList",
 
  "kind": "DeploymentList",
  "kind": "ReplicaSetList",
+
  "kind": "EventList",
  "kind": "Deployment",
+
  "kind": "NodeList",
 +
"kind": "Pod",
 
  "kind": "PodList",
 
  "kind": "PodList",
 
  "kind": "ReplicaSet",
 
  "kind": "ReplicaSet",
  "kind": "Node",
+
  "kind": "ReplicaSetList",
"kind": "Node",
 
"kind": "Node",
 
"kind": "DaemonSet",
 
"kind": "Node",
 
"kind": "EventList",
 
 
  "kind": "ReplicationControllerList",
 
  "kind": "ReplicationControllerList",
 
  "kind": "ServiceList",
 
  "kind": "ServiceList",
"kind": "DaemonSetList",
+
 
"kind": "DeploymentList",
+
== apiVersion ==
  "kind": "ReplicaSetList",
+
  "apiVersion": "[[apps/v1]]",
  "kind": "PodList",
+
  "apiVersion": "v1",
  
 
== Related ==
 
== Related ==
 
* <code>[[kubectl cluster-info]]</code>
 
* <code>[[kubectl cluster-info]]</code>
 +
* <code>[[kubectl api-resources]]</code>
  
 
== See also ==
 
== See also ==
 
* {{kubectl info}}
 
* {{kubectl info}}
 
* {{K8s info}}
 
* {{K8s info}}
 +
* {{K8s tr}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 17:37, 14 December 2023

https://www.mankier.com/1/kubectl-cluster-info-dump

kubectl cluster-info dump
.../...
Note: kubectl cluster-info dump do not include information about APIs. Use:
 kubectl cluster-info dump && kubectl api-resources


kubectl cluster-info dump | wc -l
5840
kubectl cluster-info dump | wc -l
10124

Minikube[edit]

kubectl cluster-info dump | wc -l
3123

Kind[edit]

kubectl cluster-info dump | grep '"kind":'  | sort | uniq | trim
"kind": "DaemonSet",
"kind": "Deployment",
"kind": "Node",
"kind": "ReplicaSet",
"kind": "DaemonSetList",
"kind": "DeploymentList",
"kind": "EventList",
"kind": "NodeList",
"kind": "PodList",
"kind": "ReplicaSetList",
"kind": "ReplicationControllerList",
"kind": "ServiceList",
kubectl cluster-info dump | grep '"kind":'  | sort | uniq | trim
"kind": "DaemonSet",
"kind": "DaemonSetList",
"kind": "Deployment",
"kind": "DeploymentList",
"kind": "EventList",
"kind": "NodeList",
"kind": "Pod",
"kind": "PodList",
"kind": "ReplicaSet",
"kind": "ReplicaSetList",
"kind": "ReplicationControllerList",
"kind": "ServiceList",

apiVersion[edit]

"apiVersion": "apps/v1",
"apiVersion": "v1",

Related[edit]

See also[edit]

Advertising: