Skip to content

Commit 0adc279

Browse files
jeremymanningclaude
andcommitted
Fix widget configuration parameter errors (issue #51)
- Add missing k8s_remote parameter for Kubernetes remote clusters - Add missing aws_region, azure_region, gcp_region for cloud providers - Add missing lambda_instance_type for Lambda Cloud configurations - Add missing hf_hardware for Hugging Face Spaces configurations - Resolves "Unknown configuration parameter" errors in widget interface - All 298 tests pass with linting validation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7a3d69c commit 0adc279

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

clustrix/config.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class ClusterConfig:
2727
k8s_pull_policy: str = "IfNotPresent"
2828
k8s_job_ttl_seconds: int = 3600
2929
k8s_backoff_limit: int = 3
30+
k8s_remote: bool = False
3031

3132
# Cloud provider settings for remote Kubernetes
3233
cloud_provider: str = "manual" # manual, aws, azure, gcp
@@ -38,18 +39,27 @@ class ClusterConfig:
3839
aws_access_key_id: Optional[str] = None
3940
aws_secret_access_key: Optional[str] = None
4041
eks_cluster_name: Optional[str] = None
42+
aws_region: Optional[str] = None
4143

4244
# Azure-specific settings
4345
azure_subscription_id: Optional[str] = None
4446
azure_resource_group: Optional[str] = None
4547
azure_tenant_id: Optional[str] = None
4648
aks_cluster_name: Optional[str] = None
49+
azure_region: Optional[str] = None
4750

4851
# GCP-specific settings
4952
gcp_project_id: Optional[str] = None
5053
gcp_zone: Optional[str] = None
5154
gcp_service_account_key: Optional[str] = None
5255
gke_cluster_name: Optional[str] = None
56+
gcp_region: Optional[str] = None
57+
58+
# Lambda Cloud settings
59+
lambda_instance_type: Optional[str] = None
60+
61+
# Hugging Face Spaces settings
62+
hf_hardware: Optional[str] = None
5363

5464
# Resource defaults
5565
default_cores: int = 4

0 commit comments

Comments
 (0)