This application is designed for deploying applications to Rancher2. It provides fleet-specific configurations for managing and deploying Helm charts in a Rancher environment.
The eea-fleet app handles the deployment and management of applications within Rancher2 clusters. It provides streamlined configuration management for fleet deployments.
To generate a new application, use the utility application located in the utils/
directory. This tool provides an interactive interface for creating new app configurations that are compatible with the fleet deployment system.
-
Navigate to the utils directory:
cd utils/
-
Install dependencies (if not already done):
pip install -r requirements.txt
-
Run the configuration generator:
python main.py
-
Follow the interactive prompts:
- Select "Generate Fleet Configuration" from the main menu
- Choose between "Repository Mode" (select from available EEA Helm charts) or "Cluster Mode" (extract from existing deployments)
- Configure your application settings:
- Application Name: Unique identifier for your app
- Target Namespace: Kubernetes namespace for deployment
- Chart Selection: Choose from available EEA Helm charts
- Target Cluster: Destination cluster name
- Customize Helm values as needed
-
Generated files: The tool will create organized configuration files:
apps/<cluster>/<namespace>-<chart>/fleet.yaml
- Fleet deployment configurationint/<cluster>/<namespace>-<chart>/<namespace>-<chart>-configmap.yaml
- ConfigMap with Helm values
The generated configurations are automatically organized by cluster and follow Rancher Fleet best practices for multi-cluster deployments.
Note: ConfigMap files in the
int/
directory contain environment-specific configurations and should be excluded from version control to maintain security and flexibility across different deployment environments.