GET - /kubernetes/:type/:mode

GET - /kubernetes/:type/:mode

Description

This API returns the information of a resource of type (cluster, workload, service, storage, configuration, rbac) and specific mode as follow:

Type

Modes

Type

Modes

cluster

["Node"]

workload

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

service

["Service"]

storage

["PVC", "PV", "StorageClass"]

configuration

["Secret"]

rbac

["ClusterRole", "ClusterRoleBinding", "RoleBinding", "APIService", "ServiceAccount"]


Input

Type: application/json

Param

Source

Type

Required

Description

Param

Source

Type

Required

Description

configuration

query

object

yes

 

name

query

string

yes