Skip to content

Instantly share code, notes, and snippets.

@elsonrodriguez
Last active March 31, 2016 15:39
Show Gist options
  • Save elsonrodriguez/8d724baf910a5ad10a7e3b569b0f0b18 to your computer and use it in GitHub Desktop.
Save elsonrodriguez/8d724baf910a5ad10a7e3b569b0f0b18 to your computer and use it in GitHub Desktop.
Single node on openstack.
scp ~/Downloads/*.deb user@host:
scp ~/Downloads/etcd*.tar.gz user@host:
scp ~/oss/kubernetes/_output/dockerized/bin/linux/amd64/k* user@host:
./etcd-v2.2.5-linux-amd64/etcd &
./kube-apiserver --service-cluster-ip-range=10.100.0.0/16 --etcd-servers=http://localhost:2379 &
./kube-scheduler &
./kube-controller-manager --cloud-config=openstack.conf --cloud-provider=openstack &
./kube-proxy &
./kubelet --cloud-provider=openstack --cloud-config=openstack.conf --register-node=true &
#for coreos localhost doesn't resolve if there's no dns server, and no /etc/hosts, and you forgot to put it in cloud_init, thusly, ip addies.
./kube-apiserver --service-cluster-ip-range=10.100.0.0/16 --etcd-servers=http://127.0.0.1:2379
./kube-controller-manager --cloud-config=openstack.conf --cloud-provider=openstack --master=http://127.0.0.1:8080
./kube-scheduler
./kube-proxy
./kubelet --cloud-provider=openstack --cloud-config=openstack.conf --api-servers=http://127.0.0.1:8080
[Global]
auth-url=http://0.0.0.0:5000/v2.0
username=username
password=password
region=#get region field from `keystone endpoint-list`
tenant-id=#get project id field from `openstack project list`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment