Page MenuHomePhabricator

Allow accessing kubernetes services / apiserver from bastions
Closed, ResolvedPublic

Description

This requires:

  1. kubectl installed
  2. Flannel installed and running (for being able to hit pod IPs)
  3. kube-proxy installed and running (for being able to hit service IPs)

Event Timeline

Change 291239 had a related patch set uploaded (by Yuvipanda):
k8s: Decouple kubelet from kube-proxy

https://gerrit.wikimedia.org/r/291239

Change 291239 merged by Yuvipanda:
k8s: Decouple kubelet from kube-proxy

https://gerrit.wikimedia.org/r/291239

I've also uploaded our flannel package to the wikimedia trusty repo.

Change 291243 had a related patch set uploaded (by Yuvipanda):
tools: Fixup k8s bastion role

https://gerrit.wikimedia.org/r/291243

It's now running flannel and kube-proxy properly! \o/

Change 291243 merged by Yuvipanda:
tools: Fixup k8s bastion role

https://gerrit.wikimedia.org/r/291243

Change 291841 had a related patch set uploaded (by Yuvipanda):
tools: Allow bastions to talk to flannel etcd

https://gerrit.wikimedia.org/r/291841

Change 291841 merged by Yuvipanda:
tools: Allow bastions to talk to flannel etcd

https://gerrit.wikimedia.org/r/291841

Done now, kubectl works from both of the bastions.

Re-opening since I didn't document this yet.