kubectl-ownerref

command module
v0.0.0-...-83429da Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

README

Kubectl Ownerrefs

Introduction

kubectl ownerref is a simple kubectl plugin for getting all the resources in a cluster that another resource has ownerrefs on. It gives the basic information at a quick glance. It is used in cluster-addons to get the resources that a custom resource has ownerrefs on.

Usage

  1. Get the code
go get https://github.com/kubernetes-sigs/cluster-addons
  1. Build
cd $GOPATH/kubernetes-sigs/cluster-addons/tools/kubectl-ownerref
go install
  1. Run the go program
kubectl ownerref <KIND> <NAME>

Example:

kubectl ownerref Dashboard dashboard_sample

Have fun! 🎉

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