Skip to content

Commit 2308ae5

Browse files
jeremymanningclaude
andcommitted
Clean up default configurations and remove placeholder cloud examples (#35)
- Remove redundant cloud provider configurations (AWS, GCP, Azure) - Keep only functional configurations: local, Kubernetes, and HPC clusters - Prepare for proper cloud provider integrations with API-based setup - Reorganize configs in logical order: local first, then HPC examples The removed cloud examples were just static placeholders that didn't actually provision resources. They will be replaced with proper implementations that: - Accept user credentials/API keys - Automatically provision cloud resources - Handle cluster lifecycle management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cbb112d commit 2308ae5

File tree

1 file changed

+10
-88
lines changed

1 file changed

+10
-88
lines changed

clustrix/notebook_magic.py

Lines changed: 10 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,16 @@ class widgets: # type: ignore
201201
"default_memory": "16GB",
202202
"description": "Local machine using all available cores",
203203
},
204+
"Local Kubernetes": {
205+
"name": "Local Kubernetes",
206+
"cluster_type": "kubernetes",
207+
"k8s_namespace": "default",
208+
"k8s_image": "python:3.11",
209+
"default_cores": 2,
210+
"default_memory": "4GB",
211+
"package_manager": "pip",
212+
"description": "Local Kubernetes cluster (Docker Desktop/minikube)",
213+
},
204214
"University SLURM Cluster": {
205215
"name": "University SLURM Cluster",
206216
"cluster_type": "slurm",
@@ -249,94 +259,6 @@ class widgets: # type: ignore
249259
"package_manager": "pip",
250260
"description": "Example SSH remote server configuration",
251261
},
252-
"Local Kubernetes": {
253-
"name": "Local Kubernetes",
254-
"cluster_type": "kubernetes",
255-
"k8s_namespace": "default",
256-
"k8s_image": "python:3.11",
257-
"default_cores": 2,
258-
"default_memory": "4GB",
259-
"package_manager": "pip",
260-
"description": "Local Kubernetes cluster (Docker Desktop/minikube)",
261-
},
262-
"AWS EKS Cluster": {
263-
"name": "AWS EKS Cluster",
264-
"cluster_type": "kubernetes",
265-
"cluster_host": "cluster-api.region.eks.amazonaws.com",
266-
"cluster_port": 443,
267-
"k8s_namespace": "default",
268-
"k8s_image": "python:3.11",
269-
"default_cores": 4,
270-
"default_memory": "8GB",
271-
"package_manager": "pip",
272-
"cost_monitoring": True,
273-
"description": "Amazon EKS cluster configuration",
274-
},
275-
"GCP GKE Cluster": {
276-
"name": "GCP GKE Cluster",
277-
"cluster_type": "kubernetes",
278-
"cluster_host": "gke-cluster.googleapis.com",
279-
"cluster_port": 443,
280-
"k8s_namespace": "default",
281-
"k8s_image": "python:3.11",
282-
"default_cores": 4,
283-
"default_memory": "8GB",
284-
"package_manager": "pip",
285-
"cost_monitoring": True,
286-
"description": "Google GKE cluster configuration",
287-
},
288-
"Azure AKS Cluster": {
289-
"name": "Azure AKS Cluster",
290-
"cluster_type": "kubernetes",
291-
"cluster_host": "aks-cluster.region.azmk8s.io",
292-
"cluster_port": 443,
293-
"k8s_namespace": "default",
294-
"k8s_image": "python:3.11",
295-
"default_cores": 4,
296-
"default_memory": "8GB",
297-
"package_manager": "pip",
298-
"cost_monitoring": True,
299-
"description": "Azure AKS cluster configuration",
300-
},
301-
"AWS EC2 via SSH": {
302-
"name": "AWS EC2 via SSH",
303-
"cluster_type": "ssh",
304-
"cluster_host": "ec2-xx-xx-xx-xx.compute-1.amazonaws.com",
305-
"username": "ec2-user",
306-
"cluster_port": 22,
307-
"default_cores": 8,
308-
"default_memory": "32GB",
309-
"remote_work_dir": "/home/ec2-user/clustrix",
310-
"package_manager": "conda",
311-
"cost_monitoring": True,
312-
"description": "AWS EC2 instance accessed via SSH",
313-
},
314-
"GCP Compute via SSH": {
315-
"name": "GCP Compute via SSH",
316-
"cluster_type": "ssh",
317-
"cluster_host": "instance-name.zone.c.project-id.internal",
318-
"username": "gcp_user",
319-
"cluster_port": 22,
320-
"default_cores": 16,
321-
"default_memory": "64GB",
322-
"remote_work_dir": "/home/gcp_user/clustrix",
323-
"package_manager": "conda",
324-
"cost_monitoring": True,
325-
"description": "GCP Compute Engine instance via SSH",
326-
},
327-
"Azure VM via SSH": {
328-
"name": "Azure VM via SSH",
329-
"cluster_type": "ssh",
330-
"cluster_host": "vm-name.region.cloudapp.azure.com",
331-
"username": "azureuser",
332-
"cluster_port": 22,
333-
"default_cores": 12,
334-
"default_memory": "48GB",
335-
"remote_work_dir": "/home/azureuser/clustrix",
336-
"package_manager": "conda",
337-
"cost_monitoring": True,
338-
"description": "Azure Virtual Machine via SSH",
339-
},
340262
}
341263

342264

0 commit comments

Comments
 (0)