Overview
The Dashboard API provides comprehensive endpoints for managing and querying Kubernetes resources. All resource endpoints follow RESTful conventions and support common query parameters for filtering, sorting, and pagination.Workload Resources
Pods
List all Pods from all namespaces
List Pods in a specific namespace
Get detailed information about a specific Pod
List containers in a Pod
Get events related to a Pod
List PersistentVolumeClaims used by a Pod
Deployments
List all Deployments from all namespaces
List Deployments in a specific namespace
Get detailed information about a Deployment
Get events for a Deployment
Get old ReplicaSets for a Deployment
Get the new ReplicaSet for a Deployment
Pause a Deployment
Resume a paused Deployment
Rollout restart a Deployment
Rollback a Deployment to a previous revision
ReplicaSets
List all ReplicaSets from all namespaces
List ReplicaSets in a namespace
Get ReplicaSet details
List Pods for a ReplicaSet
List Services for a ReplicaSet
Get events for a ReplicaSet
StatefulSets
List all StatefulSets from all namespaces
List StatefulSets in a namespace
Get StatefulSet details
List Pods for a StatefulSet
Get events for a StatefulSet
Rollout restart a StatefulSet
DaemonSets
List all DaemonSets from all namespaces
List DaemonSets in a namespace
Get DaemonSet details
List Pods for a DaemonSet
List Services for a DaemonSet
Get events for a DaemonSet
Rollout restart a DaemonSet
Jobs
List all Jobs from all namespaces
List Jobs in a namespace
Get Job details
List Pods for a Job
Get events for a Job
CronJobs
List all CronJobs from all namespaces
List CronJobs in a namespace
Get CronJob details
List Jobs for a CronJob
Get events for a CronJob
Manually trigger a CronJob
ReplicationControllers
List all ReplicationControllers from all namespaces
List ReplicationControllers in a namespace
Get ReplicationController details
Update replica count for a ReplicationController
Service Resources
Services
List all Services from all namespaces
List Services in a namespace
Get Service details
Get events for a Service
List Pods behind a Service
List Ingresses for a Service
Ingress
List all Ingresses from all namespaces
List Ingresses in a namespace
Get Ingress details
Get events for an Ingress
IngressClass
List all IngressClasses
Get IngressClass details
Configuration Resources
ConfigMaps
List all ConfigMaps from all namespaces
List ConfigMaps in a namespace
Get ConfigMap details
Secrets
List all Secrets from all namespaces
List Secrets in a namespace
Get Secret details
Create an ImagePullSecret
Storage Resources
PersistentVolumes
List all PersistentVolumes
Get PersistentVolume details
PersistentVolumeClaims
List all PersistentVolumeClaims
List PersistentVolumeClaims in a namespace
Get PersistentVolumeClaim details
StorageClass
List all StorageClasses
Get StorageClass details
List PersistentVolumes for a StorageClass
Cluster Resources
Namespaces
List all Namespaces
Get Namespace details
Create a new Namespace
Get events for a Namespace
Nodes
List all Nodes
Get Node details
Get events for a Node
List Pods running on a Node
Drain a Node
Events
List all Events from all namespaces
List Events in a namespace
RBAC Resources
Roles
List all Roles from all namespaces
List Roles in a namespace
Get Role details
RoleBindings
List all RoleBindings from all namespaces
List RoleBindings in a namespace
Get RoleBinding details
ClusterRoles
List all ClusterRoles
Get ClusterRole details
ClusterRoleBindings
List all ClusterRoleBindings
Get ClusterRoleBinding details
ServiceAccounts
List all ServiceAccounts from all namespaces
List ServiceAccounts in a namespace
Get ServiceAccount details
List Secrets for a ServiceAccount
List ImagePullSecrets for a ServiceAccount
Policy Resources
NetworkPolicies
List all NetworkPolicies from all namespaces
List NetworkPolicies in a namespace
Get NetworkPolicy details
PodDisruptionBudgets
List all PodDisruptionBudgets
List PodDisruptionBudgets in a namespace
Get PodDisruptionBudget details
HorizontalPodAutoscalers
List all HorizontalPodAutoscalers from all namespaces
List HorizontalPodAutoscalers in a namespace
Get HorizontalPodAutoscaler details
List HorizontalPodAutoscalers for a specific resource
Custom Resources
CustomResourceDefinitions
List all CustomResourceDefinitions
Get CustomResourceDefinition details
List custom resource objects
Get custom resource object details
Get events for a custom resource object
Generic Resource Operations
Raw Resource Access
Get raw unstructured resource from a namespace
Get raw unstructured non-namespaced resource
Create or update a namespaced resource
Create or update a non-namespaced resource
Delete a namespaced resourceQuery Parameters:
deleteNow: Override graceful delete and enforce immediate deletionpropagation: Override default delete propagation policy
Delete a non-namespaced resource
Scaling
Get replica count for a namespaced resource
Get replica count for a non-namespaced resource
Scale a namespaced resourceQuery Parameters:
scaleBy: Desired number of replicas
Scale a non-namespaced resource
Deployment Operations
App Deployment
Deploy an application from deployment spec
Deploy an application from YAML/JSON file
Validate application name
Validate image reference
Validate service protocol
Get available service protocols