- 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
Parameter | Details |
---|---|
| The response format. The default format is Values: |
Example usage
The following is a sample request URL used to access the config
resource:
https://organization.domain.com/context/admin/system/upgrades/config?f=pjson
JSON Response example
{
"podPlacementPolicy":{
"nodeAffinity": {
"requiredDuringSchedulingIgnoredDuringExecution": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "upgrader",
"operator": "In",
"values": [
"true"
]
}
]
}
]
}
},
"tolerations": [
{
"effect": "NoSchedule",
"key": "upgrader",
"operator": "Equal",
"value": "true"
}
]
}
}