GET - /kubernetes/:type(s)/:mode

GET - /kubernetes/:type(s)/:mode

Description

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

Type

Modes

Type

Modes

clusters

["Node"]

workloads

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

services

["Service"]

storages

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

configurations

["Secret"]

rbacs

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

Note that there is an extra (s) at the end of each type equivalent to get multiple


Input

Type: application/json

Param

Source

Type

Required

Description

Param

Source

Type

Required

Description

configuration

query

object

yes

 

filter

query

object

no

 

fieldSelector

query.filter

string

no

 

includeUninitialized

query.filter

boolean

no

 

labelSelector

query.filter

string

no

 

limit

query

integer

no

"minimum": 100, "maximum": 500

continue

query

string

no

 

type

query

enum

no

["Item", "Other", "All"]