Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

API Overview

Updated on 2023-08-04 GMT+08:00

APIs provided by CCE are classified into two types: proprietary APIs and Kubernetes-native APIs. By using these two types of APIs, you can use all functions provided by CCE, including creating clusters and nodes, using the Kubernetes-native APIs to create workloads, and using the proprietary CCE APIs to monitor application data.

Type

Subtype

Description

Proprietary CCE APIs

Cluster-related APIs

Manage clusters, including creating and deleting clusters.

You can use APIs in this category to create clusters and obtain information about created clusters.

Node-related APIs

Manage nodes, including creating and deleting nodes.

You can use these APIs in this category to add nodes to clusters and obtain information about created nodes.

Node Pool-related APIs

Manage node pools, including creating and deleting node pools.

You can use APIs in this category to create node pools and obtain information about created node pools.

Add-on-related APIs

Manage add-ons, including querying AddonTemplates and creating, updating, deleting, and obtaining AddonInstances.

Quota-related API

Query quotas of CCE resources.

Kubernetes-native APIs

-

Kubernetes-native APIs.

NOTE:

The Kubernetes-native APIs called in the current version do not support HTTP persistent connections.

Cluster-related APIs

Table 1 Cluster-related APIs

API

Description

Creating a Cluster

Create an empty cluster, which has only master nodes but do not have worker nodes.

Reading a Specified Cluster

Obtain details about a specified cluster.

Listing Clusters in a Specified Project

Obtain details about all clusters in a specified project.

Updating a Specified Cluster

Update information about a specified cluster.

Deleting a Cluster

Delete a specified cluster.

Hibernating a Cluster

Hibernate a specified cluster.

Waking Up a Cluster

Wake up a hibernated cluster.

Obtaining Cluster Certificates

Obtain certificates of a specified cluster.

Obtaining Job Information

Obtain the progress of a job with a specified job ID returned after a job request is issued.

Node-related APIs

Table 2 Node-related APIs

API

Description

Creating a Node

Create a node in a specified cluster.

Reading a Specified Node

Obtain details about a node with a specified node ID.

Reading all Nodes in a Cluster

Obtain details about all nodes in a cluster with a specified cluster ID.

Updating a Specified Node

Update information about a specified node.

Deleting a Node

Delete a specified node

Accepting a Node

Accept a node into a specified cluster.

Resetting a Node

Reset a node in a specified cluster.

Removing a Node

Remove a node from a specified cluster.

Migrating a Node

Migrate a node from a specified cluster to another cluster.

Node Pool-related APIs

Table 3 Node pool-related APIs

API

Description

Creating a Node Pool

Create a node pool in a specified cluster.

Reading a Specified Node Pool

Obtain details about a node with a specified node ID.

Listing All Node Pools in a Specified Cluster

Obtain details about all node pools in a cluster with a specified cluster ID.

Updating a Specified Node Pool

Update information about a specified node pool.

Deleting a Node Pool

Delete a specified node pool.

Add-on-related APIs

Table 4 Add-on-related APIs

API

Description

Installing an Add-on Instance

Install an add-on by using the add-on template. One or more instances will be created for the installed add-on.

Listing Add-on Templates

Query add-on information.

Updating an Add-on Instance

Update an add-on instance.

Deleting an Add-on Instance

Delete an add-on instance.

Reading an Add-on Instance

Obtain details about an add-on instance.

Listing Add-on Instances

List all add-on instances in the cluster.

Quota-related API

Table 5 Quota-related API

API

Description

Querying Resource Quotas

Query resource quotas.

Kubernetes APIs

API

Function

URI

Node

Reading a specified node

GET /api/v1/nodes/{name}

Listing all nodes

GET /api/v1/nodes

Updating a specified node

PATCH /api/v1/nodes/{name}

Namespace

Creating a namespace

POST /api/v1/namespaces

Deleting a namespace

DELETE /api/v1/namespaces/{name}

Querying a specified namespace

GET /api/v1/namespaces/{name}

Replacing a specified namespace

PUT /api/v1/namespaces/{name}

Replacing the status of a specified namespace

PUT /api/v1/namespaces/{name}/status

Replacing the finalize values of a specified namespace

PUT /api/v1/namespaces/{name}/finalize

Listing namespaces

GET /api/v1/namespaces

Updating a specified namespace

PATCH /api/v1/namespaces/{name}

Resourcequotas

Querying resource quotas

GET /api/v1/resourcequotas

Creating a resource quota

POST /api/v1/namespaces/{namespace}/resourcequotas

Updating a resource quota

