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
Create the initial default profile from scratch or by using the [NnfStorageProfile/placeholder](https://github.com/NearNodeFlash/nnf-sos/blob/master/config/examples/nnf_v1alpha1_nnfstorageprofile.yaml) resource as a template. If `nnf-deploy` was used to install nnf-sos then the default profile described below will have been created automatically.
50
+
Create the initial default profile from scratch or by using the [NnfStorageProfile/template](https://github.com/NearNodeFlash/nnf-sos/blob/master/config/examples/nnf_v1alpha1_nnfstorageprofile.yaml) resource as a template. If `nnf-deploy` was used to install nnf-sos then the default profile described below will have been created automatically.
51
51
52
-
To use the `placeholder` resource as a template, begin by obtaining a copy of it either from the nnf-sos repo or from a live system. To get it from a live system use the following command:
52
+
To use the `template` resource begin by obtaining a copy of it either from the nnf-sos repo or from a live system. To get it from a live system use the following command:
53
53
54
54
```shell
55
-
kubectl get nnfstorageprofile -n nnf-system placeholder -o json> profile.yaml
55
+
kubectl get nnfstorageprofile -n nnf-system template -o yaml> profile.yaml
56
56
```
57
57
58
58
Edit the `profile.yaml` file to trim the metadata section to contain only a name and namespace. The namespace must be left as nnf-system, but the name should be set to signify that this is the new default profile. In this example we will name it `default`. The metadata section will look like the following, and will contain no other fields:
@@ -79,17 +79,17 @@ kubectl get nnfstorageprofile -A
79
79
The output will appear similar to the following:
80
80
81
81
```shell
82
-
NAMESPACE NAME DEFAULT AGE
83
-
nnf-system default true 9s
84
-
nnf-system placeholder false 11s
82
+
NAMESPACE NAME DEFAULT AGE
83
+
nnf-system default true 9s
84
+
nnf-system template false 11s
85
85
```
86
86
87
87
The administrator should edit the `default` profile to record any cluster-specific settings.
88
88
Maintain a copy of this resource YAML in a safe place so it isn't lost across upgrades.
89
89
90
90
## Keeping The Default Profile Updated
91
91
92
-
An upgrade of nnf-sos may include updates to the `placeholder` profile. It may be necessary to manually copy these updates into the `default` profile.
92
+
An upgrade of nnf-sos may include updates to the `template` profile. It may be necessary to manually copy these updates into the `default` profile.
0 commit comments