kubectl-warp

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

kubectl warp

kubectl (Kubernetes CLI) plugin to syncronize local files to Pod and executing arbitary command.

Use cases

This can be used for example to build and run your local project in Kubernetes while using your prefed editor locally.

Install

MacOS with Brew

brew install ernoaapa/kubectl-plugins/warp

Linux / MacOS without Brew

  1. Download binary from releases
  2. Add it to your PATH

Usage

When the plugin binary is found from PATH you can just execute it through kubectl

kubectl warp --help

Development

Prerequisites
Build and run locally
go run ./main.go --image alpine -- ls -la

# Syncs your local files to Kubernetes and list the files
Build and install locally
go install .

# Now you can use `kubectl`
kubectl warp --help

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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