PUT /api/v1/namespaces/{namespace}/resourcequotas/{name}

Deleting a resource quota

DELETE /api/v1/namespaces/{namespace}/resourcequotas/{name}

Pod

Creating a pod

POST /api/v1/namespaces/{namespace}/pods

Deleting a pod

DELETE /api/v1/namespaces/{namespace}/pods/{name}

Deleting all pods

DELETE /api/v1/namespaces/{namespace}/pods

Reading a specified pod

GET /api/v1/namespaces/{namespace}/pods/{name}

Replacing a specified pod

PUT /api/v1/namespaces/{namespace}/pods/{name}

Replacing the status of a specified pod

PUT /api/v1/namespaces/{namespace}/pods/{name}/status

Listing all pods in a specified namespace

GET /api/v1/namespaces/{namespace}/pods

Listing pods

GET /api/v1/pods

Updating a specified pod

PATCH /api/v1/namespaces/{namespace}/pods/{name}

Deployment

Creating a Deployment

POST /apis/apps/v1/namespaces/{namespace}/deployments

Rolling back a Deployment

PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name} (for clusters of v1.17 or later)

POST /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback (for clusters of v1.15 and earlier)

POST /apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback (for clusters of v1.15 and earlier)

Deleting a Deployment

DELETE /apis/apps/v1/namespaces/{namespace}/deployments/{name}

Deleting all Deployments

DELETE /apis/apps/v1/namespaces/{namespace}/deployments

Reading a specified Deployment

GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}

Reading the status of a specified Deployment

GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status

Reading the scaling operation of a specified Deployment

GET /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale

Replacing a specified Deployment

PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}

Replacing the status of a specified Deployment

PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status

Replacing the scaling operation of a specified Deployment

PUT /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale

Listing Deployments in a specified namespace

GET /apis/apps/v1/namespaces/{namespace}/deployments

Listing all Deployments

GET /apis/apps/v1/deployments

Updating a specified Deployment

PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}

Updating the status of a specified Deployment

PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status

Updating the scaling operation of a specified Deployment

PATCH /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale

Statefulset

Creating a StatefulSet

POST /apis/apps/v1/namespaces/{namespace}/statefulsets

Deleting a specified StatefulSet

DELETE /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}

Deleting all StatefulSets

DELETE /apis/apps/v1/namespaces/{namespace}/statefulsets

Reading a specified StatefulSet

GET /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}

Reading the status of a specified StatefulSet

GET /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status

Replacing a specified StatefulSet

PUT /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}

Replacing the status of a specified StatefulSet

PUT /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status

Listing StatefulSets in a specified namespace

GET /apis/apps/v1/namespaces/{namespace}/statefulsets

Listing all StatefulSets

GET /apis/apps/v1/statefulsets

Updating a specified StatefulSet

PATCH /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}

Updating the status of a specified StatefulSet

PATCH /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status

DaemonSet

Creating a DaemonSet

POST /apis/apps/v1/namespaces/{namespace}/daemonsets

Deleting a specified DaemonSet

DELETE /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}

Deleting all DaemonSets

DELETE /apis/apps/v1/namespaces/{namespace}/daemonsets

Reading a specified DaemonSet

GET /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}

Reading the status of a specified DaemonSet

GET /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status

Updating a specified DaemonSet

PATCH /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}

Updating the status of a specified DaemonSet

PATCH /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status

Listing all DaemonSets

GET /apis/apps/v1/daemonsets

Listing DaemonSets in a specified namespace

GET /apis/apps/v1/namespaces/{namespace}/daemonsets

Replacing a specified DaemonSet

PUT /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}

Replacing the status of a specified DaemonSet

PUT /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status

Job

Creating a job

POST /apis/batch/v1/namespaces/{namespace}/jobs

Deleting a job

DELETE /apis/batch/v1/namespaces/{namespace}/jobs/{name}

Deleting all jobs

DELETE /apis/batch/v1/namespaces/{namespace}/jobs

Reading a specified job

GET /apis/batch/v1/namespaces/{namespace}/jobs/{name}

Reading the status of a specified job

GET /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status

Replacing a specified job

PUT /apis/batch/v1/namespaces/{namespace}/jobs/{name}

Replacing the status of a specified job

PUT /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status

Listing jobs in a specified namespace

GET /apis/batch/v1/namespaces/{namespace}/jobs

Listing all jobs

GET /apis/batch/v1/jobs

Updating the status of a specified job

PATCH /apis/batch/v1/namespaces/{namespace}/jobs/{name}/status

Updating a specified job

