PUT - /kubernetes/item/redeploy

Description

This API redeploys an item.


Input

Type: application/json

Param

Source

Type

Required

Description

Param

Source

Type

Required

Description

 configuration

 body

object

 yes

 

 name

body

object

 yes

conditional

mode

body

enum

yes

["Deployment", "DaemonSet", "CronJob"]

serviceName

body

string

no

 

image

body

object

no

 

tag

body.image

string

yes

 

src

body

object

no

 

from

body.src

object

yes

conditional

 body.src.from

Conditional require, with one of the following:

  • ["tag"]

  • ["branch", "commit"]

Param

Source

Type

Required

Description

Param

Source

Type

Required

Description

tag

body.src.from

string

Yes conditional

 

branch

body.src.from

string

Yes conditional

 

commit

body.src.from

string

Yes conditional

 

 body.name

Conditional require, with one of the following:

  • ["metaname"]

  • ["item"]

Param

Source

Type

Required

Description

Param

Source

Type

Required

Description

metaname

body.name

string

Yes conditional

 

item

body.name

object

Yes conditional

 

env

body.name.item

string

Yes

 

name

body.name.item

string

Yes

 

version

body.name.item

string

Yes

 

 

Â