1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:04:57 -07:00
go/cmd/tip/README
Kevin Burke 37a1062ad0 cmd/tip: redirect http://tip.golang.org to https
At some point we switched tip.golang.org to run in GKE, which
terminates TLS directly on port 443. This requires a new technique
for detecting a plain HTTP connection. In addition we may want to run
talks.golang.org on App Engine Flex, which uses an X-Forwarded-Proto
header to indicate HTTP, so let's prepare for that possibility.

Fixes golang/go#19759.

Change-Id: Iddc567214c5d28f61c405db065aa1b3f2c92fd85
Reviewed-on: https://go-review.googlesource.com/38800
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-03 05:32:14 +00:00

33 lines
1.1 KiB
Plaintext

============================================================
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?