[英]Migrate Java Swing ANT based application to GCP
We have a ANT based Java Swing application which currently get deployed on Solaris.我们有一个基于 ANT 的 Java Swing 应用程序,目前已部署在 Solaris 上。 We build.deb file for download and piggyback on on-premise server to download for user.
我们构建.deb 文件以供下载并搭载在本地服务器上以供用户下载。 Now, as we are moving to GCP, I am doing research to make it as smooth as possible.
现在,当我们转向 GCP 时,我正在进行研究以使其尽可能顺利。 I have following concern in this regard:
我对此有以下担忧:
The basic deployable unit in Kubernetes is a Pod . Kubernetes 中的基本可部署单元是Pod 。 If you want to create
Pod
/ Deployment
resources, you need to specify container image you want to run and there is no way to use .deb
package instead.如果要创建
Pod
/ Deployment
资源,则需要指定要运行的容器映像,并且无法使用.deb
package 代替。
You can use already existing Apache Ant image eg webratio/ant as your base container image or create new one by defining a Dockerfile .您可以使用已经存在的Apache Ant镜像(例如webratio/ant )作为基础容器镜像,或者通过定义Dockerfile来创建新镜像。 For more information on creating and deploying containerized applications, see this tutorial .
有关创建和部署容器化应用程序的更多信息,请参阅本教程。
Of course you don't have to manually build container images every time, you may use CI/CD software such asCloud Build or GitLab CI/CD to build an image and even deploy resources on Kubernetes cluster.当然不必每次都手动构建容器镜像,可以使用Cloud Build或GitLab CI/CD等 CI/CD 软件构建镜像,甚至在 Kubernetes 集群上部署资源。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.