Skip to content

Helper to get kubectl configs since kops isn't available on Windows yet.

License

Notifications You must be signed in to change notification settings

ccpgames/kops-kubecfg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a helper made for filthy Windows operators.

You will need to supply these environment variables:

KOPS_STATE_STORE - This will look something like s3://my-bucket-name-with-configs

AWS_ACCESS_KEY_ID - Hopefully self explanatory

AWS_SECRET_ACCESS_KEY - Hopefully self explanatory

KUBE_NAME - This is the name of the cluster made by kops, or more specifically the first level "folder" of your config storage bucket.

You'll want to mount a local volume so that kops will modify/create a kube config. This is done with -v localfolder:/kube

An example command would look like:

docker run -e KOPS_STATE_STORE=s3://mybucket-name-with-configs -e AWS_ACCESS_KEY_ID=WAAAAGH -e AWS_SECRET_ACCESS_KEY=WAAAAAGHARDER -e KUBE_NAME=mykube.domain.com -v c:\Users\filthyops\.kube:/kube ccpgames/kops-kubecfg

For China you will need to add the region with -e AWS_REGION=cn-north-1

About

Helper to get kubectl configs since kops isn't available on Windows yet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published