rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
442 stars 243 forks source link

Add warning label to UI about deploying cloud provider apps on k3s/rke2 clusters #10058

Open a-blender opened 7 months ago

a-blender commented 7 months ago

Is your feature request related to a problem? Please describe.

I encountered errors when deploying the vSphere CPI chart on the latest 2.7 via the app catalog/UI because the vsphere cloud provider uses the same port as the rke2 cloud provider. This was fixed in https://github.com/rancher/rke2/issues/1844 but the fix only works when deploying via kubectl/helm and according to @brandond see https://github.com/rancher/rke2/issues/1844#issuecomment-1819746969 we don't recommend deploying cloud provider charts via the app catalog. The reasons for this are not obvious/hidden in the backend so I suggest we add a warning to the UI if a user tries to do so.

Example

Installing a vSphere cloud provider chart via the app catalog is not recommended for k3s/rke2 clusters due to port conflicts. Please install manually.

There may be other charts that this applies to as well.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

gaktive commented 7 months ago

@nwmac do we need to put this in Jira at all? This looks like a scenario that we should handle better but this may have to go through design review.

brandond commented 7 months ago

Installing a vSphere cloud provider chart via the app catalog is not recommended for k3s/rke2 clusters due to port conflicts. Please install manually.

How about something like:

Installing Cloud Provider charts via App Catalog is not supported. Please select the correct Cloud Provider when provisioning the cluster, or select "External" and deploy a Cloud Provider via Add-On Config/Additional Manifest.