Red Hat Camel K is no longer supported.
As of June 30, 2025, Red Hat build of Camel K has reached End of Life. The suggested replacements is Red Hat build of Apache Camel. For details about moving, see the Camel K to Camel Quarkus 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. 支持的命令 复制链接链接已复制到粘贴板!
请注意以下密钥:
符号 | 描述 |
---|---|
✔ | 支持 |
❌ | 不支持或者还没有支持 |
Name | 支持 | 描述 | Example |
---|---|---|---|
| ✔ | 在集成流中绑定 Kubernetes 资源,如 Kamelets,到 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 客户端版本。 |
|
其他资源