castai-local-dev-loop

Featured

Set up a local Kubernetes development loop with CAST AI cost monitoring. Use when building cost-aware deployments, testing autoscaler policies, or iterating on Terraform CAST AI configurations locally. Trigger with phrases like "cast ai dev setup", "cast ai local testing", "develop with cast ai", "cast ai terraform dev".

AI & Automation 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# CAST AI Local Dev Loop ## Overview Fast iteration workflow for CAST AI integrations: test autoscaler policies in a dev cluster, validate Terraform modules before applying to production, and use the CAST AI API to measure savings impact during development. ## Prerequisites - Completed `castai-install-auth` setup - A development Kubernetes cluster (kind, minikube, or cloud dev cluster) - `kubectl`, `helm`, and optionally `terraform` installed ## Instructions ### Step 1: Project Structure ``` my-castai-infra/ ├── terraform/ │ ├── environments/ │ │ ├── dev.tfvars │ │ ├── staging.tfvars │ │ └── prod.tfvars │ ├── modules/ │ │ └── castai-cluster/ │ │ ├── main.tf │ │ ├── variables.tf │ │ └── outputs.tf │ └── main.tf ├── policies/ │ ├── dev-policy.json │ └── prod-policy.json ├── scripts/ │ ├── check-savings.sh │ └── validate-policies.sh ├── .env.dev # Dev API key (git-ignored) └── .env.example ``` ### Step 2: Dev Cluster with Relaxed Policies ```bash # Connect your dev cluster (read-only first) helm upgrade --install castai-agent castai-helm/castai-agent \ -n castai-agent --create-namespace \ --set apiKey="${CASTAI_API_KEY_DEV}" \ --set provider="eks" # Apply development-safe autoscaler policy curl -X PUT -H "X-API-Key: ${CASTAI_API_KEY_DEV}" \ -H "Content-Type: application/json" \ "https://api.cast.ai/v1/kubernetes/clusters/${CASTAI_CLUSTER_ID}/policies" \ -d '{ "enabled": true, "unschedu...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category