Kyma 控制台中 "exposing an API" 的 CLI 等价物是什么
What is the CLI equivalent of "exposing an API" in the Kyma console
kubectl expose
在这里不起作用
- 如何使用 CLI
- 在控制台中 UI 功能位于 https://console.kyma.local/home/environments/stage/apis
- API 暴露在互联网上是通过特殊的 "API Gateway" 组件实现的。您可以在此处阅读其架构和用法 https://kyma-project.io/docs/latest/components/api-gateway
- 通过Console暴露UIhttps://console.kyma.local/home/environments/stage/apis通过实际创建Api CRD
实现
- CLI 等效项很简单
kubectl apply {yaml_file}
。 Api CRD 的所有字段的描述和示例可以在这里找到 https://kyma-project.io/docs/latest/components/api-gateway#custom-resource-custom-resource
kubectl expose
在这里不起作用- 如何使用 CLI
- 在控制台中 UI 功能位于 https://console.kyma.local/home/environments/stage/apis
- API 暴露在互联网上是通过特殊的 "API Gateway" 组件实现的。您可以在此处阅读其架构和用法 https://kyma-project.io/docs/latest/components/api-gateway
- 通过Console暴露UIhttps://console.kyma.local/home/environments/stage/apis通过实际创建Api CRD 实现
- CLI 等效项很简单
kubectl apply {yaml_file}
。 Api CRD 的所有字段的描述和示例可以在这里找到 https://kyma-project.io/docs/latest/components/api-gateway#custom-resource-custom-resource