【问题标题】:Spring Data Flow Helm chart: Is there a way to declare creation of applications and tasks within the helm charts?Spring Data Flow Helm 图表:有没有办法在 helm 图表中声明应用程序和任务的创建?
【发布时间】:2021-03-10 15:31:01
【问题描述】:

我遇到的唯一方法是按照文档使用 curl 命令:https://docs.spring.io/spring-cloud-dataflow/docs/2.7.1/reference/htmlsingle/#resources-app-registry-post

这使用 curl 命令来访问 api。我可以为其开发一个脚本,但我想在 helm 图表中进行设置,以便在部署 helm 图表时创建这些任务和应用程序。有什么想法吗?

【问题讨论】:

    标签: kubernetes-helm spring-data-flow


    【解决方案1】:

    请查看Spring Cloud Data Flow, Helm Installation, Register prebuilt applications,上面写着:

    应用程序可以使用应用程序注册功能单独注册,也可以使用应用程序导入功能作为一个组注册。

    所以,我猜你总是需要使用 Helm Chart 启动应用程序,然后才使用 app 或 REST Endpoint 注册应用程序。

    【讨论】:

    • 谢谢。经过大量研究,这似乎是唯一的方法
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-21
    • 2021-12-26
    • 2019-08-04
    • 2020-05-06
    相关资源
    最近更新 更多