利用 Alauda Container Platform Builds 安装的强大功能,实现从 Java 源代码到创建应用的整个过程,最终使应用能够在 Kubernetes 上以容器化方式高效运行。
在使用此功能之前,请确保:
在 Container Platform 中,点击 Applications > Applications。
点击 Create。
选择 Create from Code。
根据以下参数完成配置:
参数 | 推荐配置 |
---|---|
代码仓库 | 类型:Input 仓库 URL: https://github.com/alauda/spring-boot-hello-world |
构建方式 | Build |
镜像仓库 | 联系管理员。 |
应用 | Application:spring-boot-hello-world 名称: spring-boot-hello-world 资源限制:使用默认值。 |
网络 | 目标端口:8080 |
填写参数后,点击 Create。
可在 Details 页面查看对应应用状态。