Red Hat Camel K is deprecated
Red Hat Camel K is deprecated and the End of Life date for this product is June 30, 2025. For help migrating to the current go-to solution, Red Hat build of Apache Camel, see the Migration Guide.第 7 章 Camel K 命令参考
本章提供了 Camel K 命令行界面(CLI)的参考详情,并提供了使用 kamel
命令的示例。本章还提供了有关您可以在 Camel K 集成源文件中指定的 Camel K 模式命令行选项的参考详情,该文件在运行时执行。
本章包括以下部分:
7.1. Camel K 命令行
Camel K CLI 提供了 kamel
命令,作为在 OpenShift 上运行 Camel K 集成的主入口点。
7.1.1. 支持的命令
请注意以下键:
符号 | 描述 |
---|---|
✔ | 支持 |
❌ | 不支持或还不支持 |
名称 | 支持 | 描述 | 示例 |
---|---|---|---|
| ✔ | 在集成流、Knative 频道、Kafka 主题或其他端点中绑定 Kubernetes 资源,如 Kamelets。 |
|
| ❌ | 生成完成脚本。 |
|
| ❌ | 使用本地调试器调试远程集成。 |
|
| ✔ | 删除在 OpenShift 上部署的集成。 |
|
| ✔ |
获取 Camel K 资源的详细信息。这包括 |
|
| ✔ | 获取 OpenShift 中部署的集成状态。 |
|
| ✔ |
获取可用命令的完整列表。您可以输入- |
|
| ❌ | 在 OpenShift 集群上安装 Camel K。 注: 建议您使用 OpenShift Camel K Operator 安装和卸载 Camel K。 |
|
| ❌ | 配置集成套件. |
|
| ✔ | 打印正在运行的集成的日志。 |
|
| ✔ | 您可以将集成从一个命名空间移到另一个命名空间。 |
|
| ✔ | 清除一个或多个集成的状态,从而导致重建。 |
|
| ✔ | 重置当前的 Camel K 安装。 |
|
| ✔ | 在 OpenShift 上运行集成。 |
|
| ❌ | 从 OpenShift 集群卸载 Camel K。 注: 建议您使用 OpenShift Camel K Operator 安装和卸载 Camel K。 |
|
| ✔ | 显示 Camel-K 客户端版本。 |
|
其他资源