Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PrivateStorageio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
PrivateStorageio
Commits
a17240ab
Unverified
Commit
a17240ab
authored
4 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
some doc tweaks
parent
7d0540d7
No related branches found
No related tags found
1 merge request
!35
SSH configuration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
morph/README.rst
+27
-2
27 additions, 2 deletions
morph/README.rst
with
27 additions
and
2 deletions
morph/README.rst
+
27
−
2
View file @
a17240ab
...
...
@@ -3,10 +3,35 @@ Morph
This directory contains Nix-based configuration for the grid.
This takes the form of Nix expressions in ``.nix`` files
and some JSON-based configuration in ``.
config.
json`` files.
and some JSON-based configuration in ``.json`` files.
This configuration is fed to `morph`_ to make changes to the deployment.
Deploying
---------
The deployment consists of the public software packages and the private secrets.
You can deploy these together::
morph deploy --upload-secrets morph/grid/<testing|production|...>/grid.nix test
Or separately::
morph deploy morph/grid/<testing|production|...>/grid.nix test
morph upload-secrets morph/grid/<testing|production|...>/grid.nix
Separate deployment is useful when the software deploy is done from system which may not be sufficiently secure to host the secrets
(such as a cloud build machine).
Secrets should only be hosted on an extremely secure system
(XXX write the document for what this means).
Note secrets only need to be uploaded after a host in the grid has been rebooted.
See the ``morph`` and ``nixos-rebuild`` documentation for more details about these commands.
Filesystem Layout
`````````````````
lib
---
...
...
@@ -49,7 +74,7 @@ Each such file contains a minimal Nix expression supplying critical system confi
These files are referenced by the corresponding ``<hostname>.nix`` files.
Configuring New Storage Nodes
-----------------------------
`````````````````````````````
Storage nodes are brought into the grid in a multi-step process.
Here are the steps to configure a new node,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment