crc-org / crc-extension

Red Hat OpenShift Local Extension for integration of OpenShift Local clusters with Podman Desktop
Apache License 2.0
13 stars 16 forks source link

OpenShift Local extension should offer to download `crc`/`microshift` on Linux #146

Open benoitf opened 1 year ago

benoitf commented 1 year ago

This issue has been moved from https://github.com/containers/podman-desktop/issues/2659 It was opened by @worldofgeese

Is your enhancement related to a problem? Please describe

Podman Desktop's default PATH is minimal and even conflicts with the suggested PATH for "Code Ready Containers" (what's Code Ready Containers? New users likely are unaware it was renamed) in Troubleshooting (/usr/local/bin).

Describe the solution you'd like

  1. The OpenShift Local extension should offer a 1-click binary download of crc when missing.
  2. It should also offer a custom PATH option just like the Podman extension does.

Describe alternatives you've considered

No response

Additional context

CRC not found message:

image

Troubleshooting section of the Podman Desktop docs which refers to "Code Ready Containers" not OpenShift Local. Additionally, it advises the user to make sure crc is in /usr/local/bin but this is not part of the PATH checked by Podman Desktop on Linux.

image

gbraad commented 1 year ago

It should also offer a custom PATH option just like the Podman extension does.

Please file individual issues for 'also'. And I believe #5 is a duplicate.

gbraad commented 1 year ago

Hi @worldofgeese, CRC would download, but I believe your system is not in a clean state. Have you before downloaded and installed CRC from the MSI?

worldofgeese commented 1 year ago

Hi @worldofgeese, CRC would download, but I believe your system is not in a clean state. Have you before downloaded and installed CRC from the MSI?

Hi @gbraad, this is a clean Clear Linux installation: crc was never previously installed and Podman Desktop never offered to download and install. Seems I am running into the same issue as my other issue https://github.com/containers/podman-desktop/issues/2658 where Podman Desktop does not offer to download and init podman. Unsure why this is. Is it because I am using the Flatpak?

gbraad commented 1 year ago

We never had a guided installation flow for Linux. For the first release we have provided feature parity with the tray we offered.

Podman machine init and openshift are not the same, so we can't call these issues the same.

Fyi: the documentation does state this necessary and needs to be performed manually. This might change in the future though the timeline has not been decided.

worldofgeese commented 1 year ago

👍 it would be great for Linux users to have the same quality of onboarding as macOS and Windows users, thank you for its consideration.

gbraad commented 1 year ago

Seen this is almost a single-digit userbase, and a lot of different distros to cover, this might only get some minor convenience options for the onboarding.

rsrchboy commented 2 months ago

Any progress with this? (...or a viable workaround?) It's a bit of a blocker for those of us wanting to explore using openshift local via podman-desktop.