Create a Namespaced Upgrade

  1. POST /apis/harvesterhci.io/v1beta1/namespaces/:namespace/upgrades

Create a Upgrade object.

Request

Path Parameters

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

  • application/json
  • application/yaml

Body

required

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

Body

required

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

Responses

  • 200
  • 201
  • 202
  • 401

OK

  • application/json
  • 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

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "image": "string",
  10. "logEnabled": false,
  11. "version": "string"
  12. },
  13. "status": {
  14. "conditions": [
  15. {
  16. "lastTransitionTime": "string",
  17. "lastUpdateTime": "string",
  18. "message": "string",
  19. "reason": "string",
  20. "status": "string",
  21. "type": "string"
  22. }
  23. ],
  24. "imageID": "string",
  25. "nodeStatuses": {},
  26. "previousVersion": "string",
  27. "repoInfo": "string",
  28. "singleNode": "string",
  29. "upgradeLog": "string"
  30. }
  31. }
  • 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

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "image": "string",
  10. "logEnabled": false,
  11. "version": "string"
  12. },
  13. "status": {
  14. "conditions": [
  15. {
  16. "lastTransitionTime": "string",
  17. "lastUpdateTime": "string",
  18. "message": "string",
  19. "reason": "string",
  20. "status": "string",
  21. "type": "string"
  22. }
  23. ],
  24. "imageID": "string",
  25. "nodeStatuses": {},
  26. "previousVersion": "string",
  27. "repoInfo": "string",
  28. "singleNode": "string",
  29. "upgradeLog": "string"
  30. }
  31. }

Created

  • application/json
  • 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

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "image": "string",
  10. "logEnabled": false,
  11. "version": "string"
  12. },
  13. "status": {
  14. "conditions": [
  15. {
  16. "lastTransitionTime": "string",
  17. "lastUpdateTime": "string",
  18. "message": "string",
  19. "reason": "string",
  20. "status": "string",
  21. "type": "string"
  22. }
  23. ],
  24. "imageID": "string",
  25. "nodeStatuses": {},
  26. "previousVersion": "string",
  27. "repoInfo": "string",
  28. "singleNode": "string",
  29. "upgradeLog": "string"
  30. }
  31. }
  • 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

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "image": "string",
  10. "logEnabled": false,
  11. "version": "string"
  12. },
  13. "status": {
  14. "conditions": [
  15. {
  16. "lastTransitionTime": "string",
  17. "lastUpdateTime": "string",
  18. "message": "string",
  19. "reason": "string",
  20. "status": "string",
  21. "type": "string"
  22. }
  23. ],
  24. "imageID": "string",
  25. "nodeStatuses": {},
  26. "previousVersion": "string",
  27. "repoInfo": "string",
  28. "singleNode": "string",
  29. "upgradeLog": "string"
  30. }
  31. }

Accepted

  • application/json
  • 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

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "image": "string",
  10. "logEnabled": false,
  11. "version": "string"
  12. },
  13. "status": {
  14. "conditions": [
  15. {
  16. "lastTransitionTime": "string",
  17. "lastUpdateTime": "string",
  18. "message": "string",
  19. "reason": "string",
  20. "status": "string",
  21. "type": "string"
  22. }
  23. ],
  24. "imageID": "string",
  25. "nodeStatuses": {},
  26. "previousVersion": "string",
  27. "repoInfo": "string",
  28. "singleNode": "string",
  29. "upgradeLog": "string"
  30. }
  31. }
  • 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

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "image": "string",
  10. "logEnabled": false,
  11. "version": "string"
  12. },
  13. "status": {
  14. "conditions": [
  15. {
  16. "lastTransitionTime": "string",
  17. "lastUpdateTime": "string",
  18. "message": "string",
  19. "reason": "string",
  20. "status": "string",
  21. "type": "string"
  22. }
  23. ],
  24. "imageID": "string",
  25. "nodeStatuses": {},
  26. "previousVersion": "string",
  27. "repoInfo": "string",
  28. "singleNode": "string",
  29. "upgradeLog": "string"
  30. }
  31. }

Unauthorized

  • application/json
  • application/yaml

  • Schema

Schema

string

  • Schema

Schema

string

Loading…