Implement 'kubectl get ... -o wide'

This commit is contained in:
Janet Kuo
2015-06-29 11:36:06 -07:00
parent 686f5a3084
commit 682734bcc7
19 changed files with 179 additions and 102 deletions

View File

@@ -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=""

View File

@@ -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=""

View File

@@ -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

View File

@@ -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=""

View File

@@ -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=""

View File

@@ -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=""