PATCH /apis/batch/v1/namespaces/{namespace}/jobs/{name}

CronJob

Creating a cron job

POST /apis/batch/v1beta1/namespaces/{namespace}/cronjobs

Deleting a cron job

DELETE /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}

Deleting all cron jobs

DELETE /apis/batch/v1beta1/namespaces/{namespace}/cronjobs

Reading a specified cron job

GET /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}

Reading the status of a specified cron job

GET /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status

Replacing a specified cron job

PUT /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}

Replacing the status of a specified cron job

PUT /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status

Listing cron jobs under a specified namespace

GET /apis/batch/v1beta1/namespaces/{namespace}/cronjobs

Listing all cron jobs

GET /apis/batch/v1beta1/cronjobs

Updating the status of a specified cron job

PATCH /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status

Updating a specified cron job

PATCH /apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}

ReplicaSet

Listing ReplicaSets

GET /apis/apps/v1/namespaces/{namespace}/replicasets

Reading a specified ReplicaSet

GET /apis/apps/v1/namespaces/{namespace}/replicasets/{name}

Listing all ReplicaSets

GET /apis/apps/v1/replicasets

ReplicationController

Creating a ReplicationController

POST /api/v1/namespaces/{namespace}/replicationcontrollers

Deleting a ReplicationController

DELETE /api/v1/namespaces/{namespace}/replicationcontrollers/{name}

Deleting all ReplicationControllers

DELETE /api/v1/namespaces/{namespace}/replicationcontrollers

Reading a ReplicationController under a specified namespace

GET /api/v1/namespaces/{namespace}/replicationcontrollers/{name}

Replacing a ReplicationController under a specified namespace

PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}

Replacing the status of a ReplicationController under a specified namespace

PUT /api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status

Listing ReplicationControllers in a specified namespace

GET /api/v1/namespaces/{namespace}/replicationcontrollers

Listing ReplicationControllers

GET /api/v1/replicationcontrollers

Updating a specified ReplicationController

PATCH /api/v1/namespaces/{namespace}/replicationcontrollers/{name}

Endpoints

Creating an endpoint

POST /api/v1/namespaces/{namespace}/endpoints

Deleting an endpoint

DELETE /api/v1/namespaces/{namespace}/endpoints/{name}

Deleting all endpoints

DELETE /api/v1/namespaces/{namespace}/endpoints

Querying a specified endpoint

GET /api/v1/namespaces/{namespace}/endpoints/{name}

Replacing a specified endpoint

PUT /api/v1/namespaces/{namespace}/endpoints/{name}

Listing endpoints

GET /api/v1/endpoints

Listing endpoints in a specified namespace

GET /api/v1/namespaces/{namespace}/endpoints

Updating a specified endpoint

PATCH /api/v1/namespaces/{namespace}/endpoints/{name}

Service

Creating a Service

POST /api/v1/namespaces/{namespace}/services

Deleting a specified Service

DELETE /api/v1/namespaces/{namespace}/services/{name}

Obtaining a specified Service

GET /api/v1/namespaces/{namespace}/services/{name}

Replacing a specified Service

PUT /api/v1/namespaces/{namespace}/services/{name}

Listing Services in a specified namespace

GET /api/v1/namespaces/{namespace}/services

Listing Services

GET /api/v1/services

Updating a specified Service

PATCH /api/v1/namespaces/{namespace}/services/{name}

Ingress

Creating an ingress

POST /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses (for clusters of v1.21 and later)

POST /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses (for clusters from v1.15 to v1.21)

POST /apis/extensions/v1beta1/namespaces/{namespace}/ingresses (for clusters earlier than v1.15)

Updating a specified ingress

PATCH /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} (for clusters of v1.21 and later)

PATCH /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name} (for clusters from v1.15 to v1.21)

PATCH /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} (for clusters earlier than v1.15)

Replacing a specified ingress

PUT /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} (for clusters of v1.21 and later)

PUT /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name} (for clusters from v1.15 to v1.21)

PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} (for clusters earlier than v1.15)

Deleting an ingress

DELETE /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} (for clusters of v1.21 and later)

DELETE /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name} (for clusters from v1.15 to v1.21)

DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} (for clusters earlier than v1.15)

Deleting all ingresses

DELETE /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses (for clusters of v1.21 and later)

DELETE /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses (for clusters from v1.15 to v1.21)

DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses (for clusters earlier than v1.15)

Obtaining a specified ingress

GET /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} (for clusters of v1.21 and later)

GET /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name} (for clusters from v1.15 to v1.21)

GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name} (for clusters earlier than v1.15)

Listing ingresses in a specified namespace

GET /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses (for clusters of v1.21 and later)

GET /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses (for clusters from v1.15 to v1.21)

GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses (for clusters earlier than v1.15)

Listing ingresses

GET /apis/networking.k8s.io/v1/ingresses (for clusters of v1.21 and later)

GET /apis/networking.k8s.io/v1beta1/ingresses (for clusters from v1.15 to v1.21)

GET /apis/extensions/v1beta1/ingresses (for clusters earlier than v1.15)

Obtaining the status of an ingress in a specified namespace

GET /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status (for clusters of v1.21 and later)

GET /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status (for clusters from v1.15 to v1.21)

GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status (for clusters earlier than v1.15)

Replacing the status of an ingress in a specified namespace

PUT /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status (for clusters of v1.21 and later)

PUT /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status (for clusters from v1.15 to v1.21)

PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status (for clusters earlier than v1.15)

Updating the status of an ingress in a specified namespace

PATCH /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status (for clusters of v1.21 and later)

PATCH /apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status (for clusters from v1.15 to v1.21)

PATCH /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status (for clusters earlier than v1.15)

NetworkPolicy

Creating a network policy

POST /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies

Updating a specified network policy

PATCH /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}

Replacing a specified network policy

PUT /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}

Deleting a specified network policy

DELETE /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}

Deleting network policies in batches

DELETE /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies

Reading a specified network policy

GET /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}

Listing network policies in a specified namespace

GET /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies

Listing all network policies

GET /apis/networking.k8s.io/v1/networkpolicies

PersistentVolume

Creating a PersistentVolume

POST /api/v1/persistentvolumes

Deleting a specified PersistentVolume

DELETE /api/v1/persistentvolumes/{name}

Deleting all PersistentVolumes

DELETE /api/v1/persistentvolumes

Reading a specified PersistentVolume

GET /api/v1/persistentvolumes/{name}

Replacing a specified PersistentVolume

PUT /api/v1/persistentvolumes/{name}

Replacing the status of a specified PersistentVolume

PUT /api/v1/persistentvolumes/{name}/status

Listing all PersistentVolumes

GET /api/v1/persistentvolumes

Updating a specified PersistentVolume

PATCH /api/v1/persistentvolumes/{name}

PersistentVolumeClaim

Creating a PersistentVolumeClaim

POST /api/v1/namespaces/{namespace}/persistentvolumeclaims

Deleting a specified PersistentVolumeClaim

DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}

Deleting all PersistentVolumeClaims

DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims

Reading a specified PersistentVolumeClaim

GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}

Replacing a specified PersistentVolumeClaim

PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}

Replacing the status of a specified PersistentVolumeClaim

PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status

Listing PersistentVolumeClaims in a specified namespace

GET /api/v1/namespaces/{namespace}/persistentvolumeclaims

Listing all PersistentVolumeClaims

GET /api/v1/persistentvolumeclaims

Updating a specified PersistentVolumeClaim

PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}

ConfigMap

Creating a ConfigMap

POST /api/v1/namespaces/{namespace}/configmaps

Deleting a ConfigMap

DELETE /api/v1/namespaces/{namespace}/configmaps/{name}

Deleting all ConfigMaps

DELETE /api/v1/namespaces/{namespace}/configmaps

Reading a specified ConfigMap

GET /api/v1/namespaces/{namespace}/configmaps/{name}

Replacing a specified ConfigMap

PUT /api/v1/namespaces/{namespace}/configmaps/{name}

Listing ConfigMaps in a specified namespace

GET /api/v1/namespaces/{namespace}/configmaps

Listing all ConfigMaps

GET /api/v1/configmaps

Updating a specified ConfigMap

PATCH /api/v1/namespaces/{namespace}/configmaps/{name}

Secret

Creating a secret

POST /api/v1/namespaces/{namespace}/secrets

Deleting a secret

DELETE /api/v1/namespaces/{namespace}/secrets/{name}

Deleting all secrets in a specified namespace

DELETE /api/v1/namespaces/{namespace}/secrets

Reading a specified secret

GET /api/v1/namespaces/{namespace}/secrets/{name}

Replacing a specified secret

PUT /api/v1/namespaces/{namespace}/secrets/{name}

Listing the secrets in a namespace

GET /api/v1/namespaces/{namespace}/secrets

Listing secrets in a cluster

GET /api/v1/secrets

RBAC/

ClusterRole

Creating a ClusterRole

