Unified Application Distribution with Kurator
In this guide, we will introduce how to use Kurator to distribute applications uniformly with Fleet.
Architecture
Kurator offers a unified system for distributing applications across multiple clusters, powered by Fleet.
By making use of the GitOps approach through FluxCD, Kurator automates the process of syncing and deploying applications. This makes the entire procedure quicker and more precise
Built to be flexible and responsive, Kurator’s distribution system is specially designed to accommodate various business and cluster demands.
The overall architecture is shown as below:
Prerequisites
Setup Fleet manager by following the instructions in the installation guide.
Create an example application
The following example uses two locally attachedClusters for testing. For more details about attachedCluster, refer to the manage attachedCluster page.
After the Kind cluster is ready, you can check the original status of the cluster for comparison with the following example.
Apply example application with the following command:
Here is the content of example application resource.
The YAML configuration of the example application outlines its source, synchronization policy, and other key settings.
This includes the gitRepository
as its source and two kustomization
syncPolicies referring to a fleet that contains two attachedClusters
Try other example application
Optionally, you can also try testing the examples below with different combinations
Here is the configuration of application.
Here is the configuration of application.
Verifying the unified application distribution result
After the fleet’s control plane complete (approximately 1 minute), you can see within a few seconds that the application has been installed according to the configuration.
Use the following command to view the application installation result:
The command output lists all the pods deployed across two clusters. If the application distribution is successful, you should see pods from the ‘podinfo’ and ‘webapp’ applications installed in both clusters
CleanUp
Use the following command to clean up the quickstart1
application and related resources, like gitRepository
, kustomization
, helmRelease
, etc.
Also, you can confirm that the corresponding cluster applications have been cleared through the following command: