-
Notifications
You must be signed in to change notification settings - Fork 62
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 #1193 from run-ai/data-sources-219
Merge pull request #1192 from run-ai/data-sources
- Loading branch information
Showing
17 changed files
with
284 additions
and
152 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Creating Kubernetes Assets in Advance | ||
|
||
The article describe how to mark Kubernetes assets for use by Run:ai | ||
|
||
## Creating PVCs in advance | ||
|
||
Add PVCs in advance to be used when creating a PVC-type data source via the Run:ai UI. | ||
|
||
Follow the steps below for each required scope: | ||
|
||
|
||
### Cluster scope | ||
|
||
1. Create the PVC in the Run:ai namespace (runai) | ||
2. To authorize Run:ai to use the PVC, label it: `run.ai/cluster-wide: "true”` | ||
The PVC is now displayed for that scope in the list of existing PVCs. | ||
|
||
### Department scope | ||
|
||
1. Create the PVC in the Run:ai namespace (runai) | ||
2. To authorize Run:ai to use the PVC, label it: `run.ai/department: "\\<name of department>"` | ||
The PVC is now displayed for that scope in the list of existing PVCs. | ||
|
||
### Project scope | ||
|
||
1. Create the PVC in the project’s namespace | ||
The PVC is now displayed for that scope in the list of existing PVCs. | ||
|
||
## Creating ConfigMaps in advance | ||
|
||
Add ConfigMaps in advance to be used when creating a ConfigMap-type data source via the Run:ai UI. | ||
|
||
### Cluster scope | ||
|
||
1. Create the ConfigMap in the Run:ai namespace (runai) | ||
2. To authorize Run:ai to use the ConfigMap, label it: run.ai/cluster-wide: "true” | ||
The ConfigMap is now displayed for that scope in the list of existing ConfigMaps. | ||
|
||
### Department scope | ||
|
||
1. Create the ConfigMap in the Run:ai namespace (runai) | ||
2. To authorize Run:ai to use the ConfigMap, label it: `run.ai/department: "\\<name of department>"` | ||
The ConfigMap is now displayed for that scope in the list of existing ConfigMaps. | ||
|
||
### Project scope | ||
|
||
1. Create the ConfigMap in the project’s namespace | ||
The ConfigMap is now displayed for that scope in the list of existing ConfigMaps. |
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
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
Oops, something went wrong.