Read a Namespaced Upgrade
GET /apis/harvesterhci.io/v1beta1/namespaces/:namespace/upgrades/:name
Get a Upgrade object.
Request
Path Parameters
name stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Name of the resource
namespace stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Object name and auth scope, such as for teams and projects
Query Parameters
exact boolean
Should the export be exact. Exact export maintains cluster-specific fields like ‘Namespace’.
export boolean
Should this value be exported. Export strips fields that a user can not specify.
Responses
- 200
- 401
OK
- application/json
- application/json;stream=watch
application/yaml
Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
image string
logEnabled boolean
version string
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
imageID string
nodeStatuses object
property name* harvesterhci.io.v1beta1.NodeUpgradeStatus
message string
reason string
state string
previousVersion string
repoInfo string
singleNode string
upgradeLog string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"image": "string",
"logEnabled": false,
"version": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"imageID": "string",
"nodeStatuses": {},
"previousVersion": "string",
"repoInfo": "string",
"singleNode": "string",
"upgradeLog": "string"
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
image string
logEnabled boolean
version string
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
imageID string
nodeStatuses object
property name* harvesterhci.io.v1beta1.NodeUpgradeStatus
message string
reason string
state string
previousVersion string
repoInfo string
singleNode string
upgradeLog string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"image": "string",
"logEnabled": false,
"version": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"imageID": "string",
"nodeStatuses": {},
"previousVersion": "string",
"repoInfo": "string",
"singleNode": "string",
"upgradeLog": "string"
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
image string
logEnabled boolean
version string
status object
conditions object[]
- Array [
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
- ]
imageID string
nodeStatuses object
property name* harvesterhci.io.v1beta1.NodeUpgradeStatus
message string
reason string
state string
previousVersion string
repoInfo string
singleNode string
upgradeLog string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"image": "string",
"logEnabled": false,
"version": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"imageID": "string",
"nodeStatuses": {},
"previousVersion": "string",
"repoInfo": "string",
"singleNode": "string",
"upgradeLog": "string"
}
}
Unauthorized
- application/json
- application/json;stream=watch
application/yaml
Schema
Schema
string
- Schema
Schema
string
- Schema
Schema
string
Loading…