Skip to content

Commit aaae493

Browse files
authored
Update the ServiceAccount for the daemons (#125)
Update the location of the clientmountd source, and the example systemd unit files. Signed-off-by: Dean Roehrich <dean.roehrich@hpe.com>
1 parent 6677e1c commit aaae493

1 file changed

Lines changed: 30 additions & 6 deletions

File tree

docs/guides/compute-daemons/readme.md

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ categories: setup
77

88
Rabbit software requires two daemons be installed and run on each compute node. Each daemon shares similar build, package, and installation processes described below.
99

10-
- The [***Client Mount***](https://github.com/DataWorkflowServices/dws/tree/master/mount-daemon) daemon, `clientmount`, provides the support for mounting Rabbit hosted file systems on compute nodes.
10+
- The [***Client Mount***](https://github.com/NearNodeFlash/nnf-sos/tree/master/mount-daemon) daemon, `clientmount`, provides the support for mounting Rabbit hosted file systems on compute nodes.
1111
- The [***Data Movement***](https://github.com/NearNodeFlash/nnf-dm/tree/master/daemons/compute) daemon, `nnf-dm`, supports creating, monitoring, and managing data movement (copy-offload) operations
1212

1313
## Building from source
@@ -30,8 +30,8 @@ NNF software defines a Kubernetes Service Account for granting communication pri
3030

3131
| Compute Daemon | Service Account | Namespace |
3232
| -------------- | --------------- | --------- |
33-
| Client Mount | dws-controller-manager | dws-system |
34-
| Data Movement | nnf-dm-controller-manager | nnf-dm-system |
33+
| Client Mount | nnf-clientmount | nnf-system |
34+
| Data Movement | nnf-dm-daemon | nnf-dm-system |
3535

3636
```bash
3737
#!/bin/bash
@@ -61,7 +61,7 @@ The command line arguments can be provided to the service definition or as an ov
6161
| `--nnf-node-name=[RABBIT-NODE-NAME]` | `nnf-dm` daemon only. Name of the rabbit node connected to this compute node as described in the System Configuration. If not provided, the `--node-name` value is used to find the associated Rabbit node in the System Configuration. |
6262
| `--sys-config=[NAME]` | `nnf-dm` daemon only. The System Configuration resource's name. Defaults to `default` |
6363

64-
For example:
64+
An example unit file for nnf-dm:
6565

6666
```conf title="cat /etc/systemd/system/nnf-dm.service"
6767
[Unit]
@@ -75,14 +75,38 @@ ExecStart=/usr/bin/nnf-dm \
7575
--kubernetes-service-port=7777 \
7676
--service-token-file=/path/to/service.token \
7777
--service-cert-file=/path/to/service.cert \
78-
--node-name=this-compute-node \
79-
--nnf-node-name=my-rabbit-node
78+
--kubernetes-qps=50 \
79+
--kubernetes-burst=100
8080
Restart=on-failure
8181
8282
[Install]
8383
WantedBy=multi-user.target
8484
```
8585

86+
An example unit file is for clientmountd:
87+
88+
```conf title="cat /etc/systemd/system/clientmountd.service"
89+
[Unit]
90+
Description=Near-Node Flash (NNF) Clientmountd Service
91+
92+
[Service]
93+
PIDFile=/var/run/clientmountd.pid
94+
ExecStartPre=/bin/rm -f /var/run/clientmountd.pid
95+
ExecStart=/usr/bin/clientmountd \
96+
--kubernetes-service-host=127.0.0.1 \
97+
--kubernetes-service-port=7777 \
98+
--service-token-file=/path/to/service.token \
99+
--service-cert-file=/path/to/service.cert
100+
Restart=on-failure
101+
Environment=GOGC=off
102+
Environment=GOMEMLIMIT=20MiB
103+
Environment=GOMAXPROCS=5
104+
Environment=HTTP2_PING_TIMEOUT_SECONDS=60
105+
106+
[Install]
107+
WantedBy=multi-user.target
108+
```
109+
86110
#### nnf-dm Specific Configuration
87111

88112
nnf-dm has some additional configuration options that can be used to tweak the kubernetes client:

0 commit comments

Comments
 (0)