Skip to content

fabiand/kubectl-plugin-pvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple kubectl binary plugin for PVC operations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages