Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
15fcb84e
Commit
15fcb84e
authored
Jul 24, 2015
by
Mike Danese
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10743 from hurf/get_help_fix
Fix hits in help strings of kubectl get command
parents
b51b4e74
4f9c4863
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
26 deletions
+26
-26
kubectl-describe.1
docs/man/man1/kubectl-describe.1
+4
-4
kubectl-get.1
docs/man/man1/kubectl-get.1
+4
-4
kubectl_describe.md
docs/user-guide/kubectl/kubectl_describe.md
+5
-5
kubectl_get.md
docs/user-guide/kubectl/kubectl_get.md
+5
-5
describe.go
pkg/kubectl/cmd/describe.go
+4
-4
get.go
pkg/kubectl/cmd/get.go
+4
-4
No files found.
docs/man/man1/kubectl-describe.1
View file @
15fcb84e
...
...
@@ -27,10 +27,10 @@ will first check for an exact match on RESOURCE and NAME\_PREFIX. If no such res
exists, it will output details for every resource that has a name prefixed with NAME\_PREFIX
.PP
Possible resources include
pods (po), replicationcontrollers (rc), services
(svc), nodes (no), events (ev), componentstatuses (cs), limitRanges (limit
s),
persistentVolumes (pv), persistentVolumeClaims (pvc), resourceQuotas (quota)
or secrets.
Possible resources include
(case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (c
s),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota)
or secrets.
.SH OPTIONS
...
...
docs/man/man1/kubectl-get.1
View file @
15fcb84e
...
...
@@ -16,10 +16,10 @@ kubectl get \- Display one or many resources
Display one or many resources.
.PP
Possible resources include
pods (po), replication controllers (rc), services
(svc), nodes, events (ev), component statuses (cs), limit ranges (limit
s),
nodes (no), persistent volumes (pv), persistent volume claims (pvc)
or resource quotas (quota)
.
Possible resources include
(case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (c
s),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota) or secrets
.
.PP
By specifying the output as 'template' and providing a Go template as the value
...
...
docs/user-guide/kubectl/kubectl_describe.md
View file @
15fcb84e
...
...
@@ -48,10 +48,10 @@ $ kubectl describe RESOURCE NAME_PREFIX
will first check for an exact match on RESOURCE and NAME_PREFIX. If no such resource
exists, it will output details for every resource that has a name prefixed with NAME_PREFIX
Possible resources include
pods (po), replicationcontrollers (rc), services
(svc), nodes (no), events (ev), componentstatuses (cs), limitRanges (limit
s),
persistentVolumes (pv), persistentVolumeClaims (pvc), resourceQuotas (quota)
or secrets.
Possible resources include
(case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (c
s),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota)
or secrets.
```
kubectl describe (RESOURCE NAME_PREFIX | RESOURCE/NAME)
...
...
@@ -114,7 +114,7 @@ $ kubectl describe pods frontend
*
[
kubectl
](
kubectl.md
)
- kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-07-1
4 08:21:33.374469932
+0000 UTC
###### Auto generated by spf13/cobra at 2015-07-1
5 01:43:24.778753787
+0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
...
...
docs/user-guide/kubectl/kubectl_get.md
View file @
15fcb84e
...
...
@@ -40,10 +40,10 @@ Display one or many resources
Display one or many resources.
Possible resources include
pods (po), replication controllers (rc), services
(svc), nodes, events (ev), component statuses (cs), limit ranges (limit
s),
nodes (no), persistent volumes (pv), persistent volume claims (pvc)
or resource quotas (quota)
.
Possible resources include
(case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (c
s),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota) or secrets
.
By specifying the output as 'template' and providing a Go template as the value
of the --template flag, you can filter the attributes of the fetched resource(s).
...
...
@@ -125,7 +125,7 @@ $ kubectl get rc/web service/frontend pods/web-pod-13je7
*
[
kubectl
](
kubectl.md
)
- kubectl controls the Kubernetes cluster manager
###### Auto generated by spf13/cobra at 2015-07-1
4 00:11:42.955450097
+0000 UTC
###### Auto generated by spf13/cobra at 2015-07-1
5 01:43:24.778535128
+0000 UTC
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
...
...
pkg/kubectl/cmd/describe.go
View file @
15fcb84e
...
...
@@ -42,10 +42,10 @@ $ kubectl describe RESOURCE NAME_PREFIX
will first check for an exact match on RESOURCE and NAME_PREFIX. If no such resource
exists, it will output details for every resource that has a name prefixed with NAME_PREFIX
Possible resources include
pods (po), replicationcontrollers (rc), services
(svc), nodes (no), events (ev), componentstatuses (cs), limitRanges (limit
s),
persistentVolumes (pv), persistentVolumeClaims (pvc), resourceQuotas (quota)
or secrets.`
Possible resources include
(case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (c
s),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota)
or secrets.`
describe_example
=
`// Describe a node
$ kubectl describe nodes kubernetes-minion-emt8.c.myproject.internal
...
...
pkg/kubectl/cmd/get.go
View file @
15fcb84e
...
...
@@ -32,10 +32,10 @@ import (
const
(
get_long
=
`Display one or many resources.
Possible resources include
pods (po), replication controllers (rc), services
(svc), nodes, events (ev), component statuses (cs), limit ranges (limit
s),
nodes (no), persistent volumes (pv), persistent volume claims (pvc)
or resource quotas (quota)
.
Possible resources include
(case insensitive): pods (po), services (svc),
replicationcontrollers (rc), nodes (no), events (ev), componentstatuses (c
s),
limitranges (limits), persistentvolumes (pv), persistentvolumeclaims (pvc),
resourcequotas (quota) or secrets
.
By specifying the output as 'template' and providing a Go template as the value
of the --template flag, you can filter the attributes of the fetched resource(s).`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment