Local Registry Discovery
A Go implementation of the local registry discovery protocol.
Local clusters like Kind, K3d, Minikube, and Microk8s let users iterate on Kubernetes quickly in a hermetic environment. To avoid network round-trip latency, these clusters can be configured to pull from a local, insecure registry.
KEP 1755 proposes a standard for how these clusters should expose their support for this feature, so that tooling can interoperate with them without redundant configuration.
go install github.com/tilt-dev/localregistry-go/cmd/kubectl-local_registry
kubectl local-registry get
If your cluster explicitly advertises a local registry, this tool will print
the fields of
Use it in your tool
This repo contains library code that reads the local registry configuration from a Kubernetes cluster, given a instance of the Go Kubernetes client.
Copyright 2020 Windmill Engineering
Licensed under the Apache License, Version 2.0