Skip to content

Commit 47d39f0

Browse files
committed
chore(docs): update documentation
1 parent 8f2f626 commit 47d39f0

22 files changed

+125
-359
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ If you'd like to try ClusterFactory, you should start by reading our [Quick Star
2727
## Join the Community
2828

2929
- [Community Discord](https://discord.gg/zt4GF5HYHX) - Request for support and help from the ClusterFactory community.
30-
- [Github Issues](https://github.com/deepsquare-io/ClusterFactory/issues) - Submit your issues and feature requests via Github.
30+
- [GitHub Issues](https://github.com/deepsquare-io/ClusterFactory/issues) - Submit your issues and feature requests via GitHub.
3131

3232
We welcome your help in building ClusterFactory! If you are interested, we invite you to check
3333
out the [Contributing Guide](./CONTRIBUTING.md).

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Creating a release
44

5-
Creating a release happens via Github Actions by creating an [annotated](https://git-scm.com/book/en/v2/Git-Basics-Tagging#_creating_tags) git tag. Tag creation triggers the release workflow which will do most of the heavy-lifting:
5+
Creating a release happens via GitHub Actions by creating an [annotated](https://git-scm.com/book/en/v2/Git-Basics-Tagging#_creating_tags) git tag. Tag creation triggers the release workflow which will do most of the heavy-lifting:
66

77
- Create the actual release in [releases](https://github.com/deepsquare-io/ClusterFactory/releases/)
88

web/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ This command generates static content into the `build` directory and can be serv
2626

2727
### Deployment
2828

29-
We are using Github Actions to deploy the documentation to Github Pages. A commit to the `main` branch will deploy the documentation.
29+
We are using GitHub Actions to deploy the documentation to GitHub Pages. A commit to the `main` branch will deploy the documentation.

web/docs/getting-started/02-setting-up-repository.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ To enable GitOps and be able to follow the updates of the ClusterFactory reposit
66

77
### Method 1: Create a public fork
88

9-
1. Use the "Fork" button on Github and create the fork on your favorite account.
9+
1. Use the "Fork" button on GitHub and create the fork on your favorite account.
1010

1111
<div style={{textAlign: 'center'}}>
1212

@@ -54,7 +54,7 @@ To enable GitOps and be able to follow the updates of the ClusterFactory reposit
5454
git clone [email protected]:<your account>/ClusterFactory.git
5555
```
5656

57-
## 2. Setup the upstream remote for git
57+
## 2. Set up the upstream remote for git
5858

5959
Git is capable of managing multiple remote repositories. By default, `origin` is linked to the `<your account>/ClusterFactory` repository. To be able to fetch updates from the upstream `deepsquare-io/ClusterFactory` repository, we need to add a remote repository that we call `upstream`.
6060

@@ -77,20 +77,12 @@ Git is capable of managing multiple remote repositories. By default, `origin` is
7777

7878
## 3. (Optional) Checkout to a stable version and create a new branch
7979

80-
You can checkout to a stable version:
80+
You can check out to a stable version:
8181

8282
```shell title="user@local:/ClusterFactory"
8383
git checkout -b configs <CF version>
8484
```
8585

86-
:::info
87-
88-
Please note that ClusterFactory is under development, it is strongly recommended to follow the latest version of ClusterFactory.
89-
90-
Unannounced breaking changes are to be expected.
91-
92-
:::
93-
9486
## 4. Rename the examples and commit
9587

9688
Copy `argo.example`, `core.example`, `cfctl.yaml.example`, and remove the `.example`:

web/docs/getting-started/03-k0s-configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ A node designated as a **worker** will solely run the following components:
2020

2121
It is crucial to always have an odd number of controllers (1, 3, 5, ...) to prevent the cluster from getting stuck in a deadlock.
2222

23-
Edit the `cfctl.yaml` file. Start with the `hosts` field :
23+
Edit the `cfctl.yaml` file. Start with the `hosts` field:
2424

25-
```yaml title=cfctl.yaml
25+
```yaml title="cfctl.yaml"
2626
apiVersion: cfctl.clusterfactory.io/v1beta1
2727
kind: Cluster
2828
metadata:
@@ -108,7 +108,7 @@ k0s:
108108
enabled: false
109109
```
110110
111-
Most of the values are already sane but you should check if the CIDR doesn't conflict with any IP range of your network. It is also recommended to tune manually the MTU and match it to your switch and router values.
111+
Most of the values are already sane, but you should check if the CIDR doesn't conflict with any IP range of your network. It is also recommended to tune manually the MTU and match it to your switch and router values.
112112
113113
If you wish to use a HA setup, please follow [this guide](/docs/guides/maintenance/high-availability).
114114

web/docs/getting-started/04-core-apps-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ If some files were added and removed, you must change the `daemonset.yaml`:
322322

323323
Specify new certificate issuers in the `core/cert-manager` directory.
324324

325-
It is highly recommended to add your own private certificate authority, follow the [official guide of cert-manager](https://cert-manager.io/docs/configuration/ca/).
325+
It is highly recommended adding your own private certificate authority, follow the [official guide of cert-manager](https://cert-manager.io/docs/configuration/ca/).
326326

327327
You must create a Secret `ca-key-pair`. To generate a TLS certificate and its private key:
328328

web/docs/getting-started/06-grendel-deployment.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 6. Grendel Deployment
22

3-
The `argo/provisioning` directory deploys the Grendel application.
3+
The `argo/provisioning` directory deploys the Grendel application. Grendel is a PXE, TFTP and DHCP server used for network booting. It's lightweight and written in Go.
44

55
## 1. Namespace and AppProject
66

@@ -10,15 +10,15 @@ Create the Kubernetes namespace and ArgoCD AppProject.
1010
kubectl apply -f argo/provisioning
1111
```
1212

13-
Kubernetes namespaces are used to isolate workloads and organize the Kubernetes cluster application.
13+
Kubernetes' namespaces are used to isolate workloads and organize the Kubernetes cluster application.
1414

15-
ArgoCD AppProjects are used in the continuous deployment process to prevent unauthorized deployment of resources. The more restrictive this is, the better we can avoid a supply chain attack.
15+
ArgoCD's AppProjects are used in the continuous deployment process to prevent unauthorized deployment of resources. The more restrictive this is, the better we can avoid a supply chain attack.
1616

1717
## 2. Preparing the dynamic provisioning of volumes
1818

19-
Grendel needs to store its OS images. We will use NFS for the storage in this guide but there are other solution like OpenEBS or local-path (see the local-path-storage ArgoCD application in the `argo/local-path-storage` directory).
19+
Grendel needs to store its OS images. We will use NFS for the storage in this guide, but there are other solution like OpenEBS or local-path (see the local-path-storage ArgoCD application in the `argo/local-path-storage` directory).
2020

21-
We need to deploy a StorageClass so that Kubernetes can dynamically provision volumes.
21+
We need to deploy a StorageClass, so that Kubernetes can dynamically provision volumes.
2222

2323
Look at the `argo/volumes/dynamic-nfs.yaml`:
2424

@@ -204,7 +204,7 @@ config:
204204
hosts:
205205
- name: cn1
206206
provision: true
207-
boot_image: squareos-8.6
207+
boot_image: squareos-9.2
208208
interfaces:
209209
- ip: 10.10.2.51/24
210210
mac: aa:bb:cc:11:22:33
@@ -213,12 +213,12 @@ config:
213213
bmc: true
214214
215215
images:
216-
- name: squareos-8.6
217-
kernel: '/var/lib/grendel/vmlinuz-4.18.0-372.19.1.el8_6.x86_64'
216+
- name: squareos-9.2
217+
kernel: '/var/lib/grendel/vmlinuz-5.14.0-284.30.1.el9_2.x86_64'
218218
initrd:
219-
- '/var/lib/grendel/initramfs-4.18.0-372.19.1.el8_6.x86_64.img'
220-
liveimg: '/var/lib/grendel/squareos-8.6.squashfs'
221-
cmdline: console=ttyS0 console=tty0 root=live:http://grendel.example.com/repo/squareos-8.6.squashfs BOOTIF=01-{{ $.nic.MAC | toString | replace ":" "-" }} grendel.hostname={{ $.host.Name }} grendel.address=http://grendel.example.com rd.live.overlay.readonly=1 rd.live.overlay.overlayfs=1 rd.neednet=1
219+
- '/var/lib/grendel/initramfs-5.14.0-284.30.1.el9_2.x86_64.img'
220+
liveimg: '/var/lib/grendel/squareos-9.2.squashfs'
221+
cmdline: console=ttyS0 console=tty0 root=live:http://sos-ch-dk-2.exo.io/osimages/squareos-9.2/squareos-9.2.squashfs BOOTIF=01-{{ $.nic.MAC | toString | replace ":" "-" }} grendel.hostname={{ $.host.Name }} grendel.address=http://grendel.example.com rd.live.overlay.readonly=1 rd.live.overlay.overlayfs=1 rd.neednet=1
222222
223223
postscript: |
224224
#!/bin/sh
@@ -230,8 +230,8 @@ The MAC address corresponds to the network interface connected to the network wi
230230
Inside the image configuration, you can notice some kernel parameters:
231231

232232
- `console=ttyS0 console=tty0` means that the kernel messages will appear on both the first serial port and virtual terminal.
233-
- `root=live:http://grendel.example.com/repo/squareos-8.6.squashfs` means that dracut will load the OS image as a live OS image. **Modify the URL based on the domain name you want to use.**
234-
- `rd.live.overlay.readonly=1 rd.live.overlay.overlayfs=1 rd.neednet=1` are parameters relative to loading the live OS image. Here, we are mounting the OS image as a read-only base image for the OverlayFS. This is to create a stateless filesystem.
233+
- `root=live:http://sos-ch-dk-2.exo.io/osimages/squareos-9.2/squareos-9.2.squashfs` means that Dracut will load the OS image as a live OS image. **Modify the URL based on the domain name you want to use.**
234+
- `rd.live.overlay.readonly=1 rd.live.overlay.overlayfs=1 rd.neednet=1` are parameters relative to loading the live OS image. Here, we are mounting the OS image as a read-only base image for the OverlayFS. This is to create a stateless file system.
235235
- `grendel.hostname={{ $.host.Name }} grendel.address=http://grendel.example.com` are parameters used to change the hostname of the OS and fetch the postscript. **Modify the URL based on the domain name you want to use.**
236236

237237
### Persistence
@@ -339,14 +339,14 @@ kubectl apply -f argo/provisioning/apps/grendel-app.yaml
339339

340340
This step is optional, you can download a pre-built SquareOS image:
341341

342-
- [initramfs](https://sos-ch-dk-2.exo.io/osimages/squareos-8.6/initramfs-4.18.0-372.19.1.el8_6.x86_64.img)
343-
- [OS image](https://sos-ch-dk-2.exo.io/osimages/squareos-8.6/squareos-8.6.squashfs)
344-
- [linux kernel](https://sos-ch-dk-2.exo.io/osimages/squareos-8.6/vmlinuz-4.18.0-372.19.1.el8_6.x86_64)
342+
- [initramfs](https://sos-ch-dk-2.exo.io/osimages/squareos-9.2/initramfs-4.18.0-372.19.1.el8_6.x86_64.img)
343+
- [OS image](https://sos-ch-dk-2.exo.io/osimages/squareos-9.2/squareos-9.2.squashfs)
344+
- [linux kernel](https://sos-ch-dk-2.exo.io/osimages/squareos-9.2/vmlinuz-4.18.0-372.19.1.el8_6.x86_64)
345345

346346
If you want to build it yourself, we use Packer to build the OS image. To build the OS image:
347347

348348
- 1. Install Packer and QEMU.
349-
- 2. Go to the `packer-recipes/rocky8.6`.
349+
- 2. Go to the `packer-recipes/rocky9.2`.
350350
- 3. Build the OS image using the `build.bare.sh` script.
351351
- 4. Extract the kernel, initramfs and create the squashfs file using the `export.bare.sh` script.
352352

@@ -389,3 +389,4 @@ You've finished the guide. However, there is still a lot of application we didn'
389389
- [Deploy SLURM, the bare-metal batch scheduler](/docs/guides/slurm/deploy-slurm)
390390
- [Configure the postscript to follow the GitOps practices](/docs/guides/provisioning/gitops-with-grendel)
391391
- [About maintenance](/docs/guides/maintenance/high-availability)
392+
- [Join the DeepSquare Grid](https://docs.deepsquare.run/deepsquare-grid/clusterfactory/overview)

web/docs/guides/00-installing-the-utilities.md

Lines changed: 0 additions & 18 deletions
This file was deleted.
-27.9 KB
Binary file not shown.
-51.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)