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

Trying to run Sample.java in Kind cluster #2542

Closed
waytoharish opened this issue Aug 2, 2021 · 3 comments
Closed

Trying to run Sample.java in Kind cluster #2542

waytoharish opened this issue Aug 2, 2021 · 3 comments

Comments

@waytoharish
Copy link

Hi, I have created a K8 kind cluster as per instruction and now i am trying to run the Sample.java but getting the error-

NAME READY STATUS RESTARTS AGE
camel-k-kit-c43tlvqi27fd2e9tngt0-builder 0/1 Error 0 7m29s
camel-k-operator-5474f887c9-tbqc9 1/1 Running 1 7m52s

kamel run ./Sample.java --dev
Integration "sample" updated
Progress: integration "sample" in phase Initialization
Integration sample subresource kit-c43tlvqi27fd2e9tngt0 (Build) changed phase to "Scheduling" (recovery 5 of 5)
Integration sample subresource kit-c43tlvqi27fd2e9tngt0 (Build) changed phase to "Failed" (recovery 5 of 5)
Integration sample subresource kit-c43tlvqi27fd2e9tngt0 (Build) changed phase to "Pending" (recovery 5 of 5)
Integration sample in phase "Initialization"
Progress: integration "sample" in phase Building Kit
Integration sample in phase "Building Kit"
Condition "IntegrationKitAvailable" is "False" for Integration sample: creating a new integration kit
Integration sample subresource kit-c43u0hhu6qko5naqpvk0 (Integration Kit) changed phase to "Build Submitted"
Integration sample subresource kit-c43u0hhu6qko5naqpvk0 (Build) changed phase to "Scheduling"
Integration sample subresource kit-c43u0hhu6qko5naqpvk0 (Build) changed phase to "Pending"
(combined from similar events): Integration sample subresource kit-c43u0hhu6qko5naqpvk0 (Build) changed phase to "Running"
Integration sample subresource kit-c43u0hhu6qko5naqpvk0 (Integration Kit) changed phase to "Build Running"

@squakez
Copy link
Contributor

squakez commented Aug 18, 2021

It looks similar to what we experienced in #2241. Would you mind to report the log of the camel-k-operator pod and also the result of the build (k get build -o yaml).

@tadayosi
Copy link
Member

Have you set up a local registry for kind cluster? It's an essential step unless you explicitly use a public image registry.
https://kind.sigs.k8s.io/docs/user/local-registry/

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

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

No branches or pull requests

3 participants