Skip to content

karlvlam/kubeapiproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

kubeapiproxy

  • use at your own risk

Usage

Get deployment

curl -i \
 -H "apikey: 123456" \
 http://127.0.0.1:3000/abc/namespace/deployment/deployment-a

Update deployment image

curl -X PATCH \
 -H "apikey: 123456" \
 -d "container=my_container" \
 -d "image=node:7.4.0" \
 http://127.0.0.1:3000/abc/dev/deployment/my_deployment

Setup

export KUBE_PERMISSION='{"123456":{}}'
export KUBE_CLUSTERS='{"abc":{"endpoint":"http://127.0.0.1:8001"}}'
node index

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published