From 8f4fd85c4df0e8e5d2a2ce15627950c35fbad3c1 Mon Sep 17 00:00:00 2001 From: Casey Dinsmore Date: Tue, 11 Apr 2023 11:41:14 -0700 Subject: [PATCH 1/2] Initial README and working directory commit --- caseyd.md | 21 +++++++++++++++++++++ caseyd/README.md | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 caseyd.md create mode 100644 caseyd/README.md diff --git a/caseyd.md b/caseyd.md new file mode 100644 index 0000000..c2c8bcd --- /dev/null +++ b/caseyd.md @@ -0,0 +1,21 @@ +# Casey Dinsmore +Oregon State University / Ocean Observatories Initiative + +casey.dinsmore@oregonstate.edu + + +## File sets +Working files live in caseyd/ + +## Project Goals + +* Terraform templates to programmatically deploy a scalable Kubernetes Cluster across AWS and Azure + * Auto-scale up & down + * SSL Encryption + * OAuth Authentication +* Terraform templates to deploy Jupyterhub into a K8s cluster + + +## Stretch Goals +* Variable templates to order multiple JupyterHubs in parallel +* Monitoring dashboard for Jupyterhub pods diff --git a/caseyd/README.md b/caseyd/README.md new file mode 100644 index 0000000..35b421b --- /dev/null +++ b/caseyd/README.md @@ -0,0 +1,34 @@ +# Casey Dinsmore + +Working directory for Casey Dinsmore + + +# Jupyterhub Common Commands + +## Helm + +### Install / Reconfigure + + helm upgrade --cleanup-on-fail \ + --install jhub jupyterhub/jupyterhub \ + --namespace jhub \ + --create-namespace \ + --version=2.0.0 \ + --values config.yaml + +## Kubectl + +## Get Proxy Address + +kubectl -n jhub get service proxy-public + +### Show all pod states + kubectl get pods -A + +### View details about a pod including deployment errors + + kubectl -n jhub describe pod + +### Get the logs for a pod + + kubectl -n jhub get logs From 72a9bcc1edc8dd4788e52a262c22db95f7c89c15 Mon Sep 17 00:00:00 2001 From: Casey Dinsmore Date: Tue, 11 Apr 2023 11:45:14 -0700 Subject: [PATCH 2/2] Adjusted heading --- caseyd/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caseyd/README.md b/caseyd/README.md index 35b421b..29e0959 100644 --- a/caseyd/README.md +++ b/caseyd/README.md @@ -18,7 +18,7 @@ Working directory for Casey Dinsmore ## Kubectl -## Get Proxy Address +### Get Proxy Address kubectl -n jhub get service proxy-public