Enable multi cluster networking with Submariner
In this tutorial we’ll cover the basics of how to use Fleet to manage submariner plugin on a group of clusters.
Prerequisites
-
Setup Fleet manager by following the instructions in the installation guide.
-
Running the following command to create two secrets to access attached clusters.
Create a fleet with metric plugin enabled
SUBMARINER_PSK
needs to be set as described in here.
After a while, we can see the fleet is ready
:
Verify the Installation
To ensure that the Submariner plugin is successfully installed and running.
Run the following commands:
More detailed verification steps can be done as follows:
subctl
needs to be installed to perform checks, please refer to the Install subctl.
- Diagnostic checks:
Perform subctl diagnose
on each cluster:
- Verify the connectivity between the clusters:
Cleanup
Guides for you to clean up the fleets and plugins.
1. Cleanup the Submariner Plugin
Tutorial for manual uninstallation can be found in Sumariner Documatation here.
Deleting the cluster to start from scratch is recommended because potential crd dependencies conflicts and some hard-to-find legacy resources or settings.
2. Cleanup the Fleet
When the fleet is deleted, all associated plugins will also be removed:
3. Cleanup the Infrastructure
Uninstall fleet manager:
IMPORTANT: In order to ensure a proper cleanup of your infrastructure you must always delete the cluster object. Deleting the entire cluster template with kubectl delete -f capi-quickstart.yaml might lead to pending resources to be cleaned up manually.
Uninstall cluster operator:
Optional, clean CRDs:
Optional, delete namespace:
Optional, unintall cert manager:
Optional, shutdown cluster:
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.