通过代码创建应用

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

目录

前提条件

在使用此功能之前,请确保:

操作步骤

  1. Container Platform 中,点击 Applications > Applications

  2. 点击 Create

  3. 选择 Create from Code

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

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

  6. 可在 Details 页面查看对应应用状态。