Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-6529

Add initContainer for initializing persistentHome when $HOME persistence is enabled

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Add initContainer for initializing persistentHome when $HOME persistence is enabled

      With this release, if you have $HOME persistence enabled, there is an `initContainer` that runs the `entrypoint` script and initializes persistentHome. This prevents a race condition from occurring.

      Previously, the persistent user home setup occurred in the entrypoint of the tooling container. Notably, the `entrypoint` was used to run `stow` to make symbolic links for the home directory to be saved on the PVC. If a postStart event depends on files or edits files located in the home directory, there is a risk of a race condition caused by the postStart event running before the `stow` execution is finished. To prevent this, the `entrypoint` script must be completed before the postStart events run.

      You can find more details about this enhancement in the link:https://youtu.be/RQeKKJgaogM?si=c3ba1U3Kp1aaVumX[demo video].
      Show
      = Add initContainer for initializing persistentHome when $HOME persistence is enabled With this release, if you have $HOME persistence enabled, there is an `initContainer` that runs the `entrypoint` script and initializes persistentHome. This prevents a race condition from occurring. Previously, the persistent user home setup occurred in the entrypoint of the tooling container. Notably, the `entrypoint` was used to run `stow` to make symbolic links for the home directory to be saved on the PVC. If a postStart event depends on files or edits files located in the home directory, there is a risk of a race condition caused by the postStart event running before the `stow` execution is finished. To prevent this, the `entrypoint` script must be completed before the postStart events run. You can find more details about this enhancement in the link: https://youtu.be/RQeKKJgaogM?si=c3ba1U3Kp1aaVumX [demo video].
    • Enhancement
    • Done

            jvrbkova@redhat.com Jana Vrbkova
            jvrbkova@redhat.com Jana Vrbkova
            Anatolii Bazko Anatolii Bazko
            Jana Vrbkova Jana Vrbkova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: