-
Notifications
You must be signed in to change notification settings - Fork 752
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
Error when pulling image built locally without a registry #704
Comments
May i know what is your |
I have not defined an |
This is strange. mind sharing your deployment/pod manifest?
Thanks. |
@gostaj |
That was it! Great @balchua ! I think it would be great to include this information under "Working with locally built images without a registry" at https://microk8s.io/docs/working Thank you very much for you help! |
@gostaj, great news. Do you mind creating an issue ? |
@gostaj i just realized that you are using jib. In fact jib can create oci compliant images without docker. I also use jib maven. And i find it simpler to enable the registry addon in microk8s than saving and importing it using ctr. I have some samples that i can share if you're interested. |
Yes please @balchua do that. |
@gostaj, the registry addon is used by I have this project in github (shameless plug) https://github.com/balchua/demo Checkout the I may have some skaffold there still using dockercli, but its safe to turn it to false. My normal dev workflow is building images using jib, push it to the registry addon in microk8s. Then deploy the apps in microk8s. All using |
I've followed the instructions from https://microk8s.io/docs/working "Working with locally built images without a registry" and I'm building a JVM app from Maven with the
jib-maven-plugin
outputting to<image>outlooktoslack:local</image>
.I've tried with deployment as:
and
but to no avail:
I'm probably the one doing something wrong but you might be better at understanding what it is?
Would be super happy with any help!
The text was updated successfully, but these errors were encountered: