kubernetescontainer-registry

Get kubernetes image from container registry


Is it possible to get a list of available images from Kubernetes container registry? Preferably by REST API.


Solution

  • The "standard" k8s.gcr.io registry used honors docker's Registry API

    curl -H 'accept: application/vnd.docker.distribution.manifest.v2+json' \
      https://k8s.gcr.io/v2/kube-apiserver/tags/list \
      | jq .tags