[英]Go+MySql: how easy is to migrate to GKE (Google Cloud Container Engine)?
My project is currently hosted by an independent cloud provider. 我的项目目前由独立的云提供商托管。
I am using 2 Virtual Machines, with Linux: 我在Linux上使用2个虚拟机:
I would now like to move to the Google Cloud Platform. 我现在想转到Google Cloud Platform。
Do you think does it make sense to move to Google Cointainer Engine (GKE), rather than to the Google Compute Engine (which would have the same virtual machine model (IaaS) I am using with the current provider)? 您认为迁移到Google Cointainer Engine(GKE)而不是Google Compute Engine(与当前提供商使用的虚拟机模型(IaaS)相同)是否有意义?
I have never used Kubernetes and Docker. 我从未使用过Kubernetes和Docker。 How easy would it be to make the migration? 进行迁移有多容易? Am I going to complicate my life uselessly? 我会无用地使我的生活复杂化吗?
How difficult is the configuration for my simple model? 我的简单模型的配置有多困难?
I have never used Kubernetes and Docker. 我从未使用过Kubernetes和Docker。
Moving to a platform that you have no experience with doesn't sound like a great idea. 转移到您没有经验的平台听起来不是一个好主意。 Instead, why not start by doing some tutorials about Docker and then Kubernetes? 相反,为什么不先做一些关于Docker的教程,然后再做Kubernetes?
After that, you might try Minikube ( https://kubernetes.io/docs/getting-started-guides/minikube/ ) locally to start writing some manifests for the components (which sound like maybe a DaemonSet or single Pod with PersistentVolume for MySQL and a Deployment for the Go application). 之后,您可以尝试在本地尝试Minikube( https://kubernetes.io/docs/getting-started-guides/minikube/ )以开始为组件编写一些清单(听起来像是DaemonSet或带有PersistentVolume的MySQL单个Pod)以及Go应用程序的部署)。
Once you have the pieces working locally, then it would probably make more sense to think about migrating. 一旦您在本地工作了,那么考虑迁移可能会更有意义。 You would have a much better understanding of what you are getting into and if it is something you would want to undertake. 您将更好地了解自己正在进入的领域,以及如果您想从事的事情。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.