From 5f0bdc5928a96a68b92bf143949f126ac682495a Mon Sep 17 00:00:00 2001 From: Eli Holmes Date: Tue, 27 Aug 2024 14:57:38 -0400 Subject: [PATCH] add nmfs-openscapes config --- config/dhub/README.md | 2 +- config/nmfs-openscapes/profile.yml | 63 ++++++++++++++++++++++++++++++ posts/tips.Rmd | 2 +- 3 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 config/nmfs-openscapes/profile.yml diff --git a/config/dhub/README.md b/config/dhub/README.md index ba98dea..002f0c9 100644 --- a/config/dhub/README.md +++ b/config/dhub/README.md @@ -1,4 +1,4 @@ -To restart hub after changing `dconfig2.yaml` +To restart hub after changing `dconfig-resource.yaml` ``` helm upgrade --cleanup-on-fail --render-subchart-notes dhub dask/daskhub --namespace dhub --version=2023.1.0 --values dconfig-resource.yaml ``` diff --git a/config/nmfs-openscapes/profile.yml b/config/nmfs-openscapes/profile.yml new file mode 100644 index 0000000..3d838f6 --- /dev/null +++ b/config/nmfs-openscapes/profile.yml @@ -0,0 +1,63 @@ + image: + name: ghcr.io/nmfs-opensci/container-images/py-rocket-geospatial:latest + tag: 6ee57a9 + pullPolicy: Always + profileList: + - display_name: "Select image and RAM" + description: &profile_list_description "Start a container with at least a chosen share of capacity on a node of this type" + default: true + slug: small + profile_options: + image: &profile_options_image + display_name: Image + choices: + python: + display_name: Py - Openscapes Python 39dffde + slug: python + kubespawner_override: + image: openscapes/python:39dffde + pyrbase: + display_name: Py-R - base image 4.4-3.10 + slug: pyrbase + kubespawner_override: + image: ghcr.io/nmfs-opensci/container-images/py-rocket-base:latest + pyrgeo: + display_name: Py-R - Base geospatial image - py-rocket-geospatial latest + slug: pyrgeo + default: true + kubespawner_override: + image: ghcr.io/nmfs-opensci/container-images/py-rocket-geospatial:latest + coastwatch: + display_name: Py-R - CoastWatch - nmfs-opensci coastwatch latest + slug: coastwatch + kubespawner_override: + image: ghcr.io/nmfs-opensci/container-images/coastwatch:latest + aomlomics: + display_name: Py - Tourmaline Snakemake workflow for QIIME 2 v.2023.5 + slug: aomlomics + kubespawner_override: + image: ghcr.io/nmfs-opensci/container-images/aomlomics-jh:latest + iorocker: + display_name: R - R geospatial w sdmTMB - r-geospatial-sdm latest + slug: rgeospatialsdm + kubespawner_override: + image: ghcr.io/nmfs-opensci/container-images/r-geospatial-sdm:latest + echopype: + display_name: Py - Echopype with pangeo nmfs-opensci echopype latest + slug: echopype + kubespawner_override: + image: ghcr.io/nmfs-opensci/container-images/echopype:latest + arcgis: + display_name: Py - ArcGIS Python 3.9 + slug: arcgis + kubespawner_override: + image: ghcr.io/nmfs-opensci/container-images/arcgis:latest + cboettig: + display_name: Py-R - NASA TOPS - boettiger-lab nasa-tops latest + slug: cboettig + kubespawner_override: + image: ghcr.io/boettiger-lab/nasa-tops:latest + vast: + display_name: R - VAST with TMB - nmfs-opensci vast latest + kubespawner_override: + image: ghcr.io/nmfs-opensci/container-images/vast:latest diff --git a/posts/tips.Rmd b/posts/tips.Rmd index 3aab579..c722ae3 100644 --- a/posts/tips.Rmd +++ b/posts/tips.Rmd @@ -53,7 +53,7 @@ https://nmfs-opensci.github.io/nmfs-jhub/posts/JHub-User-Guide.html#using-your-o * If a pod is stuck with a Pending or ContainerCreating status, diagnose with: `kubectl --namespace=jhubk8 describe pod ` * If a pod keeps restarting, diagnose with: `kubectl --namespace=jhubk8 logs --previous ` * Delete a pod `kubectl --namespace=jhubk8 delete pod ` -* If it says a containter is the problem `kubectl --namespace=dhub logs --previous hub-5f5d96968d-z59bx -c git-clone-templates` +* If it says a container is the problem `kubectl --namespace=dhub logs --previous hub-5f5d96968d-z59bx -c git-clone-templates` * Verify an external IP is provided for the k8s Service proxy-public. `kubectl --namespace=jhubk8 get service proxy-public` * If the external ip remains Pending, diagnose with: `kubectl --namespace=jhubk8 describe service proxy-public` * Get info on persistent volumes. Sometimes hang if there is a disconnect between node region/zone and pv region/zone