Configuration (Upgrades)

URL:
https://<root>/system/upgrades/config
Methods:
GET
Required Capability:
Access allowed with either "Security and infrastructure" or "Servers" privileges
Version Introduced:
11.2

Description

The config resource returns the current node affinity and tolerations that are applied to the pods used by the upgrade job whenever an upgrade or update is performed. This resource also provides access to the Update Configuration operation, which is used to define or modify the pod placement policy.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the config resource:

Use dark colors for code blocksCopy
1
https://organization.domain.com/context/admin/system/upgrades/config?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "podPlacementPolicy":{
    "nodeAffinity": {
      "requiredDuringSchedulingIgnoredDuringExecution": {
        "nodeSelectorTerms": [
          {
            "matchExpressions": [
              {
                "key": "upgrader",
                "operator": "In",
                "values": [
                  "true"
                ]
              }
            ]
          }
        ]
      }
    },
    "tolerations": [
      {
        "effect": "NoSchedule",
        "key": "upgrader",
        "operator": "Equal",
        "value": "true"
      }
    ]
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.