Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 2025-HPCIC/infrastructure/production/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deploy hpcic-2025-tutorial to AWS Elastic Kubernetes Service (EKS)
# Deploy perftools-hpcic-2025-tutorial to AWS Elastic Kubernetes Service (EKS)

These config files and scripts can be used to deploy the hpcic-2025-tutorial tutorial to EKS.
These config files and scripts can be used to deploy the perftools-hpcic-2025-tutorial tutorial to EKS.

The sections below walk you through the steps to deploying your cluster. All commands in these
sections should be run from the same directory as this README.
Expand Down Expand Up @@ -111,4 +111,4 @@ $ ./cleanup.sh
```

After cleaning everything up, you can verify that everything has been cleaned up by going to the AWS web consle
and ensuring nothing from your tutorial still exists in CloudFormation and EKS.
and ensuring nothing from your tutorial still exists in CloudFormation and EKS.
4 changes: 2 additions & 2 deletions 2025-HPCIC/infrastructure/production/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fi
# if the JupyterHub deployment failed or was previously torn down
set +e
echo "Tearing down JupyterHub and uninstalling everything related to Helm:"
helm uninstall hpcic-2025-tutorial-jupyter
helm uninstall perftools-hpcic-2025-tutorial-jupyter
set -e

echo ""
Expand All @@ -39,4 +39,4 @@ echo "Deleting the EKS cluster:"
eksctl delete cluster --config-file ./eksctl-config.yaml --wait

echo ""
echo "Everything is now cleaned up!"
echo "Everything is now cleaned up!"
4 changes: 2 additions & 2 deletions 2025-HPCIC/infrastructure/production/cluster-autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ spec:
- --cloud-provider=aws
- --skip-nodes-with-local-storage=false
- --expander=least-waste
- --node-group-auto-discovery=asg:tag=k8s.io/cluster-autoscaler/enabled,k8s.io/cluster-autoscaler/hpcic-2025-tutorial
- --node-group-auto-discovery=asg:tag=k8s.io/cluster-autoscaler/enabled,k8s.io/cluster-autoscaler/perftools-hpcic-2025-tutorial
volumeMounts:
# Mount the CA SSL/TLS certificates into the container
- name: ssl-certs
Expand All @@ -269,4 +269,4 @@ spec:
volumes:
- name: ssl-certs
hostPath:
path: "/etc/ssl/certs/ca-bundle.crt"
path: "/etc/ssl/certs/ca-bundle.crt"
4 changes: 2 additions & 2 deletions 2025-HPCIC/infrastructure/production/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tutorial_name = "hpcic-2025-tutorial"
tutorial_name = "perftools-hpcic-2025-tutorial"

[aws.eksctl]
cluster_name = "hpcic-2025-tutorial"
cluster_name = "perftools-hpcic-2025-tutorial"
cluster_deployment_region = "us-east-1"
cluster_availability_zones = [
"us-east-1a",
Expand Down
4 changes: 2 additions & 2 deletions 2025-HPCIC/infrastructure/production/deploy_jupyterhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ helm repo add jupyterhub https://hub.jupyter.org/helm-chart/
helm repo update
echo ""
echo "Installing the Helm chart and deploying JupyterHub to EKS:"
helm install hpcic-2025-tutorial-jupyter jupyterhub/jupyterhub --version 4.2.0 --values ./helm-config.yaml
helm install perftools-hpcic-2025-tutorial-jupyter jupyterhub/jupyterhub --version 4.2.0 --values ./helm-config.yaml

echo ""
echo "Done deploying JupyterHub!"
Expand All @@ -37,4 +37,4 @@ echo "Note: users should have unique usernames. If two users have the same usern
echo " share the same pod."
echo ""
echo "After you are done with your tutorial, you should finally run cleanup.sh to bring down"
echo "the EKS cluster and all associated resources."
echo "the EKS cluster and all associated resources."
2 changes: 1 addition & 1 deletion 2025-HPCIC/infrastructure/production/eksctl-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
# Define the name of the cluster and the deployment region
metadata:
name: hpcic-2025-tutorial
name: perftools-hpcic-2025-tutorial
region: us-east-1

# Create the IAM policies needed to enable the autoscaler and storage
Expand Down
1 change: 1 addition & 0 deletions 2025-HPCIC/infrastructure/production/helm-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,4 @@ singleuser:
extraVolumeMounts:
- name: shm-volume
mountPath: /dev/shm

4 changes: 2 additions & 2 deletions 2025-HPCIC/infrastructure/production/tear_down_jupyterhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ if ! command -v helm >/dev/null 2>&1; then
exit 1
fi

helm uninstall hpcic-2025-tutorial-jupyter
helm uninstall perftools-hpcic-2025-tutorial-jupyter

echo "Helm's JupyterHub deployment is torn down."
echo "If any attendee pods are remaining, you can delete them with 'kubectl delete pod <pod_name>'"
echo ""
echo "To recreate the JupyterHub deployment, just run deploy_jupyterhub.sh again."
echo "To recreate the JupyterHub deployment, just run deploy_jupyterhub.sh again."
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ if ! command -v helm >/dev/null 2>&1; then
exit 1
fi

helm upgrade hpcic-2025-tutorial-jupyter jupyterhub/jupyterhub --values ./helm-config.yaml
helm upgrade perftools-hpcic-2025-tutorial-jupyter jupyterhub/jupyterhub --values ./helm-config.yaml

echo "The JupyterHub deployment is updated!"
echo "The JupyterHub deployment is updated!"