Skip to content

Commit ddd1e11

Browse files
committed
Converts all scripts over to relative paths
1 parent 7d68508 commit ddd1e11

21 files changed

+114
-18
lines changed

2025-HPDC/infrastructure/test-c7i-48xlarge/cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ kubectl delete pod --all-namespaces --all --force
3636

3737
echo ""
3838
echo "Deleting the EKS cluster:"
39-
eksctl delete cluster --config-file /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-48xlarge/eksctl-config.yaml --wait
39+
eksctl delete cluster --config-file ./eksctl-config.yaml --wait
4040

4141
echo ""
4242
echo "Everything is now cleaned up!"

2025-HPDC/infrastructure/test-c7i-48xlarge/config.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ cluster_name = "hpdc-2025-c7i-48xlarge"
33
cluster_deployment_region = "us-west-1"
44
cluster_availability_zones = [
55
"us-west-1a",
6+
"us-west-1c",
67
]
78

89
[[aws.eksctl.cluster_node_groups]]
@@ -13,6 +14,14 @@ desired_size = 1
1314
min_size = 1
1415
max_size = 1
1516

17+
[[aws.eksctl.cluster_node_groups]]
18+
zone = "us-west-1c"
19+
instance_type = "c7i.48xlarge"
20+
volume_size = 30
21+
desired_size = 1
22+
min_size = 1
23+
max_size = 1
24+
1625
[aws."Kubernetes autoscaler"]
1726
cpu_max = "100m"
1827
memory_max = "600Mi"

2025-HPDC/infrastructure/test-c7i-48xlarge/configure_kubernetes.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ fi
1111

1212
echo "Configuring the Cluster Autoscaler:"
1313
kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=master"
14-
kubectl apply -f /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-48xlarge/cluster-autoscaler.yaml
14+
kubectl apply -f ./cluster-autoscaler.yaml
1515
echo ""
1616
echo "Configuring the Storage Class:"
17-
kubectl apply -f /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-48xlarge/storage-class.yaml
17+
kubectl apply -f ./storage-class.yaml
1818

1919
echo ""
2020
echo "Patching the cluster to make the configured storage class the default:"

2025-HPDC/infrastructure/test-c7i-48xlarge/create_cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if ! command -v eksctl >/dev/null 2>&1; then
1010
fi
1111

1212
echo "Creating EKS cluster with eksctl:"
13-
eksctl create cluster --config-file /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-48xlarge/eksctl-config.yaml
13+
eksctl create cluster --config-file ./eksctl-config.yaml
1414

1515
echo "Done creating the EKS cluster!"
1616
echo ""

2025-HPDC/infrastructure/test-c7i-48xlarge/deploy_jupyterhub.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ helm repo add jupyterhub https://hub.jupyter.org/helm-chart/
1414
helm repo update
1515
echo ""
1616
echo "Installing the Helm chart and deploying JupyterHub to EKS:"
17-
helm install hpdc-2025-c7i-48xlarge-jupyter jupyterhub/jupyterhub --version 4.2.0 --values /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-48xlarge/helm-config.yaml
17+
helm install hpdc-2025-c7i-48xlarge-jupyter jupyterhub/jupyterhub --version 4.2.0 --values ./helm-config.yaml
1818

1919
echo ""
2020
echo "Done deploying JupyterHub!"

2025-HPDC/infrastructure/test-c7i-48xlarge/eksctl-config.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ iam:
5959
# Specify the availability zone from which nodes will be obtained
6060
availabilityZones:
6161
- "us-west-1a"
62+
- "us-west-1c"
6263

6364

6465
# Define rules for nodegroups for each availability zone
@@ -85,3 +86,25 @@ managedNodeGroups:
8586
tags:
8687
k8s.io/cluster-autoscaler/enabled: "true"
8788
k8s.io/cluster-autoscaler/jupyterhub: "owned"
89+
90+
- name: node-group-us-west-1c
91+
# Set policies/permissions to autoscale
92+
iam:
93+
withAddonPolicies:
94+
autoScaler: true
95+
# Instance type to allocate
96+
instanceType: c7i.48xlarge
97+
# Size of storage volume for the availability zone, in gigabytes
98+
volumeSize: 30
99+
# Number of nodes to start with in this availability zone
100+
desiredCapacity: 1
101+
# Minimum number of nodes that will always be allocated in this availability zone
102+
minSize: 1
103+
# Maximum number of nodes that will every be allocated in this availability zone
104+
maxSize: 1
105+
privateNetworking: true
106+
availabilityZones:
107+
- us-west-1c
108+
tags:
109+
k8s.io/cluster-autoscaler/enabled: "true"
110+
k8s.io/cluster-autoscaler/jupyterhub: "owned"

2025-HPDC/infrastructure/test-c7i-48xlarge/update_jupyterhub_deployment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ if ! command -v helm >/dev/null 2>&1; then
99
exit 1
1010
fi
1111

12-
helm upgrade hpdc-2025-c7i-48xlarge-jupyter jupyterhub/jupyterhub --values /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-48xlarge/helm-config.yaml
12+
helm upgrade hpdc-2025-c7i-48xlarge-jupyter jupyterhub/jupyterhub --values ./helm-config.yaml
1313

1414
echo "The JupyterHub deployment is updated!"

2025-HPDC/infrastructure/test-c7i-metal-24xl/cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ kubectl delete pod --all-namespaces --all --force
3636

3737
echo ""
3838
echo "Deleting the EKS cluster:"
39-
eksctl delete cluster --config-file /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-metal-24xl/eksctl-config.yaml --wait
39+
eksctl delete cluster --config-file ./eksctl-config.yaml --wait
4040

4141
echo ""
4242
echo "Everything is now cleaned up!"

2025-HPDC/infrastructure/test-c7i-metal-24xl/config.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ cluster_name = "hpdc-2025-c7i-metal-24xl"
33
cluster_deployment_region = "us-west-1"
44
cluster_availability_zones = [
55
"us-west-1a",
6+
"us-west-1c",
67
]
78

89
[[aws.eksctl.cluster_node_groups]]
@@ -13,6 +14,14 @@ desired_size = 1
1314
min_size = 1
1415
max_size = 1
1516

17+
[[aws.eksctl.cluster_node_groups]]
18+
zone = "us-west-1c"
19+
instance_type = "c7i.metal-24xl"
20+
volume_size = 30
21+
desired_size = 1
22+
min_size = 1
23+
max_size = 1
24+
1625
[aws."Kubernetes autoscaler"]
1726
cpu_max = "100m"
1827
memory_max = "600Mi"

2025-HPDC/infrastructure/test-c7i-metal-24xl/configure_kubernetes.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ fi
1111

1212
echo "Configuring the Cluster Autoscaler:"
1313
kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=master"
14-
kubectl apply -f /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-metal-24xl/cluster-autoscaler.yaml
14+
kubectl apply -f ./cluster-autoscaler.yaml
1515
echo ""
1616
echo "Configuring the Storage Class:"
17-
kubectl apply -f /Users/lumsden1/projects/pave/hpdc-tutorial/hpdc-tutorial-docker-test/2025-HPDC/infrastructure/test-c7i-metal-24xl/storage-class.yaml
17+
kubectl apply -f ./storage-class.yaml
1818

1919
echo ""
2020
echo "Patching the cluster to make the configured storage class the default:"

0 commit comments

Comments
 (0)