Restructure project: Move AKS cluster to beispiel-k8s-cluster directory
Major improvements: - Import existing Azure AKS cluster with aztfexport - Optimize VM size from Standard_D4d_v4 to Standard_D2as_v6 (50% cost reduction) - Configure availability zones to [1, 2] - Add comprehensive monitoring setup: * New Log Analytics Workspace * OMS Agent integration * Data Collection Rule for Container Insights * Email alerts for CPU and Memory - Refactor configuration: * Extract all values to variables.tf * Rename resources with meaningful names * Add detailed outputs.tf - Add project documentation: * Comprehensive README.md * cluster-status-commands.md with useful Azure CLI commands * terraform.tfvars.example template * .gitignore for sensitive files Infrastructure changes: - Resource Group: trusted_ai_demo_rg (Germany West Central) - AKS Cluster: trai_k8s_cluster (Kubernetes 1.33) - Node Pool: 2-3 nodes with auto-scaling - Network: VNet 10.0.0.0/16, Subnet 10.0.0.0/24 - Monitoring: Full Container Insights with alerts Cost optimization: ~€75/month (down from ~€140/month) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4fd1f14a3b
commit
dfff276de6
18 files changed
+702
-420
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# Azure Region
|
||||
location = "germanywestcentral"
|
||||
|
||||
# Resource Group
|
||||
resource_group_name = "trusted_ai_demo_rg"
|
||||
|
||||
# Virtual Network
|
||||
vnet_name = "trusted_ai_demo_vn"
|
||||
subnet_name = "default"
|
||||
|
||||
# AKS Cluster Configuration
|
||||
aks_cluster_name = "trai_k8s_cluster"
|
||||
aks_dns_prefix = "traik8scluster"
|
||||
|
||||
# AKS Node Pool Configuration
|
||||
aks_node_vm_size = "Standard_D2as_v6"
|
||||
aks_node_zones = ["1", "2"]
|
||||
|
||||
# Auto-Scaling Configuration
|
||||
aks_node_pool_min_count = 2
|
||||
aks_node_pool_max_count = 3
|
||||
|
||||
# Alert Configuration
|
||||
# WICHTIG: Ersetzen Sie diese Email-Adresse mit Ihrer eigenen
|
||||
alert_email_address = "your-email@example.com"
|
||||
|
||||
# Azure Subscription ID (optional, falls abweichend vom Default)
|
||||
# subscription_id = "your-subscription-id"
|
||||
Reference in new issue
Block a user