Skip to content

Commit

Permalink
Merge pull request #6412 from berkeley-dsep-infra/staging
Browse files Browse the repository at this point in the history
merging 6405/6406/6407/6408/6409/6411 to prod
  • Loading branch information
shaneknapp authored Oct 24, 2024
2 parents 52e998e + 157a5df commit 774b601
Show file tree
Hide file tree
Showing 40 changed files with 194 additions and 313 deletions.
54 changes: 24 additions & 30 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ website:
- icon: github
href: https://github.com/berkeley-dsep-infra/datahub
left:
- text: "Using DataHub"
href: users/features.qmd
- text: "Contributing"
href: admins/pre-reqs.qmd
- text: "Admin Tasks"
href: admins/howto/documentation.qmd
href: tasks/documentation.qmd
- text: "Policy"
href: policy/create_policy.qmd
page-navigation: true
Expand All @@ -28,40 +26,36 @@ website:
contents:
- href: index.qmd
text: Home
- section: "Using DataHub"
contents:
- users/features.qmd
- users/private-repo.qmd
- users/hubs.qmd
- users/authentication.qmd
- href: hubs.qmd
text: JupyterHub Deployments
- section: "Contributing to DataHub"
contents:
- admins/pre-reqs.qmd
- admins/structure.qmd
- admins/storage.qmd
- admins/cluster-config.qmd
- admins/credentials.qmd
- section: "Common Administrator Tasks"
contents:
- admins/howto/documentation.qmd
- admins/howto/dns.qmd
- admins/howto/core-pool.qmd
- admins/howto/new-hub.qmd
- admins/howto/rebuild-hub-image.qmd
- admins/howto/rebuild-postgres-image.qmd
- admins/howto/managing-multiple-user-image-repos.qmd
- admins/howto/new-image.qmd
- admins/howto/transition-image.qmd
- admins/howto/new-packages.qmd
- admins/howto/course-config.qmd
- admins/howto/calendar-scaler.qmd
- admins/howto/prometheus-grafana.qmd
- admins/howto/remove-users-orm.qmd
- admins/howto/delete-hub.qmd
- admins/howto/clusterswitch.qmd
- admins/howto/github-token.qmd
- admins/howto/google-sheets.qmd
- admins/howto/cheatsheet.qmd
- section: "Common Administrator Tasks"
contents:
- tasks/documentation.qmd
- tasks/dns.qmd
- tasks/core-pool.qmd
- tasks/new-hub.qmd
- tasks/rebuild-hub-image.qmd
- tasks/rebuild-postgres-image.qmd
- tasks/managing-multiple-user-image-repos.qmd
- tasks/new-image.qmd
- tasks/transition-image.qmd
- tasks/new-packages.qmd
- tasks/course-config.qmd
- tasks/calendar-scaler.qmd
- tasks/prometheus-grafana.qmd
- tasks/remove-users-orm.qmd
- tasks/delete-hub.qmd
- tasks/clusterswitch.qmd
- tasks/github-token.qmd
- tasks/google-sheets.qmd
- tasks/cheatsheet.qmd
- section: "Policy"
contents:
- policy/create_policy.qmd
Expand Down
31 changes: 0 additions & 31 deletions docs/admins/howto/remove-users-orm.qmd

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Calendar Node Pool Autoscaler
aliases:
- ../admins/howto/calendar-scaler.html
---

## Why scale node pools with Google Calendar?
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Operations Cheatsheet
aliases:
- ../admins/howto/cheatsheet.html
---

We periodically need to perform various tasks that can be quickly described by short shell fragments. This page is meant to be a dumping ground for them. It may be useful on occasion to move such fragments into more relevant pages.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
title: Switching over a hub to a new cluster
aliases:
- ../admins/howto/clusterswitch.html
---

This document describes how to switch an existing hub to a new cluster. The example used here refers to moving all UC Berkeley Datahubs.

You might find it easier to switch to a new cluster if you're running a [very old k8s version](https://cloud.google.com/kubernetes-engine/docs/release-notes), or in lieu of performing a [cluster credential rotation](https://cloud.google.com/kubernetes-engine/docs/how-to/credential-rotation). Sometimes starting from scratch is easier than an iterative and potentially destructive series of operations.

## Create a new cluster
1. Create a new cluster using the specified [configuration](../cluster-config.qmd).
1. Create a new cluster using the specified [configuration](../admins/cluster-config.qmd).
2. Set up helm on the cluster according to the instructions here:
http://z2jh.jupyter.org/en/latest/setup-helm.html
- Make sure the version of helm you're working with matches the version Github Actions is using.
Expand Down
2 changes: 2 additions & 0 deletions docs/admins/howto/core-pool.qmd → docs/tasks/core-pool.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Core Node Pool Management
aliases:
- ../admins/howto/core-pool.html
---

## What is the core node pool?
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Course Configuration
aliases:
- ../admins/howto/course-config.html
---

## Allocating Resources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Delete or spin down a Hub
aliases:
- ../admins/howto/delete-hub.html
---

## Why delete or spin down a hub?
Expand Down
2 changes: 2 additions & 0 deletions docs/admins/howto/dns.qmd → docs/tasks/dns.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Update DNS
aliases:
- ../admins/howto/dns.html
---

Some staff have access to make and update DNS entries in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Documentation
aliases:
- ../admins/howto/documentation.html
---

## Overview
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Create Finely Grained Access Token
aliases:
- ../admins/howto/github-token.html
---

At <https://github.com/settings/personal-access-tokens/new>:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Reading Google Sheets from DataHub
aliases:
- ../admins/howto/google-sheets.html
---

Available in: DataHub
Expand Down
2 changes: 2 additions & 0 deletions docs/admins/howto/index.qmd → docs/tasks/index.qmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
title: Common Administrator Tasks
aliases:
- ../admins/howto/index.html
---
Loading

0 comments on commit 774b601

Please sign in to comment.