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. 支持的命令
请注意以下键:
符号 | 描述 |
---|---|
✔ | 支持 |
❌ | 不支持或还不支持 |
名称 | 支持 | 描述 | 示例 |
---|---|---|---|
| ✔ | 将集成流中的 Kamelets 等 Kubernetes 资源绑定到 Knative 频道、Kafka 主题或其他端点。 |
|
| ❌ | 生成完成脚本。 |
|
| ❌ | 使用本地调试器调试远程集成。 |
|
| ✔ | 删除 OpenShift 上部署的集成。 |
|
| ✔ |
获取 Camel K 资源的详细信息。这包括 |
|
| ✔ | 获取部署在 OpenShift 上的集成状态。 |
|
| ✔ |
获取可用命令的完整列表。您可以输入 |
|
| ✔ | 初始化在 Java 或 YAML 中实施的空 Camel K 文件。 |
|
| ❌ | 在 OpenShift 集群上安装 Camel K。 注: 建议您使用 OpenShift Camel K Operator 安装和卸载 Camel K。 |
|
| ❌ | 配置集成工具包。 |
|
| ❌ | 在本地执行集成操作,指定一组输入集成文件。 |
|
| ✔ | 打印正在运行的集成的日志。 |
|
| ✔ | 清除一个或多个集成的状态会导致重建。 |
|
| ✔ | 重置当前的 Camel K 安装。 |
|
| ✔ | 在 OpenShift 上运行集成。 |
|
| ❌ | 从 OpenShift 集群卸载 Camel K。 注: 建议您使用 OpenShift Camel K Operator 安装和卸载 Camel K。 |
|
| ✔ | 显示 Camel-K 客户端版本。 |
|
其他资源
- 请参阅 安装 Camel K