kubetree

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

README

kubetree

kubetree lists all resources in a cluster as a tree.

$ kubetree
kubernetes
  ns/default
    rs/replicent
      po/replicent-5qljt
      po/replicent-9kjpm
      po/replicent-p6x2p
    statefulsets/centostate
      svc/centostate
      po/centostate-0
        pvc/myvol-centostate-0
          pv/pvc-9ba747ad-303b-11e8-8f15-08002703c531
      po/centostate-1
        pvc/myvol-centostate-1
          pv/pvc-c02c0beb-303b-11e8-8f15-08002703c531
      po/centostate-2
        pvc/myvol-centostate-2
          pv/pvc-c0c647c4-303b-11e8-8f15-08002703c531
  ns/kube-public
  ns/kube-system
    deploy/kube-dns
      svc/kube-dns
      rs/kube-dns-54cccfbdf8
        po/kube-dns-54cccfbdf8-mkbqz
    deploy/kubernetes-dashboard
      svc/kubernetes-dashboard
      rs/kubernetes-dashboard-77d8b98585
        po/kubernetes-dashboard-77d8b98585-wfdsf
    po/kube-addon-manager-minikube
    po/storage-provisioner

Options

  • -n NAMESPACE list only resources of NAMESPACE. "all", the default, lists all.
  • -kubeconfig points to the kubeconfig. Default ~/.kube/config or the value of environment KUBECONFIG.
  • -c use color output for resource state

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL