PUT - /kubernetes/:type/:mode

Description

This API updates a resource of type (workload, service, storage) and specific mode as follow:

Type

Mode

kind

Type

Mode

kind

workload

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

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

service

["Service"]

["Service"]

storage

["PV", "StorageClass"]

["PersistentVolume", "StorageClass"]


Input

Type: application/json

Param

Source

Type

Required

Description

Param

Source

Type

Required

Description

 configuration

 body

object

 yes

 

 name

body

string

 yes

 

body

body

object

yes

 

kind

body.body

enum

yes

check table above

metadata

body.body

object

yes

 

name

body.body.metadata

string

yes

 

 

Â