Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build: tracking bug for Kubernetes buildlet pool support #12546

Closed
bradfitz opened this issue Sep 8, 2015 · 9 comments

Comments

Projects
None yet
3 participants
@bradfitz
Copy link
Member

commented Sep 8, 2015

Tracking bug for adding a Kubernetes buildlet pool to the build coordinator.

Kubernetes would only work for the linux and nacl builders, and only for amd64 and 386, but that's a lot of our builders, and it'd mean they'd start up much faster.

/cc @proppy @adg

@bradfitz bradfitz added the Builders label Sep 8, 2015

@bradfitz bradfitz self-assigned this Sep 8, 2015

bradfitz added a commit to golang/build that referenced this issue Sep 8, 2015

cmd/coordinator: start of a Kubernetes buildlet pool
Updates golang/go#12546

Change-Id: Ia70baeb1df441509f70c77e7b94e7eb9fddccbf3
Reviewed-on: https://go-review.googlesource.com/14392
Reviewed-by: Evan Brown <evanbrown@google.com>
@gopherbot

This comment has been minimized.

Copy link

commented Sep 8, 2015

CL https://golang.org/cl/14396 mentions this issue.

gopherbot pushed a commit to golang/build that referenced this issue Sep 8, 2015

all: more work on Kubernetes buildlet pool
Updates golang/go#12546

Change-Id: Iac31c237fed7973ec2bebace5248904fe3e3692d
Reviewed-on: https://go-review.googlesource.com/14396
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@gopherbot

This comment has been minimized.

Copy link

commented Sep 12, 2015

CL https://golang.org/cl/14532 mentions this issue.

bradfitz added a commit to golang/build that referenced this issue Sep 21, 2015

cmd/coordinator: discover kube cluster
Find the default Kubernetes cluster and configure a client to talk to it.
Use application default credentials.

Updates golang/go#12546

Change-Id: Ifb1ce57f52f4fbbee3267f8cc3cf02a78146bd5b
Reviewed-on: https://go-review.googlesource.com/14532
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@gopherbot

This comment has been minimized.

Copy link

commented Sep 26, 2015

CL https://golang.org/cl/15041 mentions this issue.

bradfitz added a commit to golang/build that referenced this issue Oct 1, 2015

all: basic support for linux-amd64 buildlets on Kubernetes
* set correct metadata as env vars on each container in pod

* stage0 detects when running in a pod

* add scope to support farmer on GCE communicating with Google
  Container Engine API

* dev mode supports GCE and Kubernetes even when not running
  on GCE

* pod buildlet returns a configured http.Client

* pod buildlets work, but pods are not removed after completion
  (or on creation failure)

Updates golang/go#12546

Change-Id: If91673b49223130c1e7077c130f1abe1e7966d02
Reviewed-on: https://go-review.googlesource.com/15041
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@gopherbot

This comment has been minimized.

Copy link

commented Oct 2, 2015

CL https://golang.org/cl/15258 mentions this issue.

gopherbot pushed a commit to golang/build that referenced this issue Oct 2, 2015

env/linux-x86-std-kube: use correct tags for Docker images
Updates golang/go#12546

Change-Id: Icaa0504791522837fcbf0256b144c13158777c6e
Reviewed-on: https://go-review.googlesource.com/15258
Reviewed-by: Andrew Gerrand <adg@golang.org>
@gopherbot

This comment has been minimized.

Copy link

commented Oct 2, 2015

CL https://golang.org/cl/15285 mentions this issue.

bradfitz added a commit to golang/build that referenced this issue Oct 15, 2015

all: improved monitoring of buildlet pods after creation
* Replaced cancel with context.Context
* StartPod can be canceled
* Wait for buildlet to come online, but fail fast if pod fails first
* Support timeout waiting for pod to leave pending phase
* Use Kubernetes watch API (long poll)

Updates golang/go#12546

Change-Id: I792a3b8fed615362a0290feee7de0c2cefe43c0e
Reviewed-on: https://go-review.googlesource.com/15285
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@gopherbot

This comment has been minimized.

Copy link

commented Oct 20, 2015

CL https://golang.org/cl/16101 mentions this issue.

@rsc rsc added this to the Unreleased milestone Oct 23, 2015

bradfitz added a commit to golang/build that referenced this issue Nov 5, 2015

all: display pool status and delete failed/old pods
* status page shows kube pool details
* pods created by the coorindator are tracked
* pods that fail to create are deleted
* pods older than delete-at are deleted
* pods created by a different coordinator are deleted

Updates golang/go#12546

Change-Id: I4c4f8ff906962b4a014a66d0a9d490ff17710d62
Reviewed-on: https://go-review.googlesource.com/16101
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>

bradfitz added a commit to golang/build that referenced this issue Nov 20, 2015

all: improve Kubernetes API client
* pod creation returns an *api.Pod
* WatchPod replaces WatchPodStatus

Updates golang/go#12546

Change-Id: I34bb6e0d994e552b41a8082cc4672a663ce961a3
Reviewed-on: https://go-review.googlesource.com/17100
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>

bradfitz added a commit to golang/build that referenced this issue Nov 20, 2015

all: run dev coordinator locally, allow debug in prod
* flag allows debug (trigger a build) in prod mode
* use default zone (us-central1-f) in staging
* compute.CloudPlatformScope satisfies compute and storage scope
  requirements
* new buildlet for linux-amd64 on Kubernetes

Updates golang/go#12546

Change-Id: I1a0cbc0e0c0552b7ac56943c646378194508d48f
Reviewed-on: https://go-review.googlesource.com/17102
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>

bradfitz added a commit to golang/build that referenced this issue Nov 20, 2015

cmd/coorindator: ignore pod cleanup if Kubernetes is unavailable
* if Kubernetes init fails, don't attempt to clean existing pods
* TODOs for disabling kubePool

Updates golang/go#12546

Change-Id: I392f6cc4af31fdf307e5aa907a243ff7f5a98b00
Reviewed-on: https://go-review.googlesource.com/17104
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@gopherbot

This comment has been minimized.

Copy link

commented Dec 3, 2015

CL https://golang.org/cl/17334 mentions this issue.

gopherbot pushed a commit to golang/build that referenced this issue Jan 22, 2016

all: create buildlets cluster
* Buildlets cluster can be created using buildongce program
* Deployment Manager builds cluster and autoscaler
* Describe the environments a build system can be deployed to
* Merges https://golang.org/cl/17827

Updates golang/go#12546

Change-Id: Icac4efab2e9e72932c66f56da319e4d51326455a
Reviewed-on: https://go-review.googlesource.com/17334
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@gopherbot

This comment has been minimized.

Copy link

commented May 4, 2016

CL https://golang.org/cl/22780 mentions this issue.

@golang golang locked and limited conversation to collaborators May 4, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.