dashboard
dashboard copied to clipboard
Visual indicator when selecting cilium and enabling Project Network Isolation on v2 clusters
When a user is creating a new v2 cluster and they select the cilium CNI and enable Project Network Isolation there should be a popup in the form that informs the users that the ingress controller will not be able to route requests to pods on other nodes by default. Ideally we should link to the related documentation as well.
https://github.com/rancher/docs/issues/3868
UX to be designed - a popup is probably too intrusive
Popup was probably the wrong word, maybe more of a banner in the form. Similar to a bootstrap alert.
Add an info alert with the information "Per default the ingress controller will not be able to route requests to pods on other nodes."
This is on the 'Basics' tab for RKE2 cluster creation.
Change the 'Container Network' dropdown to 'cillium' and then check the 'Project Network Isolation'.
We need to add an info banner (text below) when the user has these two settings.
QA TEST PLAN
- Setup Rancher, create a standard user and login as that user.
- Navigate to Cluster Management > Create.
- While provisioning a downstream RKE2 node driver cluster, perform the following:
- Change
Container Networktociliumin theCluster Configurationblock. - Check
Project Network Isolationin theCluster Configurationblock.
- Change
- Validate if an info banner appears with these two settings checked.
- Un-check the
Project Network Isolationbutton and validate if the info button disappears. - Re-check the
Project Network Isolationbutton, but change theContainer Networkto a different CNI; validate if the info button disappears.
Validated that this is addressed in v2.7-head https://github.com/rancher/rancher/commit/40c390d79faef993e8509d545a4ed1e18a78a4de.
ENVIRONMENT DETAILS
- Rancher install: Docker
- Rancher version:
v2.7-headhttps://github.com/rancher/rancher/commit/40c390d79faef993e8509d545a4ed1e18a78a4de - Browser: Chrome
TEST RESULT PASS
VERIFICATION STEPS
- Setup Rancher, created a standard user and login as that user.
- Navigated to Cluster Management > Create.
- While provisioning a downstream RKE2 node driver cluster, performed the following:
- Changed
Container Networktociliumin theCluster Configurationblock. - Checked
Project Network Isolationin theCluster Configurationblock.
- Changed
- Validated that an info banner appears with these two settings checked:

- Un-checked the
Project Network Isolationbutton and validated if the info button disappears as seen in the above GIF. - Re-checked the
Project Network Isolationbutton, but changed theContainer Networkto a different CNI; validated that the info button disappears: