Member-only story

Deploy, Scale, and Update Your Website on Google Kubernetes Engine

Komal Agrawal
2 min readOct 18, 2022

Kubernetes

Kubernetes is a portable, extensible, open source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.

Google Kubernetes Engine (GKE) provides a managed environment for deploying, managing, and scaling your containerized applications using Google infrastructure.

Deploy container to GKE

To deploy and manage applications on a GKE cluster, you must communicate with the Kubernetes cluster management system. You typically do this by using the kubectl command-line tool.

Kubernetes represents applications as Pods, which are units that represent a container (or group of tightly-coupled containers). The Pod is the smallest deployable unit in Kubernetes.

To deploy your application, create a Deployment resource. The Deployment manages multiple copies of your application, called replicas, and schedules them to run on the individual nodes in your cluster. Deployments ensure this by creating a ReplicaSet. The ReplicaSet is responsible for making sure the number of replicas specified are always running.

Expose GKE deployment

You have deployed your application on GKE, but there isn’t a way to access it outside of the

--

--

Komal Agrawal
Komal Agrawal

Written by Komal Agrawal

Test Engineer @HCLTech, GCP DevOps Certified, Reader & Writer

No responses yet