Deploying a Spring Boot application to the GKE
The Spring Boot application that we will use in this section is the same as in the previous chapter (the application we named Breathe – View Real-Time Air Quality Data). We are already familiar with the application, so we will directly jump to the deployment to the GKE. We will be using gke-autopilot-cluster1
we created in the previous section for deployment. We will do the deployment using the following two approaches using Skaffold:
- Deploying from local to a remote GKE cluster using Skaffold
- Deploying from Cloud Shell to a GKE cluster using Skaffold
Deploying from local to a remote GKE cluster using Skaffold
In this section, you will learn how you can deploy the Spring Boot application to a remote Kubernetes cluster with the help of Skaffold. Let's begin:
- In the previous chapter, we used Dockerfile to containerize our Spring Boot application. However, in this chapter, we will be using the
Jib...