-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PD-1583 / 25.04 / Pd 1583 address ix apps and ix applications datasets (
#3271) * Update _index.md * Update _index.md * Create AppsDatasets.md * Delete AppsFileSharing.md * Update AppsInstallWizardSettings.md * Update AppsPoolOrDataset.md * Update AppsDatasets.md * Update _index.md * Update _index.md * Update AppsDatasets.md * Update AppsInstallWizardSettings.md * Update AppsPoolOrDataset.md * Update AppsDatasets.md * Update AppsDatasets.md * Update _index.md * Update _index.md * Create AppsBestPractices.md * Update AppsDatasets.md * Update AppsInstallWizardSettings.md * Update AppsPoolOrDataset.md * remove legacy ix-applications mentions * Rename pool snippet * Update static/includes/apps/AppsDatasets.md Co-authored-by: MicJ <[email protected]> --------- Co-authored-by: MicJ <[email protected]> (cherry picked from commit 72cedcd)
- Loading branch information
Showing
8 changed files
with
111 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||

 | ||
|
||
Note that having the pool configured as an SMB share results in an error when the ix-applications directory is contained within that pool. | ||
To avoid this error, place the SMB shares within the pool as individual datasets alongside the ix-applications folder. | ||
Note that having the pool configured as an SMB share results in an error when the ix-apps directory is contained within that pool. | ||
To avoid this error, place the SMB shares within the pool as individual datasets alongside the ix-apps dataset. |
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,37 @@ | ||

 | ||
|
||
Keep these general best practices in mind when using applications with TrueNAS: | ||
|
||
{{< expand "App Pool Selection" "v" >}} | ||
|
||
{{< include file="/static/includes/apps/AppsPoolOrDataset.md" >}} | ||
|
||
{{< /expand >}} | ||
|
||
{{< expand "App Dataset Types" "v" >}} | ||
|
||
{{< include file="/static/includes/apps/AppsDatasets.md" >}} | ||
|
||
{{< /expand >}} | ||
|
||
{{< expand "Apps General Settings" "v" >}} | ||
|
||
{{< include file="/static/includes/apps/AppsDockerCompose.md" >}} | ||
|
||
{{< /expand >}} | ||
|
||
{{< expand "Custom Apps" "v" >}} | ||
|
||
{{< include file="/static/includes/apps/CustomAppIntro.md" >}} | ||
|
||
{{< include file="/static/includes/apps/AppsCustomApp.md" >}} | ||
|
||
{{< /expand >}} | ||
|
||
{{< expand "App Directory Services" "v" >}} | ||
|
||
{{< include file="/static/includes/apps/AppsDirectoryService.md" >}} | ||
|
||
iXsystems Support can assist Enterprise customers with configuring directory service settings in TrueNAS with the [information customers provide]({{< relref "/SCALE/GettingStarted/Install/_index.md" >}}), but they do not configure customer Active Directory system settings. | ||
|
||
{{< /expand >}} |
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,63 @@ | ||

 | ||
|
||
**ix-apps Dataset** | ||
|
||
TrueNAS 24.10 and newer creates a hidden **ix-apps** dataset, mounted at <file>/mnt/.ix-apps</file>, to store Docker configuration, catalog data, and app metadata. | ||
The ix-apps dataset is internally managed by TrueNAS and hidden to prevent user misconfiguration. | ||
Any modification of it can result in instability and loss of app functionality. | ||
|
||
Do not include the ix-apps dataset inside of an SMB or NFS share. | ||
|
||
Back up and restore functionality as well as migration of the ix-apps dataset from one apps pool to another are not currently supported by the TrueNAS interface. | ||
Support for these features is planned for a future TrueNAS release version. | ||
|
||
{{< hint type="note" title="ix-Applications Dataset" >}} | ||
TrueNAS 24.04 and earlier versions stored applications data in an **ix-applications** dataset on the configured apps pool. | ||
Systems with applications deployed that upgrade from earlier releases to 24.10 retain the ix-applications dataset. | ||
During the migration process, 24.10 reads the stored Kubernetes app data in the ix-applications dataset, ports them to Docker, and saves them in the new ix-apps dataset. | ||
App storage ixVolumes present in ix-applications are cloned under the ix-apps dataset and promoted. | ||
|
||
The app data retained in ix-applications enables TrueNAS to revert to 24.04 with functional applications. | ||
TrueNAS 24.10 or newer does not use app data in the ix-applications dataset. | ||
It can be safely removed after fully migrating to 24.10, but apps do not function if reverted to 24.04 without the ix-applications dataset. | ||
{{< /hint >}} | ||
|
||
**ixVolume Datasets** | ||
|
||
**ixVolume** datasets allow TrueNAS to automatically create an app storage path inside the hidden ix-apps dataset. | ||
|
||
ixVolumes are typically created with appropriate permissions to deploy the application. | ||
If needed, use **Enable ACL** in **Storage Configuration** to configure ACL entries for an ixVolume. | ||
|
||
ixVolumes are not recommended for permanent storage volumes, they are intended for use as rapid storage for a test deployment of the container. | ||
Though they can simplify test deployment, ixVolumes complicate tasks like app data backup. | ||
We recommend manually adding datasets and configuring container storage volumes with the host path option. | ||
|
||
**Host Path Datasets** | ||
|
||
**Host Paths** allow users to mount existing TrueNAS datasets to paths within the app container. | ||
Create the TrueNAS dataset(s) before assigning them as host paths within the app installation screen. | ||
|
||
Mounting a host path does not automatically configure appropriate permissions to deploy the application. | ||
Use **Enable ACL** in **Storage Configuration** to configure ACL entries for each host path. | ||
|
||
{{< expand "Configuring Host Path ACL Entries" "v" >}} | ||
After entering the path inside the container in **Mount Path**, select **Enable ACL**. | ||
Browse to or enter the path to the dataset in **Host Path**. | ||
Click **Add** next to **ACL Entries** to display a set of ACE fields. | ||
Use **ID Type** to select whether the ACE is for a user or a group. | ||
Enter the UID or GID in **ID** and adjust the permissions level in **Access**. | ||
|
||
Refer to the app **Run As Context** on the app details screen for default ID requirements. | ||
A user or group ID does not need to exist locally on TrueNAS or match the name configured in the container to grant an ACE. | ||
Failing to configure host path ACLs prevents the app from deploying! | ||
|
||
Select **Force Flag** in **ACL Options**. | ||
This allows TrueNAS to write ACL entries to the storage volume if it has existing data in it. | ||
**Force Flag** is required to edit or update an existing application. | ||
{{< /expand >}} | ||
|
||
**SMB Share Volumes** | ||
|
||
Some app storage configurations include the **SMB/CIFS Share** option. | ||
Use this option to mount an existing SMB share using a Docker [volume](https://docs.docker.com/engine/storage/#volumes). |
This file was deleted.
Oops, something went wrong.
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 @@ | ||

 | ||
|
||
We recommend users keep the container use case in mind when choosing an applications pool. | ||
Select a pool with enough space for all the application containers you intend to use. | ||
|
||
For stability, we recommend using SSD storage for the apps pool. |
This file was deleted.
Oops, something went wrong.