AWS: Support different docker storage mechanism by setting DOCKER_STORAGE

For parity with GCE, we really want to support aufs.

But we previously supported btrfs, so we want to expose that.

Most of the work here is required for aufs, and we let advanced users choose
devicemapper/btrfs if they have a setup that works for those configurations.
This commit is contained in:
Justin Santa Barbara
2015-06-04 22:39:10 -04:00
parent 0f1c4c25c3
commit 112a013567
6 changed files with 154 additions and 27 deletions

View File

@@ -26,6 +26,9 @@ NUM_MINIONS=${NUM_MINIONS:-4}
# Because regions are globally named, we want to create in a single region; default to us-east-1
AWS_S3_REGION=${AWS_S3_REGION:-us-east-1}
# Which docker storage mechanism to use.
DOCKER_STORAGE=${DOCKER_STORAGE:-aufs}
INSTANCE_PREFIX="${KUBE_AWS_INSTANCE_PREFIX:-kubernetes}"
CLUSTER_ID=${INSTANCE_PREFIX}
AWS_SSH_KEY=${AWS_SSH_KEY:-$HOME/.ssh/kube_aws_rsa}