k3s/pkg/kubelet
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
..
apis Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
cadvisor Make eviction manager work with CRI container runtime. 2018-01-30 17:57:46 +00:00
certificate Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
checkpoint Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
client Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
cm Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
config Merge pull request #54913 from chentao1596/kubelet-get-pods-from-path-unused-param 2018-01-24 20:13:13 -08:00
configmap Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
container Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
custommetrics Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
dockershim Merge pull request #57824 from thockin/gcr-vanity 2018-02-08 03:29:32 -08:00
envvars Update generated files 2017-11-09 12:14:08 +01:00
events Improve messaging on resize 2018-01-29 15:07:51 -05:00
eviction fixing array out of bound by checking initContainers instead of containers 2018-01-25 09:58:51 +01:00
gpu Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
images Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
kubeletconfig Kubelet flags take precedence 2018-01-29 10:07:37 -08:00
kuberuntime Merge pull request #59297 from joelsmith/master 2018-02-07 15:27:49 -08:00
leaky
lifecycle Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
metrics Adds device plugin registration count metric and allocation latency metric. 2017-11-21 13:44:10 -08:00
mountpod Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
network Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
pleg Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
pod Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
preemption Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
prober Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
qos Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
remote Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
rkt Merge pull request #56960 from islinwb/remove_unused_code_ut_pkg 2018-01-18 02:41:29 -08:00
secret Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
server Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
stats Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
status Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
sysctl Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
types Add a container type to the runtime labels 2018-01-23 13:16:36 +01:00
util Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
volumemanager Rename PVCProtection feature gate so that PV protection can share the feature gate with PVC protection 2018-01-31 20:02:01 +08:00
winstats Merge pull request #57124 from JiangtianLi/jiangtli-memfunc 2018-02-06 13:53:09 -08:00
BUILD Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
OWNERS
active_deadline.go
active_deadline_test.go
doc.go
kubelet.go Merge pull request #59276 from roboll/roboll/kubelet-fix 2018-02-07 12:00:40 -08:00
kubelet_getters.go Remove hacks added for mesos 2017-12-03 13:52:30 -05:00
kubelet_getters_test.go
kubelet_network.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kubelet_network_test.go Move DNS related kubelet codes into its own package 2017-11-15 10:56:44 -08:00
kubelet_node_status.go Add context to all relevant cloud APIs 2018-02-06 12:49:17 -08:00
kubelet_node_status_test.go Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
kubelet_pods.go Merge pull request #59297 from joelsmith/master 2018-02-07 15:27:49 -08:00
kubelet_pods_test.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kubelet_pods_windows_test.go
kubelet_resources.go
kubelet_resources_test.go
kubelet_test.go Merge pull request #57824 from thockin/gcr-vanity 2018-02-08 03:29:32 -08:00
kubelet_volumes.go
kubelet_volumes_test.go BlockVolumesSupport: CRI, VolumeManager and OperationExecutor changes 2017-11-20 14:10:26 -05:00
oom_watcher.go
oom_watcher_test.go
pod_container_deletor.go
pod_container_deletor_test.go
pod_workers.go
pod_workers_test.go
reason_cache.go
reason_cache_test.go
runonce.go
runonce_test.go
runtime.go Remove setInitError. 2018-01-29 21:44:54 -08:00
util.go
volume_host.go enable flexvolume on Windows 2017-12-07 06:24:20 +00:00