• Kubernetes Submit Queue's avatar
    Merge pull request #34473 from DirectXMan12/feature/set-image-id-manifest-digest · c50af358
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Kubelet: Use RepoDigest for ImageID when available
    
    ```release-note
    Use manifest digest (as `docker-pullable://`) as ImageID when available (exposes a canonical, pullable image ID for containers).
    ```
    
    Previously, we used the docker config digest (also called "image ID"
    by Docker) for the value of the `ImageID` field in the container status.
    This was not particularly useful, since the config manifest is not
    what's used to identify the image in a registry, which uses the manifest
    digest instead.  Docker 1.12+ always populates the RepoDigests field
    with the manifest digests, and Docker 1.10 and 1.11 populate it when
    images are pulled by digest.
    
    This commit changes `ImageID` to point to the the manifest digest when
    available, using the prefix `docker-pullable://` (instead of
    `docker://`)
    
    Related to #32159
    c50af358
Name
Last commit
Last update
..
build Loading commit data...
environment Loading commit data...
jenkins Loading commit data...
remote Loading commit data...
runner Loading commit data...
services Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
apparmor_test.go Loading commit data...
benchmark_util.go Loading commit data...
cgroup_manager_test.go Loading commit data...
container.go Loading commit data...
container_manager_test.go Loading commit data...
density_test.go Loading commit data...
disk_eviction_test.go Loading commit data...
doc.go Loading commit data...
dynamic_kubelet_configuration_test.go Loading commit data...
e2e_node_suite_test.go Loading commit data...
gubernator.sh Loading commit data...
image.go Loading commit data...
image_conformance_test.go Loading commit data...
image_id_test.go Loading commit data...
image_list.go Loading commit data...
kubelet_test.go Loading commit data...
lifecycle_hook_test.go Loading commit data...
memory_eviction_test.go Loading commit data...
mirror_pod_test.go Loading commit data...
resource_collector.go Loading commit data...
resource_usage_test.go Loading commit data...
runtime_conformance_test.go Loading commit data...
summary_test.go Loading commit data...
util.go Loading commit data...