Installing the SpectroCloud Cluster Provider Plugin#
This guide will help you install and set up the SpectroCloud cluster provider plugin.
Prerequisites#
- A working Backstage instance
- The Backstage Kubernetes plugin installed
- SpectroCloud Palette API credentials
Installation Steps#
1. Add Required Package#
2. Add to Backend#
Modify packages/backend/src/index.ts:
3. Configure SpectroCloud#
Add to your app-config.yaml:
spectrocloud:
environments:
- name: production
url: https://api.spectrocloud.com
tenant: my-tenant
apiToken: ${SPECTROCLOUD_API_TOKEN}
clusterProvider:
includeProjects: [production]
Verification#
After installation:
- Check backend logs for cluster discovery messages
- Navigate to a component with Kubernetes resources
- Verify SpectroCloud clusters appear
Testing#
Look for log messages like:
Troubleshooting#
Common Issues#
- No Clusters Found
- Verify API credentials
- Check project filters
-
Review network connectivity
-
RBAC Setup Failures
- Verify kubeconfig has admin access
- Check cluster connectivity
- Review backend logs
Next Steps#
- Configure project filtering
- Customize RBAC settings