2017-03-03 13:43:35 -07:00
|
|
|
============================================================
|
|
|
|
Old instructions, only valid for talks.golang.org:
|
|
|
|
============================================================
|
|
|
|
|
2016-01-26 18:32:34 -07:00
|
|
|
1. Deploy the app.
|
2015-09-16 19:19:51 -06:00
|
|
|
|
2016-01-26 18:32:34 -07:00
|
|
|
To deploy tip.golang.org:
|
2017-03-03 13:43:35 -07:00
|
|
|
(See Kubernetes instruction below.)
|
2015-09-16 21:15:13 -06:00
|
|
|
|
2016-01-26 18:32:34 -07:00
|
|
|
To deploy talks.golang.org:
|
2016-08-03 03:51:06 -06:00
|
|
|
$ gcloud --project golang-org app deploy --no-promote talks.yaml
|
2015-09-16 21:15:13 -06:00
|
|
|
|
2016-01-26 18:32:34 -07:00
|
|
|
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).
|
2017-03-03 13:43:35 -07:00
|
|
|
|
|
|
|
============================================================
|
|
|
|
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?
|