ConfigMap [v1]
- 描述
- ConfigMap holds configuration data for pods to consume.
- 类型
object
规格
.binaryData
- 描述
- BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
- 类型
object
.data
- 描述
- Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.
- 类型
object
API 端点
可用的 API 端点如下:
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/configmapsDELETE: delete collection of ConfigMapGET: list objects of kind ConfigMapPOST: create a new ConfigMap
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/configmaps/{name}DELETE: delete the specified ConfigMapGET: read the specified ConfigMapPATCH: partially update the specified ConfigMapPUT: replace the specified ConfigMap
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/configmaps
- HTTP 方法
DELETE- 描述
- delete collection of ConfigMap
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind ConfigMap
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new ConfigMap
- 查询参数
- 请求体参数
- HTTP 响应
/kubernetes/{cluster}/api/v1/namespaces/{namespace}/configmaps/{name}
- HTTP 方法
DELETE- 描述
- delete the specified ConfigMap
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified ConfigMap
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified ConfigMap
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified ConfigMap
- 查询参数
- 请求体参数
- HTTP 响应