Page MenuHomePhabricator

Initial Deployment of Kubernetes to Tool Labs
Closed, ResolvedPublic


Tracking ticket for initial deployment of Kubernetes to Tool Labs.

The initial deployment will allow whitelisted tools to run arbitrary docker containers in NFS-free instances directly via the kubectl tool.

Should have:

  1. Debian packages
  2. Authentication setup
    1. Helper scripts to create authentication tokens and namespace
  3. Authorization setup
    1. ABAC rules to restrict users to their own namespace only
  4. DNS for services, available from rest of toollabs
  5. Webproxy from<toolname> to a running webservice container, if there is one.
    1. Define what are web services and what are not.

Things that will be missing:

  1. NFS access - Kubernetes doesn't allow gid to be specified explicitly, preventing us from writing an admission controller for this
  2. One-off jobs
  3. Scheduled jobs (cron-like)
  4. Compatibility layer for current commands (jsub, webservice, jstart)
  5. Custom docker image building + local docker repository

Related Objects

Resolved yuvipanda
Resolved yuvipanda
Resolved yuvipanda
Resolved yuvipanda
Resolved yuvipanda
Resolved yuvipanda
Resolved dpatrick

Event Timeline

yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)
yuvipanda added a project: Toolforge.
yuvipanda added a subscriber: yuvipanda.
Restricted Application added a project: Cloud-Services. · View Herald TranscriptSep 9 2015, 1:28 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I've an etcd + k8s master setup on tools-k8s-master-01 and worker nodes on tools-worker-01 and tools-worker-02 running \o/. Flannel is hitting etcd over https, and all binaries are deployed via debian packages.

yuvipanda updated the task description. (Show Details)Sep 9 2015, 7:08 AM
yuvipanda set Security to None.
yuvipanda updated the task description. (Show Details)Sep 9 2015, 8:29 AM
Joe added a subscriber: Joe.Sep 14 2015, 7:07 AM is now running on kubernetes! \o/ So is grrrrit-wm.

valhallasw moved this task from Triage to Backlog on the Toolforge board.
Krenair moved this task from Triage to Tracking on the Cloud-Services board.Oct 10 2015, 5:13 PM
bd808 moved this task from Backlog to Tracking on the Toolforge board.
yuvipanda closed this task as Resolved.Apr 12 2016, 7:27 PM
yuvipanda claimed this task.

I think this is done - despite DNS not working yet :)

Phabricator_maintenance renamed this task from Initial Deployment of Kubernetes to Tool Labs (Tracking) to Initial Deployment of Kubernetes to Tool Labs.Aug 13 2016, 9:17 PM