Skip to content

Commit

Permalink
Deploy preview for PR 100 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-cohere committed Jan 21, 2025
1 parent 08b98e8 commit c0624d6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
33 changes: 32 additions & 1 deletion pr-preview/pr-100/admin/deployment.html
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,15 @@
</ul>
</nav>

</li>

<li class="md-nav__item">
<a href="#maintaining-the-dts-data-directory" class="md-nav__link">
<span class="md-ellipsis">
Maintaining the DTS Data Directory
</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -1044,6 +1053,15 @@
</ul>
</nav>

</li>

<li class="md-nav__item">
<a href="#maintaining-the-dts-data-directory" class="md-nav__link">
<span class="md-ellipsis">
Maintaining the DTS Data Directory
</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -1145,7 +1163,7 @@ <h3 id="2-edit-the-deployment-in-rancher-2-and-restart-the-service">2. Edit the
<li>If needed, navigate to the <code>Volumes</code> section and edit the CFS directory for
the volume mounted at <code>/data</code>. Usually, this is set to <code>/global/cfs/cdirs/kbase/dts/</code>,
so you usually don't need to edit this. Similarly, check the volume mounted
at <code>/manifests</code> (usually set to <code>/global/cfs/cdirs/kbase/gsharing/manifests/</code>).</li>
at <code>/manifests</code> (usually set to <code>/global/cfs/cdirs/kbase/gsharing/dts/manifests/</code>).</li>
<li>Edit the Docker image for the deployment, changing the tag after the colon
to match the tag of the Docker image pushed by <code>deploy-to-spin.sh</code> above.</li>
<li>Make sure that the Scaling/Upgrade Policy on the Deployment is set to
Expand All @@ -1155,6 +1173,19 @@ <h3 id="2-edit-the-deployment-in-rancher-2-and-restart-the-service">2. Edit the
<li>Click <code>Save</code> to restart the deployment with this new information.</li>
</ol>
<p>That's it! You've now updated the service with new features and bugfixes.</p>
<h2 id="maintaining-the-dts-data-directory">Maintaining the DTS Data Directory</h2>
<p>The DTS uses its data directory to manage its own state, as well as its
interactions with other services. Currently, the data directory contains the
following files:</p>
<ul>
<li><code>dts.gob</code> - a file containing information about pending and recently finished
file transfers, along with any related database-specific state information</li>
<li><code>kbase_user_orcids.csv</code> - a comma-separated variable file associating ORCID
identifiers with KBase users. This file is a temporary mechanism that allows
the DTS to obtain the username of a KBase user given their ORCID. It is
re-read at the top of the hour, making it easy to replace without restarting
a deployment.</li>
</ul>



Expand Down
2 changes: 1 addition & 1 deletion pr-preview/pr-100/search/search_index.json

Large diffs are not rendered by default.

0 comments on commit c0624d6

Please sign in to comment.