Kubernetes Engine: Qwik Start

📒 link

Overview

  • What is Google Kubernetes Engine(GKE)

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

    • The Kubernetes Engine environment consists of multiple machines (specifically Compute Engine instances) grouped to form a container cluster.

  • Benefit of Kubernetes on Google Cloud

Task 1. Set a default compute zone

gcloud config set compute/zone us-central1-a

Task 2. Create a GKE cluster

Task 3. Get authentication credentials for the cluster

Task 4. Deploy an application to the cluster

  • Deployment

    • Provides declarative updates for Pods and ReplicaSets.

  • Services

    • Abstrac way to expose an application running on a set of Pods as a network service.

✔️ Create a new Deployment

✔️ Create a Kubernetes Service

✔️ Inspect the Service

✔️ View the application from your web browser, open a new tab and enter the following address.

Task 5. Deleting the cluster

Summary

  • Get hands-on practice with container creation and application deployment with GKE.

Last updated