Skip to content

Commit

Permalink
add info on deleting gcp
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Mar 31, 2024
1 parent 74ad7dd commit 823aa77
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
11 changes: 11 additions & 0 deletions docs/posts/set-up-jh-gcp.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#connect-to-the-jupyterhub" id="toc-connect-to-the-jupyterhub" class="nav-link" data-scroll-target="#connect-to-the-jupyterhub">Connect to the JupyterHub</a></li>
<li><a href="#set-up-https" id="toc-set-up-https" class="nav-link" data-scroll-target="#set-up-https">Set-up https</a></li>
<li><a href="#set-up-authentication" id="toc-set-up-authentication" class="nav-link" data-scroll-target="#set-up-authentication">Set up authentication</a></li>
<li><a href="#deleting-the-kubernetes-cluster" id="toc-deleting-the-kubernetes-cluster" class="nav-link" data-scroll-target="#deleting-the-kubernetes-cluster">Deleting the Kubernetes cluster</a></li>
<li><a href="#post-installation-checklist" id="toc-post-installation-checklist" class="nav-link" data-scroll-target="#post-installation-checklist">Post-installation checklist</a></li>
</ul>
<div class="toc-actions"><ul class="collapse"><li><a href="https://github.com/nmfs-opensci/nmfs-jhub/edit/main/posts/set-up-jh-gcp.Rmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/nmfs-opensci/nmfs-jhub/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li><li><a href="https://github.com/nmfs-opensci/nmfs-jhub/blob/main/posts/set-up-jh-gcp.Rmd" class="toc-action"><i class="bi empty"></i>View source</a></li></ul></div></nav>
Expand Down Expand Up @@ -330,6 +331,16 @@ <h3 class="anchored" data-anchor-id="test-if-https-is-working">Test if https is
<h2 class="anchored" data-anchor-id="set-up-authentication">Set up authentication</h2>
<p>See the post on <a href="set-up-authentication.html">setting up authentication</a> for instructions.</p>
</section>
<section id="deleting-the-kubernetes-cluster" class="level2">
<h2 class="anchored" data-anchor-id="deleting-the-kubernetes-cluster">Deleting the Kubernetes cluster</h2>
<ul>
<li>Go to dashboard. Make sure you are in the project with the Kubernetes cluster.</li>
<li>Click on the Kubernetes API button and then click on the cluster with your JHub</li>
<li>At that point, you will see the delete button at the top. Click that.</li>
<li>Wait awhile and make sure all the associated VMs and storage are deleted.</li>
<li>Go back onto billing in a few days and make sure it is not charging you. If it is, something associated with the JHub didn’t get deleted.</li>
</ul>
</section>
<section id="post-installation-checklist" class="level2">
<h2 class="anchored" data-anchor-id="post-installation-checklist">Post-installation checklist</h2>
<ul>
Expand Down
7 changes: 7 additions & 0 deletions docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,13 @@
"section": "Set up authentication",
"text": "Set up authentication\nSee the post on setting up authentication for instructions."
},
{
"objectID": "posts/set-up-jh-gcp.html#deleting-the-kubernetes-cluster",
"href": "posts/set-up-jh-gcp.html#deleting-the-kubernetes-cluster",
"title": "Set up JupyterHub on GCP",
"section": "Deleting the Kubernetes cluster",
"text": "Deleting the Kubernetes cluster\n\nGo to dashboard. Make sure you are in the project with the Kubernetes cluster.\nClick on the Kubernetes API button and then click on the cluster with your JHub\nAt that point, you will see the delete button at the top. Click that.\nWait awhile and make sure all the associated VMs and storage are deleted.\nGo back onto billing in a few days and make sure it is not charging you. If it is, something associated with the JHub didn’t get deleted."
},
{
"objectID": "posts/set-up-jh-gcp.html#post-installation-checklist",
"href": "posts/set-up-jh-gcp.html#post-installation-checklist",
Expand Down
2 changes: 1 addition & 1 deletion docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
</url>
<url>
<loc>https://nmfs-opensci.github.io/nmfs-jhub/posts/set-up-jh-gcp.html</loc>
<lastmod>2024-03-31T16:01:45.086Z</lastmod>
<lastmod>2024-03-31T16:10:36.737Z</lastmod>
</url>
</urlset>
8 changes: 8 additions & 0 deletions posts/set-up-jh-gcp.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ Try `https:\\dhub.bluemountain123.live` and you should see the JupyterHub login

See the post on [setting up authentication](set-up-authentication.html) for instructions.

## Deleting the Kubernetes cluster

* Go to dashboard. Make sure you are in the project with the Kubernetes cluster.
* Click on the Kubernetes API button and then click on the cluster with your JHub
* At that point, you will see the delete button at the top. Click that.
* Wait awhile and make sure all the associated VMs and storage are deleted.
* Go back onto billing in a few days and make sure it is not charging you. If it is, something associated with the JHub didn't get deleted.

## Post-installation checklist

* Verify that created Pods enter a Running state: `kubectl --namespace=jhubk8 get pod`
Expand Down

0 comments on commit 823aa77

Please sign in to comment.