kubectl-wait-plugin

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2018 License: MIT Imports: 13 Imported by: 0

README

kubectl plugin wait

Example kubectl plugin that waits for a kubernetes resource to be ready.

kubectl plugin wait po/mypod

Supported Resource Types

  • pods
  • deployments
  • services

Install the plugin

$ curl -sLO https://github.com/carolynvs/kubectl-wait-plugin/releases/download/latest/wait.zip

$ unzip wait.zip -d ~/.kube/plugins/
Archive:  wait.zip
   creating: ~/.kube/plugins/wait/
  inflating: ~/.kube/plugins/wait/plugin.yaml
  inflating: ~/.kube/plugins/wait/wait

Build the plugin

$ make deploy
mkdir -p ~/.kube/plugins/wait
go build -o ~/.kube/plugins/wait/wait
cp plugin.yaml ~/.kube/plugins/wait/

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