1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:54:42 -07:00
go/cmd/tip
Brad Fitzpatrick d07a458d9a cmd/tip: add a cert cache, clean up Kubernetes config, use update-deps
Fixes expired cert issue too, either by virtue of newer autocert, or
that we're no longer hitting some LetsEncrypt rate limit.

But we have a cache now at least, so we should be nicer to LetsEncrypt
when the process dies. I did see some process crashes (old?) in the
logs. So maybe we were crashing and re-hitting LE often.

Verified that the cert now expires:
    Sunday, October 29, 2017 at 9:57:00 PM Pacific
and that it's cached in GCS.

Fixes golang/go#21251

Change-Id: I3def551ae8eef5df0ec7c51927c4d4bb52cd7a6a
Reviewed-on: https://go-review.googlesource.com/52390
Reviewed-by: Chris Broadfoot <cbro@golang.org>
Reviewed-by: Jessie Frazelle <me@jessfraz.com>
Run-TryBot: Jessie Frazelle <me@jessfraz.com>
2017-08-01 15:37:25 +00:00
..
Dockerfile cmd/tip: add a cert cache, clean up Kubernetes config, use update-deps 2017-08-01 15:37:25 +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: add a cert cache, clean up Kubernetes config, use update-deps 2017-08-01 15:37:25 +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: add a cert cache, clean up Kubernetes config, use update-deps 2017-08-01 15:37:25 +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: add a cert cache, clean up Kubernetes config, use update-deps 2017-08-01 15:37:25 +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?