You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update examples to use NnfPodSpecs instead of core PodSpecs
Container Profiles have been recently updated to remove PodSpecs from
the CRD to reduce the overall size of the CRD. In its place, a slim
NnfPodSpec is now being used.
Update the examples to use this new format and ensure this is up to date
in general.
Signed-off-by: Blake Devcich <blake.devcich@hpe.com>
Copy file name to clipboardExpand all lines: README.md
+35-40Lines changed: 35 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ application.
36
36
Any container image that is built must be available in an image registry that is available on your
37
37
cluster. See your cluster administrator for more details.
38
38
39
-
In this example, we're using the GitHut Container Registry (ghcr.io), so your cluster must have internet access to retrieve the image.
39
+
In this example, we're using the GitHub Container Registry (ghcr.io), so your cluster must have internet access to retrieve the image.
40
40
41
41
#### MPI Applications
42
42
@@ -65,11 +65,12 @@ run your application.
65
65
### Storages
66
66
67
67
In this example, we are expecting to have 1 non-optional storage called `DW_JOB_my_storage`. If the
68
-
storage is persistent storage, then it must start with `DW_PERSISTENT` rather than `DW_JOB`. Filesystem types are not defined here, but later in the DW directive.
68
+
storage is persistent storage, then it must start with `DW_PERSISTENT` rather than `DW_JOB`.
69
+
Filesystem types are not defined here, but later in the DW directive.
69
70
70
71
```yaml
71
72
---
72
-
apiVersion: nnf.cray.hpe.com/v1alpha6
73
+
apiVersion: nnf.cray.hpe.com/v1alpha7
73
74
kind: NnfContainerProfile
74
75
metadata:
75
76
name: demo
@@ -88,7 +89,7 @@ Next, we define the container specification. For MPI applications, this is done
88
89
`mpiSpec`allows us to define the Launcher and Worker containers.
@@ -158,7 +150,9 @@ First, we'll create the storage. We will be using GFS2 for the filesystem:
158
150
#DW jobdw name=demo-gfs2 type=gfs2 capacity=50GB
159
151
```
160
152
161
-
Then, define the container. Note the `DW_JOB_my_storage=demo-gfs2` argument matches what is in the NNF Container Profile and maps it to the name of the GFS2 filesystem created in the DW Directive above.
153
+
Then, define the container. Note the `DW_JOB_my_storage=demo-gfs2` argument matches what is in the
154
+
NNF Container Profile and maps it to the name of the GFS2 filesystem created in the DW Directive
0 commit comments