如何从Apache Camel-K中创建YAML?

发布于 2025-01-21 05:00:18 字数 292 浏览 5 评论 0原文

我正在与Camel-K一起玩,以建立一些集成。开发模式体验真的很棒。我的命令是kamel run -config文件:demo-template.json demo-driver.groovy -dev

但是当我完成后,我不仅希望删除- dev 代码>开关。我想拥有一些YAML文件以检查到Git,并用ArgOCD或Flux部署它们。

是否有kamel build ... -dry -run = client -o yaml或类似的东西?

I am playing around with camel-k to build some integrations. The dev mode experience is really great. My command is kamel run --config file:demo-template.json demo-driver.groovy --dev

But when i am finished i would like not just remove the --dev switch. I would like to have some yaml files to check in into git and the deploy them with ArgoCD or Flux.

Is there something like kamel build ... --dry-run=client -o yaml or similar?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

波浪屿的海角声 2025-01-28 05:00:18

您可以使用kamel run ... -o yaml,例如:

kamel run --config file:demo-template.json demo-driver.groovy -o yaml > integration.yaml

尽管运行名称,但在指定输出时,它实际上不会运行集成

You can use kamel run ... -o yaml, for example:

kamel run --config file:demo-template.json demo-driver.groovy -o yaml > integration.yaml

Despite the run name, when specifying the output, it will not actually run the integration

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文