Set Up a Remote Sandbox
This guide explains how to configure and use the Grand Central sandbox environment for live cluster development and testing.For local development setup, see Set up a local environment.
Prerequisites
Before you begin, ensure the following requirements are met:Onboarding Complete
You have completed the onboarding process
VPN Connected
Your Backbase VPN connection is active
Repository Access
Access to a connector repository in the Grand Central organization
Cluster Permissions
Verified permissions to access the target cluster
Required Tools
Install supported versions of the following tools:| Tool | Description | Installation Link |
|---|---|---|
| Azure CLI | Command-line tool for Azure | Install Azure CLI |
| kubectl | Kubernetes command-line tool | Install kubectl |
| kamel CLI | Camel K command-line tool | Install kamel |
Set Up and Configure Your Sandbox
Step 1: Authenticate with Azure
Connect to your cluster by authenticating with Azure:Step 2: Configure Cluster Proxy
Updatekubeconfig with the proxy URL provided by the Grand Central team:
Step 3: Create Development Namespace
Create a dedicated namespace for your development work:Step 4: Clone Connector Repository
Clone the connector repository to your local machine:Step 5: Build the Project
Ensure all dependencies are configured by building the project:Step 6: Configure Cluster Settings (Optional)
Configure cluster settings by updating thepom.xml file with desired Camel traits.
Add Traits to pom.xml
Include traits from the properties section of the BOM:Enable Traits in Plugin Configuration
If you haven’t introduced traits before, enable them in the plugin configuration:Step 7: Run in Sandbox Development Mode
Run the project in sandbox development mode using the Grand Central Maven Plugin:- Builds your connector
- Deploys it to the remote cluster
- Streams logs to your terminal
- Watches for code changes and redeploys automatically
Verify Your Setup
Check Pod Status
Verify that your pods are running:Get Service URL
Retrieve the service URL for your integration deployment:Test the Connector
Send a test request to your deployed connector:Working with the Sandbox
View Logs
Stream logs from your connector:Access Connector Metrics
View connector metrics:Debug Connector
To debug your connector in the sandbox:- Enable debug port in your traits configuration
- Port-forward the debug port:
- Attach your IDE debugger to
localhost:5005
Scale Your Connector
Manually scale your connector:Common Operations
Update Connector Code
Update Connector Code
When using
mvn kamel:dev, changes are automatically detected and redeployed. For manual updates:View All Resources
View All Resources
List all resources in your namespace:
Delete Connector
Delete Connector
Remove your connector from the cluster:
Check Resource Usage
Check Resource Usage
Monitor resource consumption:
Troubleshooting
Authentication fails
Authentication fails
- Ensure VPN is connected
- Re-run
az login - Verify cluster permissions with your admin
Pod not starting
Pod not starting
- Check pod logs:
kubectl logs <pod-name> - Describe pod:
kubectl describe pod <pod-name> - Verify resource limits in traits configuration
Cannot access service URL
Cannot access service URL
- Verify service is ready:
kubectl get ksvc - Check ingress configuration
- Ensure VPN is active for internal URLs
mvn kamel:dev fails
mvn kamel:dev fails
- Verify kubectl context is correct
- Check Maven plugin version
- Ensure namespace exists and is accessible
Best Practices
Namespace Isolation
Always use personal namespaces to avoid conflicts
Resource Limits
Set appropriate CPU and memory limits
Clean Up
Delete unused resources to free cluster capacity
Monitor Logs
Regularly check logs for errors and warnings
Next Steps
Once your sandbox is set up successfully:- Build and run locally for faster development
- Configure your connector with custom settings
- Test and validate your connector thoroughly
- Deploy to higher environments following your organization’s promotion process