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
Speeding up Image build on kubernetes / openshift #5292
Comments
@o4rz3l Could you paste output of Could you please try this and update back here. |
Hi @flouthoc,
I tried using the
I have no idea, where the connction is between caching and this error. disbaling the cache fixes the image build. Thanks in advance! |
Can you also share |
If selinux is enabled could you check if something is showing in audit logs ? |
I'm not aware of selinux or appamor, so i can't provide any logs of that :/ |
A friendly reminder that this issue had no activity for 30 days. |
+1 |
A friendly reminder that this issue had no activity for 30 days. |
Hi,
i'm using this buildah-Image (https://catalog.redhat.com/software/containers/ubi9/buildah/61959488b0df17a5d66395f6?architecture=amd64&image=6571633ec743cccfe7615c69) to build images inside an Openshift Cluster.
This works quite well, but it is a little bit slow.
I tried using caching from/to an external registry, but that did not speed up things as expected and introduced other problems, like API-Limit hiting...
Then i tried to use internal openshift registry but got a lot of HTTP 500 errors, so i decided not to dig deeper in this direction.
Now, i want to add a PVC Storage for layer caching, but can't figure out which directories i need.
I tried
/var/run/containers/storage
,/var/lib/containers/storage
and/var/lib/shared
in different combinations.When buildah starts using the cache, there where several strang errors like
Permission Denied
inside the build, directories not found etc.So my questions would be, what do i need the cache via PVC in order to get successful builds while using the cache.
Thanks in advance!
Oli
The text was updated successfully, but these errors were encountered: