Skip to content

Instantly share code, notes, and snippets.

@miguelfrde
Created March 1, 2016 06:07
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save miguelfrde/62b066d8cea4f7bd6699 to your computer and use it in GitHub Desktop.
Save miguelfrde/62b066d8cea4f7bd6699 to your computer and use it in GitHub Desktop.
Kubernetes AWS
sudo apt-get update
sudo apt-get install -y python-pip
sudo pip install awscli
aws configure # enter credentials for a user with full s3,ec2 access / admin access
export KUBERNETES_PROVIDER=aws
export KUBE_AWS_ZONE=us-west-2a
export KUBE_AWS_INSTANCE_PREFIX=k8s
export KUBE_MINION_IMAGE=ami-9abea4fb # Ubuntu server 14.04
export AWS_S3_BUCKET=my-kubernetes-bucket
export AWS_S3_REGION=us-east-1
export KUBE_ENABLE_CLUSTER_UI=true
export KUBE_ENABLE_NODE_LOGGING=true
export KUBE_ENABLE_CLUSTER_LOGGING=true
export KUBE_ENABLE_CLUSTER_MONITORING=influxdb
export MASTER_SIZE=t2.large
export MINION_SIZE=t2.large
export NUM_MINIONS=5
wget -q -O - https://get.k8s.io | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment