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

Update fuse docs for Podman 5.x #2842

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dkwon17
Copy link
Contributor

@dkwon17 dkwon17 commented Jan 3, 2025

What does this pull request change?

This PR updates the "Enabling fuse-overlayfs for all workspaces" doc such that they work with Podman 5.x. This PR is in response to devfile/developer-images#209

What issues does this pull request fix or reference?

Related PR: devfile/developer-images#209

Specify the version of the product this pull request applies to

Che 7.95

Screenshot From 2025-01-03 14-30-11

Pull Request checklist

The author and the reviewers validate the content of this pull request with the following checklist, in addition to the automated tests.

  • Any procedure:
    • Successfully tested.
  • Any page or link rename:
    • The page contains a redirection for the previous URL.
    • Propagate the URL change in:
  • Builds on Eclipse Che hosted by Red Hat.
  • the Validate language on files added or modified step reports no vale warnings.

Copy link

github-actions bot commented Jan 3, 2025

🎊 Navigate the preview: https://67783b914e30744f1de33309--eclipse-che-docs-pr.netlify.app 🎊

Copy link

github-actions bot commented Jan 3, 2025

Click here to review and test in web IDE: Contribute

@dkwon17 dkwon17 force-pushed the fuseupdate branch 3 times, most recently from c756db3 to 3df0d02 Compare January 3, 2025 16:41
Signed-off-by: dkwon17 <dakwon@redhat.com>
@dkwon17 dkwon17 marked this pull request as ready for review January 3, 2025 19:37
@dkwon17 dkwon17 requested review from deerskindoll and a team as code owners January 3, 2025 19:37
@dkwon17 dkwon17 requested a review from nickboldt January 3, 2025 19:37
Copy link
Contributor

@deerskindoll deerskindoll left a comment

Choose a reason for hiding this comment

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

a couple of questions

For Podman 5.x, the `/home/user/.config` must be owned by the current user for Podman to function correctly.
The `storage.conf` file for Podman is typically stored in this folder.
This document explains how to configure the container entrypoint script for the workspace so that fuse-overlayfs is being used.
The Universal Developer Image (UDI) already contains the necessary configuration by default.
Copy link
Contributor

Choose a reason for hiding this comment

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

when you refer to the configuration already contained in UDI, what sort of configuration are you referring to? the one from the previous line (container entrypoint script)?

@@ -7,6 +7,11 @@
[id="enabling-fuse-overlayfs-for-all-workspaces"]
= Enabling fuse-overlayfs for all workspaces

For Podman 5.x, the `/home/user/.config` must be owned by the current user for Podman to function correctly.
The `storage.conf` file for Podman is typically stored in this folder.
This document explains how to configure the container entrypoint script for the workspace so that fuse-overlayfs is being used.
Copy link
Contributor

Choose a reason for hiding this comment

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

after configuration, is fuse-overlayfs used by the workspace with the configured script? the wording is a bit unclear, especially with "so that fuse-overlayfs is being used."

The `storage.conf` file for Podman is typically stored in this folder.
This document explains how to configure the container entrypoint script for the workspace so that fuse-overlayfs is being used.
The Universal Developer Image (UDI) already contains the necessary configuration by default.

.Prerequisites

* The xref:administration-guide:enabling-access-to-dev-fuse-for-openshift.adoc[] section has been completed. This is not required for OpenShift versions 4.15 and later.
Copy link
Contributor

Choose a reason for hiding this comment

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

i'm wondering if it would make sense to reword the prerequisite since it's only necessary for older OCP versions.

maybe we should add FOR OCP VERSIONS 4.14 AND LOWER there?

@@ -62,9 +39,51 @@ spec:
For OpenShift versions before 4.15, the `io.openshift.podman-fuse: ""` annotation is also required.
====

. If you are using a custom image for the workspace container, create the `/home/user/.config` folder and configure the `storage.conf` file on runtime via the entrypoint.
To do this, create add the following to the workspace container image's entrypoint script before building the image.
Copy link
Contributor

Choose a reason for hiding this comment

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

create and add?

To do this, create add the following to the workspace container image's entrypoint script before building the image.
+
====
[source,bash,subs="+quotes,+macros"]
Copy link
Contributor

Choose a reason for hiding this comment

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

+
[NOTE]
====
This is configured in the UDI by default. Therefore this step is only required if you are using a custom image for the workspace container.
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we could mark the whole step as [OPTIONAL] since it's only required for custom images

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