Skip to content
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

Verify registry connection on install #1192

Closed
haris-zynka opened this issue Jan 13, 2020 · 2 comments
Closed

Verify registry connection on install #1192

haris-zynka opened this issue Jan 13, 2020 · 2 comments

Comments

@haris-zynka
Copy link
Contributor

haris-zynka commented Jan 13, 2020

I was trying to deploy local JFrog registry and connect it to Camel K. As I have no idea how to do this it still fails but the actual problem is that I cannot know until I try to push new camel K script. Then I get Error from server (BadRequest): container "kaniko" in pod "camel-k-kit-boe43ei8411sjk3086d0-builder" is waiting to start: PodInitializing which I guess indicates that I've put in some wrong details for registry.

Is it possible to add extra option like --fail-no-registry, if not by default activated, to verify registry connection and fail if not successful with error printed out, instead of me doing a lot of kubectl and kamel commands just to verify that I have once again failed to connect them.

Just to be sure to mention script works 100% as it runs on Azure Kubernetes Cluster connected to Azure Container Registry. I just want to connect local registries to save some money while testing.

BTW if anyone has advice on how to link properly local JFrog Container Registry with Apache Camel please post comment. I tried by providing registry as hostname of my PC, localhost, ip address on local network, ip address in docker network, using registry-auth-server by adding additional /artifactory/api/docker and without it. Nothing works for now.

@haris-zynka haris-zynka changed the title Add test for registry connection Verify registry connection on install Jan 13, 2020
@clojj
Copy link

clojj commented Jun 25, 2020

@haris-zynka
Hi, I also tried Camel-K 1.0.0 Release on azure.. with no success.
Could you provide details, as to how you managed to install 'kamel' with ACR registry ?
Thanks

@haris-zynka
Copy link
Contributor Author

@haris-zynka
Hi, I also tried Camel-K 1.0.0 Release on azure.. with no success.
Could you provide details, as to how you managed to install 'kamel' with ACR registry ?
Thanks

I've used RC1. After that it stopped working. And I tried to revert it back to RC1 it still failed. However you need to put "./kamel install --registry YOUR_AZURE_REGISTRY_DOMAIN.com --registry-auth-username YOUR_USERNAME --registry-auth-password SECRET_PASSWORD". I don't think it works anymore but try this post. However I don't use Camel anymore so I don't know what's happening and how to link new ones.

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

No branches or pull requests

2 participants