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
Copy file name to clipboardExpand all lines: articles/operator-service-manager/safe-upgrade-practices.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ When planning for an upgrade using Azure Operator Service Manager, address the f
53
53
- In most cases, use the existing publisher to host new version artifacts.
54
54
- Using an existing publisher supports `helm upgrade` to update an SNS to a different version.
55
55
- Using a new publisher requires a `helm delete` on the current SNS and then a `helm install` for the new SNS version.
56
-
- Artifact store, network service design group (NSDG), and network function design group (NFDG) are immutable and cannot change.
56
+
- Artifact store, network service design group (NSDG), and network function design group (NFDG) are immutable and can't change.
57
57
- Changing one of these resources requires deployment of a new SNS.
58
58
- A new artifact manifest is needed to store the new charts and images.
59
59
- See [onboarding documentation](how-to-manage-artifacts-nexus.md) for details on uploading new charts and images.
@@ -99,7 +99,7 @@ In cases where a reput update fails, the following process can be followed to re
99
99
* By default, the reput retries nfApps in the declared update order, unless they're skipped using `applicationEnablement` flag.
100
100
101
101
## Control timeouts with installOptions and UpgradeOptions
102
-
When an SNS operation starts either a helm install and helm upgrade, a 27minute default timeout value. While this value can be customized at the global NF level, it's recommended to instead customize these values at the NF component level. This can be achieved by defining override values in the NF payload template. Further the values in the NF payload template and be exposed as operator values, allowing final customization at run-time. The following example demonstrates supported installOptions and upgradeOptions parameters applied to a single nfApp component;
102
+
When an SNS operation starts either a helm install and helm upgrade, a 27-minute default timeout value. This value can be customized at the global NF, but we recommend to customize this value at the component NF levelby defining override values in the NF payload template. Further the values in the NF payload template and be exposed as operator values, allowing final customization at run-time. The following example demonstrates supported installOptions and upgradeOptions parameters applied to a single nfApp component;
103
103
104
104
```
105
105
"roleOverrideValues": ["{
@@ -123,7 +123,7 @@ When an SNS operation starts either a helm install and helm upgrade, a 27 minute
123
123
In the NFDV resource, under `deployParametersMappingRuleProfile` there's a supported property `applicationEnablement` of type enum, which takes values of Unknown, Enabled, or disabled. It can be used to manually exclude nfApp operations during network function (NF) deployment. The following example demonstrates a generic method to parameterize `applicationEnablement` as an included value in `roleOverrideValues` property.
124
124
125
125
### Template changes
126
-
While no NFDV changes are necessarily required, optionally the publisher can use the NFDV to set a default value for the `applicationEnablement` property. The default value will be used, unless its changed via `roleOverrideValues`.
126
+
While no NFDV changes are necessarily required, optionally the publisher can use the NFDV to set a default value for the `applicationEnablement` property. The default value is used, unless its changed via `roleOverrideValues`.
127
127
128
128
#### NFDV template
129
129
Use the NFDV template to set a default value for `applicationEnablement`. The following example sets `enabled` state as the default value for `hellotest` networkfunctionApplication.
@@ -143,10 +143,10 @@ Use the NFDV template to set a default value for `applicationEnablement`. The fo
143
143
}
144
144
```
145
145
146
-
To manage the `applicationEnablement` value more dynamically, the Operator can pass a real-time value using the NF template `roleOverrideValues` property. While it's possible for the operator to manipulate the NF template directly, instead it's suggested to parameterize the `roleOverrideValues`, so that values can be passed via a CGV template at runtime. This requires the following modifications to the CGS, NF templates and finally the CGV.
146
+
To manage the `applicationEnablement` value more dynamically, the Operator can pass a real-time value using the NF template `roleOverrideValues` property. While it's possible for the operator to manipulate the NF template directly, instead parameterize the `roleOverrideValues`, so that values can be passed via a CGV template at runtime. The following examples demonstrate the needed modifications to the CGS, NF templates, and finally the CGV.
147
147
148
148
#### CGS template
149
-
The CGS template must be updated to include one variable declaration for each line to parameterize under `roleOverrideValues`. The below example demonstrates three override values, one to for nfConfiguration [0] and two for nfApplication options [1,2].
149
+
The CGS template must be updated to include one variable declaration for each line to parameterize under `roleOverrideValues`. The following example demonstrates three override values.
150
150
151
151
```json
152
152
"roleOverrideValues0": {
@@ -161,7 +161,7 @@ The CGS template must be updated to include one variable declaration for each li
161
161
```
162
162
163
163
#### NF payload template
164
-
The NF template must be update three ways. First, the implicit config parameter must be defined as type object. Second, roleOverrideValues0, roleOverrideValues1 and roleOverrideValues2 must be declared as variables mapped to config parameter. Third, roleOverrideValues0, roleOverrideValues1 and roleOverrideValues2 must be referenced for substitution under `roleOverrideValues` in proper order and following proper syntax.
164
+
The NF template must be update three ways. First, the implicit config parameter must be defined as type object. Second, `roleOverrideValues0`, `roleOverrideValues1`, and `roleOverrideValues2` must be declared as variables mapped to config parameter. Third, `roleOverrideValues0`, `roleOverrideValues1` and `roleOverrideValues2` must be referenced for substitution under `roleOverrideValues` in proper order and following proper syntax.
165
165
166
166
```json
167
167
"parameters": {
@@ -187,7 +187,7 @@ The NF template must be update three ways. First, the implicit config parameter
187
187
```
188
188
189
189
#### CGV template
190
-
The CGV template can now be updated to include the content for each variable to be substituted into `roleOverrideValues` property at run-time. The below example sets `rollbackEnabled` to true, followed by override sets for `hellotest` and `hellotest1` nfApplications.
190
+
The CGV template can now be updated to include the content for each variable to be substituted into `roleOverrideValues` property at run-time. The following example sets `rollbackEnabled` to true, followed by override sets for `hellotest` and `hellotest1` nfApplications.
191
191
192
192
```json
193
193
{
@@ -241,7 +241,7 @@ To enable the SkipUpgrade feature via `roleOverrideValues`, refer to the followi
241
241
242
242
243
243
## Complete roleOverrideValues option reference
244
-
Bringing together all prior examples in this article, as well as examples in other articles, the below reference provides all presently supported install and upgrade options which can be set through the `roleOverrideValues` mechanism. This example includes setting the `nfConfiguration` level options, and then options for `nfApplication1` and `nfApplication2`
244
+
Bringing together all examples in this and other articles, the following reference demonstrates all presently supported install and upgrade options available through the `roleOverrideValues` mechanism.
0 commit comments