Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Google Kubernetes Engine (GKE) and Google Compute Engine (GCE) in term of server management?

I believe that the Google Kubernetes Engine (GKE) is running on Google Compute Engine (GCE). So, what is the real advantage of using Google Kubernetes Engine in terms of server management?

I am referring to updates to the OS and security patches just like Google App Engine handles this for us. Does the SRE handle the update and security patches?

I know that Google App Engine already does this for us (updating the OS etc.), but on GAE, we are not able to attach a persistent disk.

My plan is to host a flat file CMS, which in this case, does not need for cloud SQL, cloud datastore, etc. Also, cloud memory store is way too expensive.

like image 680
mehmet adi Avatar asked Aug 09 '18 08:08

mehmet adi


1 Answers

A big difference between the two is that a normal GCE VM instance is completely unmanaged. Once you've used the GCP-provided image, all updates are up to you. Whereas with GKE, the Master and node versions can be set to upgrade automatically and you only choose which OS you want, not the specific OS version.

This means that if there are security patches or updates to a node OS, it will get pushed to your cluster. When there are improvements or patches to GKE (as long as you enable automatic upgrades) your nodes will receive the new versions.

GKE may cost you a little more than a stand-alone GCE VM, but it comes with more automation and management baked in.

like image 110
Patrick W Avatar answered Nov 15 '22 07:11

Patrick W