Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Validate pre-pulled image effects on VHD-backed clusters. #4160

Closed
jackfrancis opened this issue Nov 1, 2018 · 4 comments
Closed

Validate pre-pulled image effects on VHD-backed clusters. #4160

jackfrancis opened this issue Nov 1, 2018 · 4 comments
Assignees

Comments

@jackfrancis
Copy link
Member

We are pre-pulling k8s component images (e.g., kube-proxy), let's validate that when we bring up the k8s runtime that those pre-pulled images aren't being re-downloaded by k8s.

@CecileRobertMichon
Copy link
Contributor

CecileRobertMichon commented Nov 1, 2018

On a VM built from VHD image:

REPOSITORY                               TAG                 IMAGE ID            CREATED             SIZE
microsoft/virtual-kubelet                latest              d4c83aa62292        13 days ago         76.2MB
busybox                                  latest              59788edf1f3e        4 weeks ago         1.15MB
k8s.gcr.io/cluster-autoscaler            v1.3.3              bd9362bb17a5        5 weeks ago         217MB
k8s.gcr.io/kube-addon-manager-amd64      v8.7                8aa8a8eda926        8 weeks ago         63.3MB
nvidia/k8s-device-plugin                 1.10                76e1742167ff        3 months ago        63.1MB
nvidia/k8s-device-plugin                 1.11                01db6f81e668        3 months ago        63.1MB
k8s.gcr.io/cluster-autoscaler            v1.3.1              5ea9aa32e633        3 months ago        217MB
k8s.gcr.io/rescheduler                   v0.4.0              e7d53f5cba2b        4 months ago        49MB
k8s.gcr.io/cluster-autoscaler            v1.3.0              5419e242ddf0        4 months ago        217MB
containernetworking/networkmonitor       v0.0.4              284e08d65c24        4 months ago        131MB
k8s.gcr.io/cluster-autoscaler            v1.2.2              2378f4474aa3        5 months ago        209MB
k8s.gcr.io/heapster-amd64                v1.5.3              f57c75cd7b0a        6 months ago        75.3MB
k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64   1.14.10             6816817d9dce        6 months ago        40.4MB
k8s.gcr.io/k8s-dns-kube-dns-amd64        1.14.10             55ffe31ac578        6 months ago        49.5MB
k8s.gcr.io/k8s-dns-sidecar-amd64         1.14.10             8a7739f672b4        6 months ago        41.6MB
k8s.gcr.io/cluster-autoscaler            v1.1.2              e137f4b4d451        8 months ago        198MB
k8s.gcr.io/kube-addon-manager-amd64      v8.6                9c16409588eb        8 months ago        78.4MB
k8s.gcr.io/kubernetes-dashboard-amd64    v1.8.3              0c60bcf89900        8 months ago        102MB
gcr.io/kubernetes-helm/tiller            v2.8.1              df8896eb004e        8 months ago        71.5MB
k8s.gcr.io/heapster-amd64                v1.5.1              c41e77c31c91        8 months ago        75.3MB
k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64   1.14.8              c2ce1ffb51ed        9 months ago        41MB
k8s.gcr.io/k8s-dns-sidecar-amd64         1.14.8              6f7f2dc7fab5        9 months ago        42.2MB
k8s.gcr.io/k8s-dns-kube-dns-amd64        1.14.8              80cc5ea4b547        9 months ago        50.5MB
k8s.gcr.io/pause-amd64                   3.1                 da86e6ba6ca1        10 months ago       742kB
k8s.gcr.io/metrics-server-amd64          v0.2.1              9801395070f3        10 months ago       42.5MB
k8s.gcr.io/addon-resizer                 1.8.1               6c0dbeaa8d20        11 months ago       33MB
k8s.gcr.io/k8s-dns-sidecar-amd64         1.14.7              db76ee297b85        12 months ago       42MB
k8s.gcr.io/k8s-dns-kube-dns-amd64        1.14.5              512cd7425a73        13 months ago       49.4MB
k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64   1.14.5              459944ce8cc4        13 months ago       41.4MB
k8s.gcr.io/kubernetes-dashboard-amd64    v1.6.3              691a82db1ecd        15 months ago       139MB
k8s.gcr.io/rescheduler                   v0.3.1              4130124d79dd        15 months ago       74.7MB
k8s.gcr.io/addon-resizer                 1.7                 9b0815c87118        21 months ago       39MB
k8s.gcr.io/exechealthz-amd64             1.2                 93a43bfb39bf        2 years ago         8.37MB

@CecileRobertMichon
Copy link
Contributor

Note to self: maybe we should consider cleaning up the images we don't use at deployment

@CecileRobertMichon
Copy link
Contributor

On a cluster built from VHD:

Events:
  Type     Reason                 Age              From                                Message
  ----     ------                 ----             ----                                -------
  Normal   SuccessfulMountVolume  3m               kubelet, k8s-agentpool1-30160825-0  MountVolume.SetUp succeeded for volume "kube-dns-config"
  Normal   SuccessfulMountVolume  3m               kubelet, k8s-agentpool1-30160825-0  MountVolume.SetUp succeeded for volume "kube-dns-token-42w2g"
  Normal   Scheduled              3m               default-scheduler                   Successfully assigned kube-dns-77f95b54cb-ncf7r to k8s-agentpool1-30160825-0
  Normal   Pulling                3m               kubelet, k8s-agentpool1-30160825-0  pulling image "k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.8"
  Normal   Pulled                 3m               kubelet, k8s-agentpool1-30160825-0  Successfully pulled image "k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.8"
  Normal   Pulling                3m               kubelet, k8s-agentpool1-30160825-0  pulling image "k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.8"
  Normal   Created                3m               kubelet, k8s-agentpool1-30160825-0  Created container
  Normal   Started                3m               kubelet, k8s-agentpool1-30160825-0  Started container
  Normal   Pulled                 2m               kubelet, k8s-agentpool1-30160825-0  Successfully pulled image "k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.8"
  Normal   Created                2m               kubelet, k8s-agentpool1-30160825-0  Created container
  Normal   Started                2m               kubelet, k8s-agentpool1-30160825-0  Started container
  Warning  Unhealthy              2m (x2 over 2m)  kubelet, k8s-agentpool1-30160825-0  Readiness probe failed: Get http://10.240.0.37:8081/readiness: dial tcp 10.240.0.37:8081: getsockopt: connection refused
  Normal   Pulled                 2m (x2 over 3m)  kubelet, k8s-agentpool1-30160825-0  Successfully pulled image "k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.13"
  Normal   Pulling                2m (x2 over 3m)  kubelet, k8s-agentpool1-30160825-0  pulling image "k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.13"
  Normal   Created                2m (x2 over 3m)  kubelet, k8s-agentpool1-30160825-0  Created container
  Normal   Started                2m (x2 over 3m)  kubelet, k8s-agentpool1-30160825-0  Started container

@CecileRobertMichon
Copy link
Contributor

Related fixes #4174 #4195 #4194 #4201 #4212

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants