Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
eval `ssh-agent -s`
ssh-add ~/.ssh/id_dsa
ssh-add -L
export PATH=/opt/kubernetes/cluster:$PATH
"apiVersion": "v1beta2",
"kind": "Secret",
"id": "token-system-dns",
"data": {
DOCKER_OPTS="-H tcp:// -H unix:///var/run/docker.sock --bip= --mtu=1472"
vi /etc/default/kube-apiserver
#KUBE_APISERVER_OPTS="--address= --port=8080 --etcd_servers= --logtostderr=true --service-cluster-ip-range="
KUBE_APISERVER_OPTS="--address= --port=8080 --etcd_servers= --logtostderr=true --portal_net="
chattr +i /etc/default/kube-apiserver
on each node I had to (might not be necessary with token-system-dns thing:
docker pull
docker pull
docker pull
cd /opt/kubernetes/cluster
cd /opt/kubernetes/cluster/ubuntu create -f token-system-dns.json
KUBERNETES_PROVIDER=ubuntu ./ get pods get services get rc get events
kubectl log -f kube-dns-e2vx6 kube2sky
cat /var/log/upstart/etcd.log create -f examples/guestbook/redis-master-controller.json create -f examples/guestbook/redis-master-service.json create -f examples/guestbook/redis-slave-controller.json create -f examples/guestbook/redis-slave-service.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment