Repository navigation
Add kubernetes-based tests to CI/CD - #164
Merged
Merged
Conversation
Contributor
|
Just wanna say that I'm happy you're using kind (instead of minikube)! |
jennydaman
reviewed
Apr 30, 2026
| docker network connect kind pfcon-k8s-registry | ||
| # Configure containerd on kind nodes to resolve localhost:5005 | ||
| # to the registry container on the kind docker network. | ||
| for node in $(kind get nodes --name pfcon-k8s); do |
Contributor
There was a problem hiding this comment.
This seems like a roundabout solution. Instead of (1) running registry in docker-compose, (2) configuring KinD nodes to pull from the registry, (3) restarting KinD's containerd, you could simply run the registry inside of the k8s and everything will work as expected.
| run: | | ||
| docker run -d --restart=always \ | ||
| -p 127.0.0.1:5005:5000 \ | ||
| --name pfcon-k8s-registry registry:2 |
Contributor
There was a problem hiding this comment.
Why registry:2? Latest version is 3.1.0. https://hub.docker.com/_/registry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.