castai-cost-tuning

Featured

Maximize Kubernetes cost savings with CAST AI spot strategies and right-sizing. Use when analyzing cloud spend, optimizing spot-to-on-demand ratios, or configuring CAST AI for maximum savings. Trigger with phrases like "cast ai cost", "cast ai savings", "cast ai spot strategy", "reduce kubernetes cost", "cast ai budget".

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 Cost Tuning ## Overview Maximize Kubernetes cost savings through CAST AI: spot instance strategies, workload right-sizing, cluster hibernation, and savings tracking. Typical savings: 50-70% on cloud compute costs. ## Prerequisites - CAST AI Phase 2 enabled with full automation - Savings report available (requires 24h+ of data) - Understanding of workload criticality tiers ## Instructions ### Step 1: Analyze Current Savings ```bash # Get savings breakdown curl -s -H "X-API-Key: ${CASTAI_API_KEY}" \ "https://api.cast.ai/v1/kubernetes/clusters/${CASTAI_CLUSTER_ID}/savings" \ | jq '{ currentMonthlyCost: .currentMonthlyCost, optimizedMonthlyCost: .optimizedMonthlyCost, monthlySavings: .monthlySavings, savingsPercentage: .savingsPercentage, spotSavings: .spotSavings, rightSizingSavings: .rightSizingSavings }' ``` ### Step 2: Maximize Spot Usage ```bash # Enable aggressive spot with diversity and fallbacks curl -X PUT -H "X-API-Key: ${CASTAI_API_KEY}" \ -H "Content-Type: application/json" \ "https://api.cast.ai/v1/kubernetes/clusters/${CASTAI_CLUSTER_ID}/policies" \ -d '{ "enabled": true, "spotInstances": { "enabled": true, "clouds": ["aws"], "spotDiversityEnabled": true, "spotDiversityPriceIncreaseLimitPercent": 20, "spotBackups": { "enabled": true, "spotBackupRestoreRateSeconds": 600 } } }' ``` **Spot allocation strategy by workload tier:** | Workload Type | S...

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