|
本文档采用自动化机器翻译技术翻译。 尽管我们力求提供准确的译文,但不对翻译内容的完整性、准确性或可靠性作出任何保证。 若出现任何内容不一致情况,请以原始 英文 版本为准,且原始英文版本为权威文本。 |
Extension API Server
Rancher extends Kubernetes with additional APIs by registering an extension API server using the Kubernetes API Aggregation Layer.
Disabling the extension API server
The aggregation layer must be configured on the local Kubernetes cluster for the imperative-api-extension feature to be enabled and to work correctly. The feature assumes this is configured and is enabled by default. If it is not possible to configure the aggregation layer for your local Kubernetes cluster, then you must disable the feature. The imperative-api-extension feature flag can be disabled by either using the Rancher UI or Rancher API.
It will still be possible to access the additional APIs when the feature is disabled. The additional APIs are available at https://<rancher url>/ext and they are compatible with the Kubernetes apiserver. This means you can use curl or kubectl to interact with the APIs.