Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

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

Type

Mode

kind

workload

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

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

service

["Service"]

["Service"]

storage

["PV", "StorageClass"]

["PersistentVolume", "StorageClass"]

...

Input

Code Block
Type: application/json

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