k3s/hack
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
..
boilerplate Update boilerplate for 2018 2018-01-01 22:57:59 -08:00
cmd/teststale Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
e2e-internal Remove all traces of federation 2017-10-26 13:37:37 -07:00
gen-swagger-doc Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
jenkins Disable JUnit-style reporting for benchmark script 2018-01-31 18:33:21 +01:00
lib Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
make-rules Merge pull request #57824 from thockin/gcr-vanity 2018-02-08 03:29:32 -08:00
testdata Merge pull request #57824 from thockin/gcr-vanity 2018-02-08 03:29:32 -08:00
verify-flags Add multi-vc configuration for e2e tests 2018-01-18 15:29:27 -08:00
.golint_failures Merge pull request #58832 from liggitt/move-workload-internal-types 2018-02-07 12:47:17 -08:00
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
OWNERS Add liggitt to hack approvers 2018-01-18 20:50:18 -05:00
autogenerated_placeholder.txt
benchmark-go.sh
build-cross.sh
build-go.sh
build-ui.sh
cherry_pick_pull.sh Add parent PR title to cherry-picked PR title 2017-11-25 13:36:13 +08:00
dev-build-and-push.sh
dev-build-and-up.sh
dev-push-hyperkube.sh
e2e-node-test.sh Fix typo in e2e-node-test.sh 2017-09-19 18:10:21 +05:30
e2e.go Add signal handler for catching Ctrl-C on hack/e2e 2017-08-23 16:05:46 -07:00
e2e_test.go Fix e2e_test.go 2017-07-05 14:24:25 -07:00
generate-bindata.sh cluster: move logging library to hack/ 2018-01-13 16:37:50 -08:00
generate-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
get-build.sh
ginkgo-e2e.sh cluster: remove unused functions 2018-02-01 07:23:50 -08:00
godep-restore.sh Remove unneeded code 2018-01-30 09:29:51 -08:00
godep-save.sh Vendor godep v79 and use it 2017-09-29 15:16:09 -07:00
grab-profiles.sh
import-restrictions.yaml Expose single annotation/label via downward API 2017-11-21 19:21:10 -08:00
install-etcd.sh
list-feature-tests.sh Fix list-features script 2017-08-27 22:20:04 -04:00
local-up-cluster.sh Merge pull request #57824 from thockin/gcr-vanity 2018-02-08 03:29:32 -08:00
lookup_pull.py
print-workspace-status.sh Convert go_binary linkstamp to x_defs 2017-06-08 14:59:55 -07:00
run-in-gopath.sh
test-cmd.sh
test-go.sh
test-integration.sh Remove unnecessary wrapper flags 2017-06-07 12:31:01 -04:00
test-update-storage-objects.sh add kube-root for file directory 2018-02-05 17:54:17 +08:00
update-all.sh Force use of Makefile for update 2018-01-22 15:11:16 -08:00
update-api-reference-docs.sh
update-bazel.sh Install gazelle from bazelbuild/bazel-gazelle instead of rules_go 2018-01-12 12:27:34 -08:00
update-cloudprovider-gce.sh Fix lint and bazel 2018-01-09 23:09:08 -08:00
update-codegen.sh client-gen: use --output-package instead of --clientset-path 2017-11-30 10:18:29 +01:00
update-generated-device-plugin-dockerized.sh bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
update-generated-device-plugin.sh Added script to generate the Device Plugin API 2017-08-15 14:59:42 -07:00
update-generated-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
update-generated-protobuf-dockerized.sh add apiregistration v1 2018-01-23 14:11:49 -05:00
update-generated-protobuf.sh
update-generated-runtime-dockerized.sh Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
update-generated-runtime.sh
update-generated-swagger-docs.sh Promote v1alpha1 meta to v1beta1 2018-02-02 14:00:45 -05:00
update-godep-licenses.sh hack: fix godep license parsing for gopkg.in packages 2017-11-22 09:38:17 -08:00
update-gofmt.sh
update-openapi-spec.sh
update-staging-godeps-dockerized.sh Clean up godep scripts to be self-contained 2017-09-29 15:16:03 -07:00
update-staging-godeps.sh Dockerize update-staging-godeps 2017-07-25 12:26:57 -07:00
update-swagger-spec.sh Merge pull request #58303 from php-coder/fix_verify-swagger-spec_sript 2018-01-17 02:43:58 -08:00
update-translations.sh
update_owners.py Remove myself from a bunch of places 2017-07-20 12:10:46 +02:00
verify-all.sh
verify-api-groups.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify-api-reference-docs.sh Ignore OWNERS files in hack/verify-api-reference-docs.sh 2017-10-18 11:15:08 -07:00
verify-bazel.sh Use -proto=legacy with gazelle, and manually fix staging/ import paths 2017-10-15 18:13:56 -07:00
verify-boilerplate.sh
verify-cli-conventions.sh
verify-cloudprovider-gce.sh Fix lint and bazel 2018-01-09 23:09:08 -08:00
verify-codegen.sh Add sample CustomResourceDefinition controller 2017-10-19 00:21:57 +01:00
verify-description.sh pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
verify-flags-underscore.py some small fix in verify-flags-underscore 2017-08-14 14:55:42 +08:00
verify-generated-device-plugin.sh bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
verify-generated-docs.sh Remove all traces of federation 2017-10-26 13:37:37 -07:00
verify-generated-files-remake.sh Add debugging to the codegen process 2017-08-25 14:08:42 -07:00
verify-generated-protobuf.sh Treat staging repos as authoritative for all files 2018-01-09 15:18:27 -08:00
verify-generated-runtime.sh Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
verify-generated-swagger-docs.sh Ignore .import-restrictions when checking against generated docs 2017-10-13 07:09:38 -04:00
verify-godep-licenses.sh
verify-godeps.sh Ignore OWNERS file in verify-godeps 2018-02-04 23:54:08 -08:00
verify-gofmt.sh Fixed the issue with formatting issues not being reported when verification fails. 2017-06-12 17:59:08 +02:00
verify-golint.sh Invert .linted_packages into .golint_failures. 2017-07-17 14:37:40 -07:00
verify-govet.sh Run hack/verify-govet.sh as part of verify make target 2017-06-21 11:10:25 -07:00
verify-import-boss.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify-imports.sh import-verifier: use yaml for inline comments 2017-10-25 16:53:26 +02:00
verify-linkcheck.sh
verify-no-vendor-cycles.sh Bugfix: verify-no-vendor-cycles.sh detects wrong cycles 2017-08-01 21:09:53 -07:00
verify-openapi-spec.sh Add OpenAPI README file 2017-06-05 13:18:07 -07:00
verify-pkg-names.sh remove reference to v1alpha1 2017-11-21 13:00:40 -08:00
verify-readonly-packages.sh
verify-staging-godeps.sh Add in godeps verification for hack/lib/ and build/ 2018-01-26 13:29:35 -08:00
verify-swagger-spec.sh
verify-symbols.sh
verify-test-images.sh
verify-test-owners.sh