POST /apis/rbac.authorization.k8s.io/v1/clusterroles

Updating a specified ClusterRole

PATCH /apis/rbac.authorization.k8s.io/v1/clusterroles/{name}

Replacing a specified ClusterRole

PUT /apis/rbac.authorization.k8s.io/v1/clusterroles/{name}

Deleting a specified ClusterRole

DELETE /apis/rbac.authorization.k8s.io/v1/clusterroles/{name}

Deleting ClusterRoles in batches

DELETE /apis/rbac.authorization.k8s.io/v1/clusterroles

Reading a specified ClusterRole

GET /apis/rbac.authorization.k8s.io/v1/clusterroles/{name}

Listing ClusterRoles

GET /apis/rbac.authorization.k8s.io/v1/clusterroles

RBAC/

ClusterRoleBinding

Creating a ClusterRoleBinding

POST /apis/rbac.authorization.k8s.io/v1/clusterrolebindings

Updating a specified ClusterRoleBinding

PATCH /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}

Replacing a specified ClusterRoleBinding

PUT /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}

Deleting a specified ClusterRoleBinding

DELETE /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}

Deleting ClusterRoleBindings in batches

DELETE /apis/rbac.authorization.k8s.io/v1/clusterrolebindings

Reading a specified ClusterRoleBinding

GET /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}

Listing ClusterRoleBindings

GET /apis/rbac.authorization.k8s.io/v1/clusterrolebindings

RBAC/Role

Creating a Role

POST /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles

Updating a specified Role

PATCH /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}

Replacing a specified Role

PUT /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}

Deleting a specified Role

DELETE /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}

Deleting Roles in batches

DELETE /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles

Reading a specified Role

GET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}

Listing Roles in a specified namespace

GET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles

Listing all Roles

GET /apis/rbac.authorization.k8s.io/v1/roles

RBAC/RoleBinding

Creating a RoleBinding

POST /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings

Updating a specified RoleBinding

PATCH /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}

Replacing a specified RoleBinding

PUT /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}

Deleting a specified RoleBinding

DELETE /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}

Deleting RoleBindings in batches

DELETE /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings

Reading a specified RoleBinding

GET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}

Listing RoleBindings in a specified namespace

GET /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings

Listing all RoleBindings

GET /apis/rbac.authorization.k8s.io/v1/rolebindings

API groups

Listing APIVersions

GET /api

Listing APIGroups

GET /apis

listing APIResources of GroupVersion apiregistration.k8s.io/v1beta1

GET /apis/apiregistration.k8s.io/v1beta1

listing APIResources of GroupVersion extensions/v1beta1

GET /apis/extensions/v1beta1

listing APIResources of GroupVersion apps/v1&apps/v1beta1

GET /apis/apps/v1 (for clusters later than v1.15)

GET /apis/apps/v1beta1 (for clusters of v1.15 and earlier)

listing APIResources of GroupVersion authentication.k8s.io/v1

GET /apis/authentication.k8s.io/v1

listing APIResources of GroupVersion authentication.k8s.io/v1beta1

GET /apis/authentication.k8s.io/v1beta1

listing APIResources of GroupVersion authorization.k8s.io/v1

GET /apis/authorization.k8s.io/v1

listing APIResources of GroupVersion authorization.k8s.io/v1beta1

GET /apis/authorization.k8s.io/v1beta1

listing APIResources of GroupVersion autoscaling/v1

GET /apis/autoscaling/v1

listing APIResources of GroupVersion batch/v1

GET /apis/batch/v1

listing APIResources of GroupVersion certificates.k8s.io/v1beta1

GET /apis/certificates.k8s.io/v1beta1

listing APIResources of GroupVersion networking.k8s.io/v1

GET /apis/networking.k8s.io/v1

listing APIResources of GroupVersion policy/v1beta1

GET /apis/policy/v1beta1

listing APIResources of GroupVersion rbac.authorization.k8s.io/v1beta1

GET /apis/rbac.authorization.k8s.io/v1beta1

listing APIResources of GroupVersion storage.k8s.io/v1

GET /apis/storage.k8s.io/v1

listing APIResources of GroupVersion storage.k8s.io/v1beta1

GET /apis/storage.k8s.io/v1beta1

listing APIResources of GroupVersion apiextensions.k8s.io/v1beta1

GET /apis/apiextensions.k8s.io/v1beta1

listing APIResources of GroupVersion v1

GET /api/v1

Event

Reading events

GET /api/v1/events

Listing events in a specified namespace

GET /api/v1/namespaces/{namespace}/events

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback