1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:28:32 -06:00
go/cmd/tip
Chris Broadfoot b4e0c5ecfb cmd/tip: manually scale talks to 1 instance
Disable health checker - it only causes trouble if we're running on one
instance. We'd rather see "starting up" than to have nothing served and
the instance killed when it doesn't come up ready in time.

Change-Id: I3396c626f840d606e0fb4a5ec4c0493195fd015f
Reviewed-on: https://go-review.googlesource.com/45654
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-06-13 23:21:29 +00:00
..
Dockerfile cmd/tip: move tip.golang.org from App Engine to Kubernetes on GKE 2017-03-07 03:49:08 +00:00
godoc.go cmd/tip: move tip.golang.org from App Engine to Kubernetes on GKE 2017-03-07 03:49:08 +00:00
godoc.yaml cmd/tip: use manual scaling for tip.golang.org 2016-04-06 00:03:48 +00:00
Makefile cmd/tip: move tip.golang.org from App Engine to Kubernetes on GKE 2017-03-07 03:49:08 +00:00
README cmd/tip: redirect http://tip.golang.org to https 2017-04-03 05:32:14 +00:00
talks.go cmd/tip: update tools hash to include CL 33662 2016-12-20 20:09:33 +00:00
talks.yaml cmd/tip: manually scale talks to 1 instance 2017-06-13 23:21:29 +00:00
tip_test.go cmd/tip: redirect http://tip.golang.org to https 2017-04-03 05:32:14 +00:00
tip-rc.yaml cmd/tip: move tip.golang.org from App Engine to Kubernetes on GKE 2017-03-07 03:49:08 +00:00
tip-service.yaml cmd/tip: move tip.golang.org from App Engine to Kubernetes on GKE 2017-03-07 03:49:08 +00:00
tip.go cmd/tip: log error when fetching metadata 2017-06-13 23:21:17 +00:00

============================================================
Old instructions, only valid for talks.golang.org:
============================================================

1. Deploy the app.

   To deploy tip.golang.org:
       (See Kubernetes instruction below.)

   To deploy talks.golang.org:
       $ gcloud --project golang-org app deploy --no-promote talks.yaml

2. Wait until the deployed version is serving requests.

3. Go to the developer console and upgrade the default version.
   https://console.developers.google.com/appengine/versions?project=golang-org&moduleId=tip

4. Clean up any old versions (they continue to use at least one instance).

============================================================
New Kubernetes instructions, for tip.golang.org:
============================================================

Kubernetes instructions:

 * build & push images (see Makefile for helpers)
 * create/update resources:
   - kubectl create -f tip-rc.yaml
   - kubectl create -f tip-service.yaml

TODO(bradfitz): flesh out these instructions as I gain experience
with updating this over time. Also: move talks.golang.org to GKE too?