Skip to content

Add kubernetes-based tests to CI/CD - #164

Merged
jbernal0019 merged 1 commit into
HARBOR-Medical-AI:masterfrom
jbernal0019:master
Apr 16, 2026
Merged

jbernal0019 merged 1 commit into
HARBOR-Medical-AI:masterfrom
jbernal0019:master

Conversation

@jbernal0019

Copy link
Copy Markdown
Contributor

No description provided.

@jennydaman

Copy link
Copy Markdown
Contributor

Just wanna say that I'm happy you're using kind (instead of minikube)!

@jbernal0019
jbernal0019 merged commit 75607b6 into HARBOR-Medical-AI:master Apr 16, 2026
4 checks passed
Comment thread .github/workflows/ci.yml
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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .github/workflows/ci.yml
run: |
docker run -d --restart=always \
-p 127.0.0.1:5005:5000 \
--name pfcon-k8s-registry registry:2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why registry:2? Latest version is 3.1.0. https://hub.docker.com/_/registry

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants