跳转至

k8s平台开具总结

应用容器化工具

Buildpacks tools

buildpack-equation

  • paketo Buildpacks:Buildpacks transform your application source code into container images,The Paketo open source project provides production-ready buildpacks for the most popular languages and frameworks;
  • buildpacks:Transform your application source code into images that can run on any cloud. Buildpacks were first conceived by Heroku in 2011. Since then, they have been adopted by Cloud Foundry and other PaaS such as Google App Engine, Gitlab, Knative, Deis, Dokku, and Drie.
  • Aliyun derrick: A tool to help you containerize application in seconds,已经三年没更新了。这点和网上的教程也不太像同,之前是使用python开发的,当前看到的版本已经更换成了 Golang 开发,其原理是通过模板渲染生成对应的 Dockefile 。
  • GCP Buildpack:Google Cloud 的 Buildpack 是一个开源项目,可获取您的应用源代码并将其转换为可供生产环境使用的容器映像。
  • AWS App2Container:AWS App2Container(A2C)是一种命令行工具,可将 Java 和 .NET Web 应用程序迁移并现代化为容器格式。AWS A2C 可分析在裸机、虚拟机、Amazon Elastic Compute Cloud(EC2)实例或云端运行的应用程序并构建清单。
  • Openshift S2I:Source-to-image (S2I) builder images include assemble and run scripts, but the default behavior of those scripts is not suitable for all users. You can customize the behavior of an S2I builder that includes default scripts. How Builds Work

Application-Specific Tools

Some programming languages and frameworks have their own containerization tools that simplify the process for specific applications. These tools often integrate with the language's build system or development tools.

  • Spring Boot: Spring Boot provides the spring-boot-buildpack for building container images of Spring Boot applications.
  • .NET: The .NET CLI includes tools for building and publishing container images for .NET applications.
  • Go: The go build command can create a container image directly from a Go application.

Containerize .NET applications without writing Dockerfiles

容器应用迁移

开源工具

  • velero:Velero is an open source tool to safely backup and restore, perform disaster recovery, and migrate Kubernetes cluster resources and persistent volumes.
  • image-syncer: image-syncer is a docker registry tools. With image-syncer you can synchronize docker images from some source registries to target registries, which include most popular public docker registry services.
  • Kompose :It's a conversion tool for all things compose (namely Docker Compose) to container orchestrators (Kubernetes or OpenShift). Translate a Docker Compose File to Kubernetes Resources

以下是主要的云厂商及其容器化迁移工具:

亚马逊云科技(AWS)

  • AWS Migration Hub: 提供了一个集中化的平台来管理和协调云迁移过程,包括容器化迁移。它提供了用于发现、评估、迁移和优化的工具。
  • AWS Container Engine (ACE): 一种完全托管的容器服务,用于在 AWS 上运行和管理容器化应用程序。它提供了简化的部署和管理功能,并支持来自不同来源的容器镜像。
  • AWS Elastic Container Service (ECS): 一种用于在 AWS 上运行和管理容器化应用程序的开源容器编排服务。它提供了高可用性和可扩展性,并支持各种容器运行时。

微软 Azure

  • Azure Migrate: 提供了一个集中化的平台来管理和协调云迁移过程,包括容器化迁移。它提供了用于发现、评估、迁移和优化的工具。
  • Azure Container Instances (ACI): 一种无服务器容器服务,用于在 Azure 上运行容器化应用程序。它提供了简化的部署和管理功能,并支持来自不同来源的容器镜像。
  • Azure Kubernetes Service (AKS): 一种完全托管的 Kubernetes 服务,用于在 Azure 上运行和管理容器化应用程序。它提供了高可用性和可扩展性,并支持各种 Kubernetes 功能。

谷歌云平台(GCP)

  • GCP Migrate for Compute Engine: 提供了一个集中化的平台来管理和协调云迁移过程,包括容器化迁移。它提供了用于发现、评估、迁移和优化的工具。
  • Google Kubernetes Engine (GKE): 一种完全托管的 Kubernetes 服务,用于在 GCP 上运行和管理容器化应用程序。它提供了高可用性和可扩展性,并支持各种 Kubernetes 功能。
  • Cloud Run: 一种无服务器平台,用于在 GCP 上运行容器化应用程序。它提供了简化的部署和管理功能,并支持来自不同来源的容器镜像。

阿里云

  • 阿里云应用迁移中心(Cloud Migration Hub,简称CMH): 提供了一个集中化的平台来管理和协调云迁移过程,包括容器化迁移。它提供了用于发现、评估、迁移和优化的工具。
  • 阿里云容器引擎(ACE): 一种完全托管的容器服务,用于在阿里云上运行和管理容器化应用程序。它提供了简化的部署和管理功能,并支持来自不同来源的容器镜像。
  • 阿里云容器服务(ACS): 一种开源容器编排服务,用于在阿里云上运行和管理容器化应用程序。它提供了高可用性和可扩展性,并支持各种容器运行时。

华为云

  • 华为云应用迁移中心(mgc): 提供了一个集中化的平台来管理和协调云迁移过程,包括容器化迁移。它提供了用于发现、评估、迁移和优化的工具。
  • 华为云容器引擎(CCE): 提供高可靠高性能的企业级容器应用管理服务,支持Kubernetes社区原生应用和工具,简化云上自动化容器运行环境搭建。
  • 华为云容器服务(CCI): 提供Serverless容器服务,用户无需关注集群和服务器,简单配置即可快速创建容器负载

工具如下:

  • kspider: kspider is a tool used to collect information about the source cluster. It provides cluster-related data such as the Kubernetes version, scale, workload quantity, storage, and in-use images. The data helps you understand the current status of the cluster and evaluate migration risks, and select a proper destination cluster version and scale.\
  • image-migrator: image-migrator is an image migration tool that can automatically migrate images from the Docker image repository built on Docker Registry v2 to SWR, or from the image repository on a third-party cloud to SWR.
  • k8clone: k8clone is an easy-to-use Kubernetes metadata cloning tool. It can save Kubernetes metadata (objects) as a local package and restore the metadata to the destination cluster.

https://support.huaweicloud.com/intl/en-us/usermanual-ucs/ucs_01_0171.html

捐赠本站(Donate)

weixin_pay
如您感觉文章有用,可扫码捐赠本站!(If the article useful, you can scan the QR code to donate))