-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding tips section and updating viz (#704)
- Loading branch information
Showing
8 changed files
with
80 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
:root { | ||
--pst-font-size-base: none; | ||
--pst-color-primary: 78, 78, 78; | ||
--pst-color-secondary: 87, 154, 202; | ||
--pst-color-info: var(--pst-color-secondary); | ||
--pst-color-navbar-link-active: var(--pst-color-secondary); | ||
--pst-color-sidebar-link-active: var(--pst-color-secondary); | ||
--pst-color-link: var(--pst-color-secondary); | ||
} | ||
|
||
div.logo { | ||
font-family: "Fira Sans"; | ||
text-align: center; | ||
margin-top: 2em; | ||
} | ||
|
||
div.logo p { | ||
margin: 0; | ||
} | ||
|
||
p.logo-main { | ||
font-size: 4.5em; | ||
font-weight: 700; | ||
line-height: 1.1em; | ||
color: rgb(var(--pst-color-primary)); | ||
} | ||
|
||
p.logo-subtext { | ||
color: rgb(var(--pst-color-secondary)); | ||
font-size:1.4em; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="logo"> | ||
<a href="{{ pathto(master_doc) }}"> | ||
<p class="logo-main">2i2c</p> | ||
<p class="logo-subtext">Hub Engineer's Guide</p> | ||
</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Troubleshooting and debugging | ||
|
||
These sections describe a few common and useful tips for troubleshooting our infrastructure. | ||
|
||
## Roll back (revert) a helm deploy | ||
|
||
Sometimes it is useful to simply **revert** a Kubernetes deployment with Helm. | ||
For example, if you've manually deployed something via `helm upgrade`, and notice that something is wrong with our deployment. | ||
|
||
:::{note} | ||
Ideally, this would have happened automatically via CI/CD, but sometimes a manual deploy is still necessary! | ||
::: | ||
|
||
If you'd simply like to revert back to the state of the Kubernetes infrastructure from before you ran `helm install`, try the following commands: | ||
|
||
- **Get the deployment name and revision number for the latest deploy**. To do so, run this command: | ||
```bash | ||
helm list --namespace {{NAMESPACE}} | ||
``` | ||
- Roll back the deployment to the previous revision, using the information output from the above command: | ||
|
||
```bash | ||
helm rollback --namespace {{NAMESPACE}} {{DEPLOYMENT_NAME}} {{REV_NUM - 1}} | ||
``` | ||
|
||
The {{REV_NUM - 1}} simply means "deploy the previous revision number". | ||
Usually, `NAMESPACE` and `DEPLOYMENT_NAME` are identical, but always best to double check. | ||
|
||
This should revert the Helm deployment to the previous revision (the one just before you ran `helm upgrade`). |