Skip to content

tiaanl/kube-tpr-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-tpr-demo

Demo for using Kubernetes' ThirdPartyResource resources through the client-go library.

Installation

Check out the repository to your go workspace, e.g. ~/go/src/github.com/tiaanl/kube-tpr-demo

Build the binary:

# Install glide to manage dependencies
go get github.com/Masterminds/glide

# Install dependencies
glide install

# Build the binary
go build -v -o third .

Getting Started

Register the Namespace and ThirdPartyResource in kubernetes:

./third init

Add a new demo:

./third add --name=demo1
./third add --name=demo2

Get a list of all the demos:

./third list

Watch demos as they get created:

./third watch

# In another terminal start adding new demos
./third add --name=demo3

About

Kubernetes ThirdPartyResource Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages