Moving v1beta1 kubectl examples to v1beta3

This commit is contained in:
nikhiljindal
2015-04-08 10:22:33 -07:00
parent ffffbb7edf
commit fe60be3179
9 changed files with 39 additions and 33 deletions

View File

@@ -29,8 +29,8 @@ $ kubectl get replicationController web
// List a single pod in JSON output format.
$ kubectl get -o json pod web-pod-13je7
// Return only the status value of the specified pod.
$ kubectl get -o template web-pod-13je7 --template={{.currentState.status}} --api-version=v1beta1
// Return only the phase value of the specified pod.
$ kubectl get -o template web-pod-13je7 --template={{.status.phase}} --api-version=v1beta3
// List all replication controllers and services together in ps output format.
$ kubectl get rc,services

View File

@@ -175,8 +175,8 @@ $ kubectl get replicationController web
// List a single pod in JSON output format.
$ kubectl get \-o json pod web\-pod\-13je7
// Return only the status value of the specified pod.
$ kubectl get \-o template web\-pod\-13je7 \-\-template=\{\{.currentState.status\}\} \-\-api\-version=v1beta1
// Return only the phase value of the specified pod.
$ kubectl get \-o template web\-pod\-13je7 \-\-template=\{\{.status.phase\}\} \-\-api\-version=v1beta3
// List all replication controllers and services together in ps output format.
$ kubectl get rc,services