Skip to content

Commit

Permalink
use replicaset and deployment to replace replication controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Guangming Wang committed Nov 14, 2019
1 parent 3b440df commit 0fd6c90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions staging/src/k8s.io/kubectl/pkg/cmd/get/get.go
Expand Up @@ -126,11 +126,11 @@ var (
# List resource information in custom columns.
kubectl get pod test-pod -o custom-columns=CONTAINER:.spec.containers[0].name,IMAGE:.spec.containers[0].image
# List all replication controllers and services together in ps output format.
kubectl get rc,services
# List all replica set and services together in ps output format.
kubectl get rs,services
# List one or more resources by their type and names.
kubectl get rc/web service/frontend pods/web-pod-13je7`))
kubectl get deploy/web service/frontend pods/web-pod-13je7`))
)

const (
Expand Down

0 comments on commit 0fd6c90

Please sign in to comment.