Service Deployment
Last updated
Last updated
Scoutflo supports integrating with popular container registries like ECR (Amazon Elastic Container Registry) and Docker Hub. To add your registry:
Navigate to the 'Profile > Settings' section at the bottom left of the Scoutflo dashboard.
Click on the 'Container Registry'.
Select your preferred registry (ECR or Docker Hub).
If you select AWS ECR, Provide the following required credentials for adding the registry:
Name of the Registry.
Description.
Registry URL.
Select Credentials ID.
Create New Credentials ID.
If you select Docker, Provide the following required credentials for adding the registry:
Name of the Registry.
Description.
Registry URL.
Select Credentials ID.
Create New Credentials ID.
Click Save to integrate your container registry.
After adding your container registry, you can onboard a service template:
Go to the Service Catalog section on Scoutflo.
Click Add Service Template.
In the form provided, fill in the following details:
1. Onboard Service
Select your GitHub organization and repository.
Service Name: Provide a unique name for your service.
Select an image from the container registry you added earlier.
Container Registry
Select Image: Choose the desired image from your container registry.
Repository URL: Enter the repository URL of your github org where you want to save the manifest files.
2. Compute
Requests:
CPU: Enter the CPU request (e.g., 20M
).
Memory: Enter the memory request (e.g., 512MB
).
Limits:
CPU: Enter the CPU limit (e.g., 20M
).
Memory: Enter the memory limit (e.g., 512MB
).
4. Networking
Protocol: Select the protocol (e.g., HTTP
).
Port: Enter the port (e.g., 80
).
Use Add More to define additional ports if required.
5. Environment Variables
Key: Enter the environment variable name (e.g., NODE_ENV
).
Value: Enter the variable value (e.g., production
).
Use Add More to define additional variables if required.
6. Advanced Settings
Tags:
Tag Name: Enter the tag name (e.g., Name
).
Tag Value: Enter the tag value (e.g., My App
).
Use Add More to define additional tags.
After completing the form, a preview of your service details will be displayed:
Image: Selected container image (e.g., v1.0.1
).
Service Name: The name of the service (e.g., My Service
).
Description: A brief description of the service.
Compute Details:
Request CPU: 20M
Request Memory: 512GiB
Limit CPU: 20M
Limit Memory: 512GiB
Estimated Cost: Cost estimation before deployment (e.g., $0.00
).
GitHub Repository Link.
Container Registry Link.
Once all details are confirmed:
Click Add Service to save the template.
The service template will now appear in the Service Catalog.
You can deploy the saved service template on any cluster managed by Scoutflo:
Go to the Service Catalog.
Select the desired service template.
Click Deploy.
Choose the target cluster, namespace and confirm the deployment.