扩展配置 [runtime.cluster.x-k8s.io/v1alpha1]
- 描述
- ExtensionConfig is the Schema for the ExtensionConfig API.
- 类型
object
规格
.spec
- 描述
- spec is the desired state of the ExtensionConfig.
- 类型
object- 必填
clientConfig
.spec.clientConfig
- 描述
- clientConfig defines how to communicate with the Extension server.
- 类型
object
.spec.clientConfig.service
- 描述
- service is a reference to the Kubernetes service for the Extension server. Note: Exactly one of `url` or `service` must be specified. If the Extension server is running within a cluster, then you should use `service`.
- 类型
object- 必填
namenamespace
.spec.namespaceSelector
- 描述
- namespaceSelector decides whether to call the hook for an object based on whether the namespace for that object matches the selector. Defaults to the empty LabelSelector, which matches all objects.
- 类型
object
.spec.namespaceSelector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.namespaceSelector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.namespaceSelector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.namespaceSelector.matchExpressions[].values[]
- 类型
string
.spec.namespaceSelector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.settings
- 描述
- settings defines key value pairs to be passed to all calls to all supported RuntimeExtensions. Note: Settings can be overridden on the ClusterClass.
- 类型
object
.status
- 描述
- status is the current state of the ExtensionConfig
- 类型
object
.status.conditions
- 描述
- conditions define the current service state of the ExtensionConfig.
- 类型
array
.status.conditions[]
- 描述
- Condition defines an observation of a Cluster API resource operational state.
- 类型
object- 必填
lastTransitionTimestatustype
.status.handlers
- 描述
- handlers defines the current ExtensionHandlers supported by an Extension.
- 类型
array
.status.handlers[]
- 描述
- ExtensionHandler specifies the details of a handler for a particular runtime hook registered by an Extension server.
- 类型
object- 必填
namerequestHook
.status.handlers[].requestHook
- 描述
- requestHook defines the versioned runtime hook which this ExtensionHandler serves.
- 类型
object- 必填
apiVersionhook
.status.v1beta2
- 描述
- v1beta2 groups all the fields that will be added or modified in ExtensionConfig's status with the V1Beta2 version.
- 类型
object
.status.v1beta2.conditions
- 描述
- conditions represents the observations of a ExtensionConfig's current state. Known condition types are Discovered, Paused.
- 类型
array
.status.v1beta2.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource.
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
API 端点
可用的 API 端点如下:
/apis/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigsDELETE: delete collection of ExtensionConfigGET: list objects of kind ExtensionConfigPOST: create a new ExtensionConfig
/apis/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigs/{name}DELETE: delete the specified ExtensionConfigGET: read the specified ExtensionConfigPATCH: partially update the specified ExtensionConfigPUT: replace the specified ExtensionConfig
/apis/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigs/{name}/statusGET: read status of the specified ExtensionConfigPATCH: partially update status of the specified ExtensionConfigPUT: replace status of the specified ExtensionConfig
/apis/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigs
- HTTP 方法
DELETE- 描述
- delete collection of ExtensionConfig
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind ExtensionConfig
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new ExtensionConfig
- 查询参数
- 请求体参数
- HTTP 响应
/apis/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigs/{name}
- HTTP 方法
DELETE- 描述
- delete the specified ExtensionConfig
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified ExtensionConfig
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified ExtensionConfig
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified ExtensionConfig
- 查询参数
- 请求体参数
- HTTP 响应
/apis/runtime.cluster.x-k8s.io/v1alpha1/extensionconfigs/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified ExtensionConfig
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified ExtensionConfig
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified ExtensionConfig
- 查询参数
- 请求体参数
- HTTP 响应