Robert Kubis - Java based microservices, containers, Kubernetes - how to
Join this session to learn how to create a Java-based microservice using Spring Boot, containerize it using Maven plugins, and subsequently deploy a fleet of microservices and dependent components such as Redis using Kubernetes. Spring Boot makes creating microservices fast and easy – when it comes to running a single instance. Like most Java applications, the harder part is usually the clustering and fail-over configurations. First, we’ll go over how to get started with Spring Boot, and, subsequently, create Docker images during the build process. Testing the configuration locally with container linking. Finally, with the images, we’ll deploy the microservice into Kubernetes: - Defining pods and services - Linking microservices to Redis using Kubernetes - Perform rolling upgrades of the application - Canary new versions of the microservices into the fleet The best part is – we can visualize all these activities happening in Kubernetes.