通过代码创建应用

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

前提条件

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

操作步骤

  1. Container Platform 中,单击 原生应用 > 原生应用

  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. 你可以在 详情 页面查看对应应用状态。