Skip to content

Commit cd2a9f9

Browse files
committed
Updated DNS hostnames/subdomains details + env vars
Signed-off-by: Blake Devcich <blake.devcich@hpe.com>
1 parent 69255c0 commit cd2a9f9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/rfcs/0002/readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ The following subsections outline the proposed communication between the Rabbit
6363

6464
#### Rabbit-to-Rabbit Communication
6565

66-
Each rabbit node can be reached via `<hostname>.<subdomain>` using DNS. The hostname is a combination of the workflow name and Rabbit node name. The workflow name is used for the subdomain.
66+
Each rabbit node can be reached via `<hostname>.<subdomain>` using DNS. The hostname is the Rabbit node name and the workflow name is used for the subdomain.
6767

68-
For example, a workflow name of `foo` that targets `rabbit-node2` would be `foo-rabbit-node2.foo`.
68+
For example, a workflow name of `foo` that targets `rabbit-node2` would be `rabbit-node2.foo`.
6969

7070
Environment variables are provided to the container and ConfigMap for each rabbit that is targeted by the container workflow:
7171

7272
```shell
73-
NNF_CONTAINER_NODES=foo-rabbit-node2,foo-rabbit-node3
73+
NNF_CONTAINER_NODES=rabbit-node2 rabbit-node3
7474
NNF_CONTAINER_SUBDOMAIN=foo
7575
NNF_CONTAINER_DOMAIN=default.svc.cluster.local
7676
```
@@ -80,13 +80,13 @@ kind: ConfigMap
8080
apiVersion: v1
8181
data:
8282
nnfContainerNodes:
83-
- foo-rabbit-node2
84-
- foo-rabbit-node3
83+
- rabbit-node2
84+
- rabbit-node3
8585
nnfContainerSubdomain: foo
8686
nnfContainerDomain: default.svc.cluster.local
8787
```
8888
89-
DNS can then be used to communicate with other Rabbit containers. The FQDN for the container running on rabbit-node2 is `foo-rabbit-node2.foo.default.svc.cluster.local`.
89+
DNS can then be used to communicate with other Rabbit containers. The FQDN for the container running on rabbit-node2 is `rabbit-node2.foo.default.svc.cluster.local`.
9090

9191
#### Compute-to-Rabbit Communication
9292

@@ -178,8 +178,8 @@ Peter submits the job to the WLM. WLM guides the job through the workflow states
178178
metadata:
179179
name: my-job-container-my-foo
180180
data:
181-
DW_JOB_foo-local-storage: type=gfs2 mount-type=indexed-mount
182-
DW_PERSISTENT_foo-persistent-storage: type=lustre mount-type=mount-point
181+
DW_JOB_foo_local_storage: mount-type=indexed-mount
182+
DW_PERSISTENT_foo_persistent_storage: mount-type=mount-point
183183
...
184184
```
185185

0 commit comments

Comments
 (0)