Setting up a CI/CD pipeline for building and deploying the Spring PetClinic Sample Application on Google Cloud with Kubernetes.
Clone the repository
Build the Docker image of the microservice
Push the Docker image to the Artifact registry
Set up kubectl
Replace & deploy the latest version of container image
deployment-manifests
- deployment.yaml
- hpa.yaml
- ingress.yaml
- service.yaml
The configured Cloud Build trigger will automatically build and deploy your Spring PetClinic application whenever changes are pushed to the petclinic repository