Table of Contents
In general, the dev-build-and-up.sh workflow for Rackspace is the similar to Google Compute Engine. The specific implementation is different due to the use of CoreOS, Rackspace Cloud Files and the overall network design.
These scripts should be used to deploy development environments for Kubernetes. If your account leverages RackConnect or non-standard networking, these scripts will most likely not work without modification.
NOTE: The rackspace scripts do NOT rely on saltstack and instead rely on cloud-init for configuration.
The current cluster design is inspired by:
nova and swiftly installed. It's recommended to use a python virtualenv to install these packages into.export KUBERNETES_PROVIDER=rackspace and run the bash hack/dev-build-and-up.shexport KUBERNETES_PROVIDER=rackspace; wget -q -O - https://get.k8s.io | bashbuild/.KUBERNETES_PROVIDER=rackspace, the scripts will upload kubernetes-server-linux-amd64.tar.gz to Cloud Files.swiftly CLI and a temp URL will be enabled on the object.kubernetes-server-linux-amd64.tar.gz will be uploaded to this container and the URL will be passed to master/nodes when booted.There is a specific cluster/rackspace directory with the scripts for the following steps:
nova CLI. A cloud-config.yaml is generated and provided as user-data with the entire configuration for the systems.$NUM_MINIONS.eth2 to be the cloud network that the containers will communicate across.config-default.sh are overridable via environment variables.v0.9 with git checkout v0.9v0.9v0.3 with git checkout v0.3v0.3cloud-config files use the special CoreOS identifier $private_ipv4 to configure the services.