-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from Tauffer-Consulting/quickstart
quickstart
- Loading branch information
Showing
28 changed files
with
683 additions
and
66 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
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
Binary file not shown.
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,8 @@ | ||
{ | ||
"label": "Get Started", | ||
"position": 2, | ||
"link": { | ||
"type": "generated-index", | ||
"description": "Quickstart to domino platform." | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
docs/quickstart/advanced_concepts/computational_resources.mdx
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,26 @@ | ||
--- | ||
sidebar_position: 4 | ||
description: "Computational Resources" | ||
keywords: ["domino", "workflow", "airflow", "data", "machine learning", "ml", "data science", "data engineering", "dataops", "mlops", "devops", "kubernetes", "k8s", "helm", "python", "react", "typescript", "fastapi", "gitops", "docker", "github", "artifacthub", "pypi", "pip", "kind", "open source", "oss", "low code", "no code", "automation", | ||
"versio control", "collaboration", "monitoring", "orchestration", "data pipeline", "computational", "resources"] | ||
--- | ||
|
||
|
||
# Computational Resources | ||
|
||
When creating a workflow each Piece can be considered a task that needs to be executed. As some tasks require more computational resources than others, Domino allows you to specify the resources needed for executing each one. For example, a Piece that trains a model can be executed on a GPU, while a Piece that performs a simple data cleaning can be executed on a CPU. | ||
Editing the computational resources of a Piece is done by double clicking on the Piece, going to Advanced Options and selecting the desired options. | ||
|
||
The available options are: | ||
|
||
- **CPU**: The number of CPUs, in milicores(m), to allocate to the Piece. | ||
- **Memory**: The amount of memory, in mebibyte(Mi) to allocate to the Piece. | ||
- **GPU**: Define if should give access to a GPU to the Piece. To use a GPU, your cluster, if running in Kubernetes mode, or your machine, if running in compose mode, must have a GPU available. Also the piece must be built with a docker image that has the necessary drivers to use the GPU, you can find a base image with the necessary drivers [here](https://github.com/Tauffer-Consulting/domino/pkgs/container/domino-base-piece/147257355?tag=gpu) | ||
|
||
:::info | ||
**CPU** and **Memory** are considered by Domino only when running in Kubernetes. | ||
::: | ||
|
||
<p style={{display: 'flex', justifyContent: 'center'}}> | ||
<img src='/img/advanced_workflows/computational_resources.png' alt='Computational Resources'/> | ||
</p> |
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,24 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Authorizing Domino to access Github repositories | ||
|
||
This session will guide you through the steps necessary to authorize Domino to access Pieces repositories on Github. | ||
|
||
## Create a Github token | ||
Domino uses a platform level Github token to access repositories. If no token is provided, Domino will still be able to run, but some features will not be available. For the platform level token, we recommend you to create a Github token with read access to public repositories. | ||
|
||
Besides the platform level token, Domino also provides a way to use a different token for each Workspace, so you can control which repositories each Workspace can access. | ||
|
||
To create a Github token, follow the steps below or check the [Github documentation](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token). | ||
|
||
1. You can generate either a [classic](https://github.com/settings/tokens/new) or [fine-grained](https://github.com/settings/personal-access-tokens/new) **Personal access tokens**. | ||
2. Enter a name, an expiration date and a description for your token. | ||
3. Select the **Scope** of your token. For most cases a least priviledged token that is only allowed to read from public repositories will be good enough. | ||
4. [Optional for private repositories] Under **Resource owner**, select the organization or user that owns the repositories you want to access. | ||
5. Click **Generate token**. | ||
6. Copy the token and **save it** in a safe place. You will need it to run Domino with all features. | ||
|
||
|
||
|
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,11 @@ | ||
--- | ||
sidebar_position: 2 | ||
description: "Advanced Workflows concepts and examples" | ||
keywords: ["domino", "workflow", "airflow", "data", "machine learning", "ml", "data science", "data engineering", "dataops", "mlops", "devops", "kubernetes", "k8s", "helm", "python", "react", "typescript", "fastapi", "gitops", "docker", "github", "artifacthub", "pypi", "pip", "kind", "open source", "oss", "low code", "no code", "automation", | ||
"versio control", "collaboration", "monitoring", "orchestration", "data pipeline"] | ||
--- | ||
|
||
# Advanced Concepts | ||
|
||
When creating advanced workflows you may face some challenges that are not covered in the [Quickstart](/docs/quickstart) section. This section will cover some of those challenges and how to solve them. If you are new to Domino, we recommend you start with [Quickstart](/docs/quickstart). | ||
This section contains technical details about how Domino works behind the scenes. |
Oops, something went wrong.