Installing CRDs¶
5-Spot uses Custom Resource Definitions (CRDs) to extend the Kubernetes API.
ScheduledMachine CRD¶
The ScheduledMachine CRD is the primary resource type for 5-Spot.
Installation¶
Or from the repository:
kubectl apply -f https://raw.githubusercontent.com/finos/5-spot/main/deploy/crds/scheduledmachine.yaml
Verify Installation¶
Expected output:
CRD Schema¶
The CRD defines the following structure:
- apiVersion:
capi.5spot.io/v1alpha1 - kind:
ScheduledMachine - spec: Configuration for scheduling and machine management
- status: Current state and conditions
See the API Reference for complete field documentation.
Generating CRDs¶
If building from source, generate CRDs using:
Upgrading CRDs¶
When upgrading 5-Spot, update the CRD first:
Caution
CRD changes may affect existing resources. Always review the changelog before upgrading.
Next Steps¶
- Deploying Operator - Deploy the 5-Spot controller
- Quick Start - Create your first ScheduledMachine