Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8e2bb09a
Commit
8e2bb09a
authored
Jun 06, 2019
by
Daniel Gruesso
Committed by
Evan Read
Jun 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Jupyter git extension section
parent
dd0d9b27
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
4 deletions
+33
-4
doc/user/clusters/applications.md
doc/user/clusters/applications.md
+29
-2
doc/user/clusters/img/jupyter-git-extension.gif
doc/user/clusters/img/jupyter-git-extension.gif
+0
-0
doc/user/clusters/img/jupyter-gitclone.png
doc/user/clusters/img/jupyter-gitclone.png
+0
-0
doc/user/project/clusters/runbooks/index.md
doc/user/project/clusters/runbooks/index.md
+4
-2
No files found.
doc/user/clusters/applications.md
View file @
8e2bb09a
...
...
@@ -140,8 +140,8 @@ that installs additional useful packages on top of the base Jupyter. You
will also see ready-to-use DevOps Runbooks built with Nurtch's
[
Rubix library
](
https://github.com/amit1rrr/rubix
)
.
More information on
creating executable runbooks can be found in
[
our
Nurtch
documentation
](
../project/clusters/runbooks/index.md#
nurtch-
executable-runbooks
)
. Note that
creating executable runbooks can be found in
[
our
Runbooks
documentation
](
../project/clusters/runbooks/index.md#executable-runbooks
)
. Note that
Ingress must be installed and have an IP address assigned before
JupyterHub can be installed.
...
...
@@ -152,6 +152,33 @@ chart is used to install this application with a
[
`values.yaml`
](
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/vendor/jupyter/values.yaml
)
file.
#### Jupyter Git Integration
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28783) in GitLab 12 for project-level clusters.
When installing JupyterHub onto your Kubernetes cluster,
[
JupyterLab's Git extension
](
https://github.com/jupyterlab/jupyterlab-git
)
is automatically provisioned and configured using the authenticated user's:
-
Name
-
Email
-
Newly created access token
JupyterLab's Git extension enables full version control of your notebooks as well as issuance of Git commands within Jupyter.
Git commands can be issued via the
**Git**
tab on the left panel or via Jupyter's command line prompt.
NOTE:
**Note:**
JupyterLab's Git extension stores the user token in the JupyterHub DB in encrypted format
and in the single user Jupyter instance as plain text. This is because
[
Git requires storing
credentials as plain text
](
https://git-scm.com/docs/git-credential-store
)
. Potentially, if
a nefarious user finds a way to read from the file system in the single user Jupyter instance
they could retrieve the token.
![
Jupyter's Git Extension
](
img/jupyter-git-extension.gif
)
You can clone repositories from the files tab in Jupyter:
![
Jupyter clone repository
](
img/jupyter-gitclone.png
)
### Knative
> Available for project-level clusters since GitLab 11.5.
...
...
doc/user/clusters/img/jupyter-git-extension.gif
0 → 100644
View file @
8e2bb09a
2.02 MB
doc/user/clusters/img/jupyter-gitclone.png
0 → 100644
View file @
8e2bb09a
62.6 KB
doc/user/project/clusters/runbooks/index.md
View file @
8e2bb09a
...
...
@@ -17,13 +17,15 @@ Modern implementations have introduced the concept of an "executable
runbooks", where, along with a well-defined process, operators can execute
pre-written code blocks or database queries against a given environment.
##
Nurtch
Executable Runbooks
## Executable Runbooks
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/45912) in GitLab 11.4.
The JupyterHub app offered via GitLab’s Kubernetes integration now ships
with Nurtch’s Rubix library, providing a simple way to create DevOps
runbooks. A sample runbook is provided, showcasing common operations.
runbooks. A sample runbook is provided, showcasing common operations. While Rubix makes it
simple to create common Kubernetes and AWS workflows, you can also create them manually without
Rubix.
**
<i
class=
"fa fa-youtube-play youtube"
aria-hidden=
"true"
></i>
Watch this
[
video
](
https://www.youtube.com/watch?v=Q_OqHIIUPjE
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment