GCP — Deploying Angular App with .NET Web API on GKE Autopilot

A step by step guide with an example project

Bhargav Bachina
Bachina Labs

--

In this post, we are going to deploy an Angular application with a .NET web API. First, we dockerize our app and push that image to the Google container registry and run that app on Google GKE Autopilot. We will see how we can build the Kubernetes cluster on Google GKE, Accessing clusters from outside, configuring kubectl to work with the GKE cluster, and many more.

  • Example Project
  • Prerequisites
  • Install gcloud CLI and Configure
  • Dockerize the Project
  • Pushing Docker Image To Container Registry
  • Creating GKE Autopilot Cluster
  • Configure Kuebctl With GKE Autopilot Cluster
  • Deploy Kubernetes Objects on GKE Autopilot Cluster
  • Access the WebApp from the browser
  • Summary
  • Conclusion

Example Project

This is a simple project which demonstrates developing and running an Angular application with the .NET. We have a simple app in which we can add users, count, and display them at the side, and retrieve them whenever you want.

--

--