perf(environment): improve cost model with three-tier capacity pricing
div18
92019fc
- Import DEFAULT_CAPACITY constant from simulator module as baseline capacity
- Update Kubernetes deployment replicas from 1 or 2 to 3 for all services in local-laptop and aws manifests
- Increase pod resource quota from 30 to 45 to support higher replica count
- Enhance _compute_cost() method with a three-tier cost calculation
- Define tier 1 as baseline capacity at cheap base rate up to DEFAULT_CAPACITY
- Define tier 2 as needed excess capacity charged at moderate 4× base rate
- Define tier 3 as idle excess capacity charged at high 20× penalty rate
- Provide clear incentives for scaling just enough to meet traffic demand without overprovisioning
model changes
div18
9db539d
deploy
div18
5a30495
feat: implement Kubernetes executor for automated cluster scaling and infrastructure management
- Add PowerShell deploy script for setting up EKS cluster, nodegroup, workloads, AMP workspace,
Prometheus Agent with IRSA, self-hosted Grafana, Cluster Autoscaler, and kubeconfig generation
- Implement phased deployment approach with checks for existing resources to avoid duplication
- Create Prometheus service account with IAM policy attachment via eksctl for secure remote writes
- Automate Helm chart installation and upgrades for Prometheus Agent, Grafana, and Cluster Autoscaler
- Include automated dashboard secret creation for Grafana via kubectl
- Add robust node readiness check after nodegroup creation
- Generate AWS IAM-based kubeconfig for Hugging Face Spaces integration, with encoding instructions
- Update bash deploy script to align default region with PowerShell script (ap-southeast-1) and
adopt consistent phased deployment with improved comments and error handling
- Refine eksctl cluster YAML config with updated region, availability zones, and cloudwatch logging
- Add s…
docs(deploy): add detailed architecture guide and update k8s workloads
div18
8cd4141
- Add AntiAtropos Architecture Guide explaining system design and Kubernetes concepts
- Document SRE agent operation loop and action effects on AWS EKS
- Explain telemetry flow from real cluster to agent via AMP and Prometheus
- Clarify three-layer scaling caps for cost control and safety limits
- Provide mapping of simulator nodes to real Kubernetes deployments
- Include comprehensive component listings for Hugging Face Spaces, AWS EKS, and managed services
- Describe simulator modes and cost implications of scaling actions
- Add ResourceQuota to prod-sre namespace limiting pods and resource usage
- Restructure and clean Kubernetes manifest for microservice deployments and services
- Enhance manifest comments for better understanding of workloads and scraping setup
feat(aws): add complete AWS infrastructure deployment with sample workloads and autoscaling
div18
0d2b52f
- Add cluster-autoscaler Helm values configuration for node autoscaling
- Revise deploy.sh to deploy EKS cluster, sample workloads, AMP and AMG workspaces
- Implement IRSA setup and Prometheus Agent Helm installation in deploy.sh
- Include Cluster Autoscaler installation and upgrades in deploy.sh steps
- Generate kubeconfig for HF Spaces to connect securely to EKS with AWS IAM authenticator
- Add generate-kubeconfig.sh script to produce kubeconfig file for external access
- Provide k8s-workloads.yaml to deploy sample microservices with Prometheus scraping annotations
- Create detailed OPERATIONS.md guide with deployment instructions, cost cap strategies, and autoscaling setup
- Remove Docker build and ECR push steps as FastAPI runs externally on Hugging Face Spaces
- Improve deployment script output with clear instructions for configuring HF Spaces environment variables
feat(deploy): add AWS deployment scripts and configurations for AntiAtropos
div18
85041bd
- Add deploy/aws/deploy.sh to automate full AWS deployment on EKS
- Create eksctl cluster config with managed node groups and addons
- Add Kubernetes manifests for namespace, configmap, deployment, service,
secret, and optional ALB ingress
- Provide Prometheus agent Helm values for remote write to AMP workspace
- Include Grafana dashboard JSON placeholders for overview and live views
- Add IAM trust policy JSON for Grafana role setup
- Write comprehensive README.md with step-by-step AWS deployment guide,
instructions, and troubleshooting tips
- Enable IRSA setup for Prometheus and AntiAtropos service accounts
- Integrate building and pushing AntiAtropos Docker image to ECR
- Support ALB ingress with AWS Load Balancer Controller annotations
- Configurefeat(deploy/aws): add complete AWS deployment setup for AntiAtropos
- Add deploy script to create E metrics scraping, liveness/readiness probes, and resource limitsKS cluster, AMP workspace, IAM roles, and deploy app
- Provide eksctl …