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,266 stars 315 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
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

castai-reference-architecture

CAST AI reference architecture for multi-cluster Kubernetes cost optimization. Use when designing CAST AI deployment across environments, planning Terraform module structure, or establishing team standards. Trigger with phrases like "cast ai architecture", "cast ai best practices", "cast ai multi-cluster", "cast ai terraform structure".

2,266 Updated today
jeremylongshore
DevOps & Infrastructure Featured

castai-deploy-integration

Deploy CAST AI across multi-cloud Kubernetes clusters with Terraform modules. Use when onboarding EKS, GKE, or AKS clusters to CAST AI using infrastructure-as-code patterns. Trigger with phrases like "deploy cast ai", "cast ai eks", "cast ai gke", "cast ai aks", "cast ai terraform module".

2,266 Updated today
jeremylongshore
AI & Automation Featured

castai-core-workflow-a

Configure CAST AI autoscaler policies and node templates for cost optimization. Use when enabling Phase 2 automation, setting spot instance policies, or configuring node downscaler and evictor settings. Trigger with phrases like "cast ai autoscaler", "cast ai policies", "cast ai spot instances", "cast ai node optimization".

2,266 Updated today
jeremylongshore
AI & Automation Featured

castai-ci-integration

Integrate CAST AI policy validation and cost checks into CI/CD pipelines. Use when adding CAST AI savings verification to GitHub Actions, validating Terraform plans, or gating deployments on cost thresholds. Trigger with phrases like "cast ai CI", "cast ai github actions", "cast ai terraform CI", "cast ai pipeline".

2,266 Updated today
jeremylongshore
AI & Automation Featured

castai-prod-checklist

Production readiness checklist for CAST AI cluster onboarding. Use when going live with CAST AI autoscaling, validating Phase 2 setup, or preparing for production cost optimization. Trigger with phrases like "cast ai production", "cast ai go-live", "cast ai checklist", "cast ai launch".

2,266 Updated today
jeremylongshore