A simple kubectl binary plugin for PVC operations
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
LICENSE
README.md
install.sh
pvc

README.md

Build Status

A simple kubectl binary (binary, ha!) plugin to create and optionally populate PVCs.

Installation

Without cloning the repo, on your client:

curl -L https://github.com/fabiand/kubectl-plugin-pvc/raw/master/install.sh | bash

Or: After cloning the repo, On your client:

$ bash install.sh

Usage

Create and (optionally) upload

$ kubectl plugin pvc create my-data 10Gi README.md README.md

In order to create a new PVC called fedora with a size of 10Gi and copy the local README.md into a file called README.md on the new PVC.

Upload

$ kubectl plugin pvc cp my-data README.md README.md

Cat contents

$ kubectl plugin pvc cat my-data README.md