-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat (dev env): allow to custom registry port for make kind-up
#1417
Conversation
make kind-up
make kind-up
make kind-up
make kind-up
@@ -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"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @tao12345666333 @lingsamuel , I update this port, it should be fixed 5000 port.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @tao12345666333 @lingsamuel , I update this port, it should be fixed 5000 port.
why it should be 5000?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 registry
published on our local machine.
you can also refer to the kind doc, and pay attention to this part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, I miss it.
@tao12345666333 @lingsamuel , New commit updated, please review, thanks. |
Type of change:
What this PR does / why we need it:
#1416
Pre-submission checklist: