mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 21:50:05 +00:00
Implement 'kubectl get ... -o wide'
This commit is contained in:
@@ -42,7 +42,7 @@ You can use \-\-output=template \-\-template=TEMPLATE to extract specific values
|
||||
|
||||
.PP
|
||||
\fB\-o\fP, \fB\-\-output\fP=""
|
||||
Output format. One of: json|yaml|template|templatefile.
|
||||
Output format. One of: json|yaml|template|templatefile|wide.
|
||||
|
||||
.PP
|
||||
\fB\-\-output\-version\fP=""
|
||||
|
@@ -56,7 +56,7 @@ re\-use the labels from the resource it exposes.
|
||||
|
||||
.PP
|
||||
\fB\-o\fP, \fB\-\-output\fP=""
|
||||
Output format. One of: json|yaml|template|templatefile.
|
||||
Output format. One of: json|yaml|template|templatefile|wide.
|
||||
|
||||
.PP
|
||||
\fB\-\-output\-version\fP=""
|
||||
|
@@ -45,7 +45,7 @@ of the \-\-template flag, you can filter the attributes of the fetched resource(
|
||||
|
||||
.PP
|
||||
\fB\-o\fP, \fB\-\-output\fP=""
|
||||
Output format. One of: json|yaml|template|templatefile.
|
||||
Output format. One of: json|yaml|template|templatefile|wide.
|
||||
|
||||
.PP
|
||||
\fB\-\-output\-version\fP=""
|
||||
@@ -175,6 +175,9 @@ of the \-\-template flag, you can filter the attributes of the fetched resource(
|
||||
// List all pods in ps output format.
|
||||
$ kubectl get pods
|
||||
|
||||
// List all pods in ps output format with more information (such as node name).
|
||||
$ kubectl get pods \-o wide
|
||||
|
||||
// List a single replication controller with specified NAME in ps output format.
|
||||
$ kubectl get replicationcontroller web
|
||||
|
||||
@@ -187,7 +190,7 @@ $ kubectl get \-o template web\-pod\-13je7 \-\-template=\{\{.status.phase\}\} \-
|
||||
// List all replication controllers and services together in ps output format.
|
||||
$ kubectl get rc,services
|
||||
|
||||
// List one or more resources by their type and names
|
||||
// List one or more resources by their type and names.
|
||||
$ kubectl get rc/web service/frontend pods/web\-pod\-13je7
|
||||
|
||||
.fi
|
||||
|
@@ -36,7 +36,7 @@ If \-\-resource\-version is specified, then updates will use this resource versi
|
||||
|
||||
.PP
|
||||
\fB\-o\fP, \fB\-\-output\fP=""
|
||||
Output format. One of: json|yaml|template|templatefile.
|
||||
Output format. One of: json|yaml|template|templatefile|wide.
|
||||
|
||||
.PP
|
||||
\fB\-\-output\-version\fP=""
|
||||
|
@@ -48,7 +48,7 @@ existing replication controller and overwrite at least one (common) label in its
|
||||
|
||||
.PP
|
||||
\fB\-o\fP, \fB\-\-output\fP=""
|
||||
Output format. One of: json|yaml|template|templatefile.
|
||||
Output format. One of: json|yaml|template|templatefile|wide.
|
||||
|
||||
.PP
|
||||
\fB\-\-output\-version\fP=""
|
||||
|
@@ -48,7 +48,7 @@ Creates a replication controller to manage the created container(s).
|
||||
|
||||
.PP
|
||||
\fB\-o\fP, \fB\-\-output\fP=""
|
||||
Output format. One of: json|yaml|template|templatefile.
|
||||
Output format. One of: json|yaml|template|templatefile|wide.
|
||||
|
||||
.PP
|
||||
\fB\-\-output\-version\fP=""
|
||||
|
Reference in New Issue
Block a user