Skip to content

Instantly share code, notes, and snippets.

@philipz
Last active July 14, 2019 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipz/c248299ee2c88b29cfb671839057d392 to your computer and use it in GitHub Desktop.
Save philipz/c248299ee2c88b29cfb671839057d392 to your computer and use it in GitHub Desktop.
TriggerMesh Knative-local-registry "ErrImagePull"

Local Kubernetes registry for Knative

Image pull fails with Client.Timeout #12

Test

kubectl run -it --rm --restart=Never --image=infoblox/dnstools:latest dnstools
dnstools# curl http://knative.registry.svc.cluster.local/v2/
{}dnstools# curl https://knative.registry.svc.cluster.local/v2/

使用 SSH 連線到 Azure Kubernetes Service (AKS) 叢集節點以進行維護或疑難排解

Edit /etc/docker/daemon.json to add the registry

  "insecure-registries": [
     "knative.registry.svc.cluster.local:5000"
  ]

Then, restart docker daemon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment