k3s/cluster/gce
Kubernetes Submit Queue fb340a4695
Merge pull request #57824 from thockin/gcr-vanity
Automatic merge from submit-queue (batch tested with PRs 57824, 58806, 59410, 59280). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

2nd try at using a vanity GCR name

The 2nd commit here is the changes relative to the reverted PR.  Please focus review attention on that.

This is the 2nd attempt.  The previous try (#57573) was reverted while we
figured out the regional mirrors (oops).
    
New plan: k8s.gcr.io is a read-only facade that auto-detects your source
region (us, eu, or asia for now) and pulls from the closest.  To publish
an image, push k8s-staging.gcr.io and it will be synced to the regionals
automatically (similar to today).  For now the staging is an alias to
gcr.io/google_containers (the legacy URL).
    
When we move off of google-owned projects (working on it), then we just
do a one-time sync, and change the google-internal config, and nobody
outside should notice.
    
We can, in parallel, change the auto-sync into a manual sync - send a PR
to "promote" something from staging, and a bot activates it.  Nice and
visible, easy to keep track of.

xref https://github.com/kubernetes/release/issues/281

TL;DR:
  *  The new `staging-k8s.gcr.io` is where we push images.  It is literally an alias to `gcr.io/google_containers` (the existing repo) and is hosted in the US.
  * The contents of `staging-k8s.gcr.io` are automatically synced to `{asia,eu,us)-k8s.gcr.io`.
  * The new `k8s.gcr.io` will be a read-only alias to whichever regional repo is closest to you.
  * In the future, images will be promoted from `staging` to regional "prod" more explicitly and auditably.

 ```release-note
Use "k8s.gcr.io" for pulling container images rather than "gcr.io/google_containers".  Images are already synced, so this should not impact anyone materially.
    
Documentation and tools should all convert to the new name. Users should take note of this in case they see this new name in the system.
```
2018-02-08 03:29:32 -08:00
..
addons fix typo in cluster 2018-02-03 11:08:06 +08:00
gci Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
manifests Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
BUILD Use the pkg_tar wrapper from kubernetes/repo-infra 2018-01-18 17:10:16 -08:00
OWNERS Add mwielgus and MaciekPytel to GCE owners 2018-02-02 16:56:18 +01:00
config-common.sh Add comment to gce config files advising to not use empty scopes 2017-12-18 11:33:21 -08:00
config-default.sh Merge pull request #59014 from Random-Liu/make-kube-up-kubelet-args-configurable 2018-02-07 15:27:46 -08:00
config-test.sh Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
cos
custom add folder named custom in gce 2018-01-05 15:36:53 -08:00
delete-stranded-load-balancers.sh
list-resources.sh Switch away from gcloud deprecated flags in compute resource listings 2017-08-30 06:41:09 +01:00
ubuntu
upgrade-aliases.sh A couple of more changes: 1) revert the changes on assigning subnetwork_url from selfLink as it may break if using an overrided api endpoint; 2) update etcd version to the latest. 2018-01-19 15:51:50 -08:00
upgrade.sh fix typo in cluster 2018-02-03 11:08:06 +08:00
util.sh Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00