adding suggested changes
Signed-off-by: Ritikaa96 <ritika@india.nec.com> Kubernetes-commit: 6f4e60a6b7ce56a5e083330f2b8c2277f4a659f0
This commit is contained in:
parent
2f762a69a2
commit
6c2c451048
|
|
@ -91,8 +91,8 @@ var (
|
||||||
|
|
||||||
Prints a table of the most important information about the specified resources.
|
Prints a table of the most important information about the specified resources.
|
||||||
You can filter the list using a label selector and the --selector flag. If the
|
You can filter the list using a label selector and the --selector flag. If the
|
||||||
desired resource type is namespaced you will only see results in your current
|
desired resource type is namespaced you will only see results in other namespaces
|
||||||
namespace unless you pass --all-namespaces or --namespace(for specific namespace)
|
by passing --namespace(for specific namespace) or --all-namespaces.
|
||||||
|
|
||||||
By specifying the output as 'template' and providing a Go template as the value
|
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 resources.`))
|
of the --template flag, you can filter the attributes of the fetched resources.`))
|
||||||
|
|
@ -134,11 +134,11 @@ var (
|
||||||
# List the 'status' subresource for a single pod
|
# List the 'status' subresource for a single pod
|
||||||
kubectl get pod web-pod-13je7 --subresource status
|
kubectl get pod web-pod-13je7 --subresource status
|
||||||
|
|
||||||
# List all deployments in namespace - backend
|
# List all deployments in namespace 'backend'
|
||||||
kubectl get deployments.apps --namespace backend
|
kubectl get deployments.apps --namespace backend
|
||||||
|
|
||||||
# List all pods existing in all namespaces
|
# List all pods existing in all namespaces
|
||||||
kubectl get pods --all-namspaces`))
|
kubectl get pods --all-namespaces`))
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue