通过代码创建应用

使用 Alauda Container Platform Builds 安装的强大功能,实现从 Java 源代码到创建应用的完整流程,并最终使应用能够以容器化方式在 Kubernetes 上高效运行。

前提条件

使用此功能前,请确保:

操作步骤

  1. 在容器平台中,单击原生应用 > 原生应用。

  2. 单击创建。

  3. 选择从代码创建。

  4. 根据以下参数完成配置:

    参数推荐配置
    代码仓库类型:Input
    仓库 URL:https://github.com/alauda/spring-boot-hello-world
    构建方式Build
    镜像仓库联系管理员。
    原生应用原生应用:spring-boot-hello-world
    名称:spring-boot-hello-world
    资源限制:使用默认值。
    网络目标端口:8080
  5. 填写参数后,单击创建。

  6. 您可以在详情页面查看相应的应用状态。