Spot handler
Spot Handler is the component responsible for scheduled events monitoring and delivering them to the central platform. It's open source and can be found on github.
Install spot-handler
By default spot-handler is installed during your cluster onboarding using helm chart https://github.com/castai/helm-charts/tree/main/charts/castai-spot-handler
If for some reasons it was uninstalled you can install it manually.
Add CAST AI helm charts repository.
helm repo add castai-helm https://castai.github.io/helm-charts
helm repo update
Now let's install it.
helm upgrade --install castai-spot-handler castai-helm/castai-spot-handler -n castai-agent \
--set castai.apiKey=<your-api-token> \
--set castai.clusterID=<your-cluster-id> \
--set castai.provider=<your-CSP-provider> #aws, gcp, azure
Upgrade spot-handler
In order to upgrade this component to the latest version, run the following command:
helm repo add castai-helm https://castai.github.io/helm-charts
helm repo update
helm upgrade castai-spot-handler castai-helm/castai-spot-handler --reuse-values -n castai-agent
Troubleshooting
Check spot-handler logs
kubectl logs -l name=spot-handler -n castai-agent
Updated about 1 month ago