zou8944 commented on code in PR #1417:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/1417#discussion_r1019014099


##########
utils/kind-with-registry.sh:
##########
@@ -67,7 +67,7 @@ nodes:
 containerdConfigPatches:
 - |-
   
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."localhost:${reg_port}"]
-    endpoint = ["http://${reg_host}:${reg_port}";]
+    endpoint = ["http://${reg_host}:5000";]

Review Comment:
   @tao12345666333 the endpoint will be visit by k8s node which kind created, 
so the port should be the one that `registry` exposed (which is 5000 fixed), 
not the one that publish on our host. 
   you can also refer to the [kind 
doc](https://kind.sigs.k8s.io/docs/user/local-registry/), and pay attention to 
this part
   
![image](https://user-images.githubusercontent.com/18495995/201085114-fe627fe6-e839-4a09-b77a-91b9d853a135.png)
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to