Spring Boot Micro-services, Containers, and Kubernetes – How To

Công Nghệ



Recorded at SpringOne2GX 2015
Speaker: Ray Tsang, Google
Slides: TBD
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 application, the harder part is usually the clustering and fail-over configurations. First, we’ll go over how get started with Spring Boot, and, subsequently, using Maven plugins to generate and create Docker images during the build process. Next, we’ll go over some basic architecture and configurations, such as: – Configuring Spring Session – Using Redis as the session store – Testing the configuration locally with container linking – Tips and tricks for faster startup (/dev/./urandom is your friend) 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 Best part – we can visualize all of these activities happening in Kubernetes.

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 application, the harder part is usually the clustering and fail-over configurations. First, we’ll go over how get started with Spring Boot, and, subsequently, using Maven plugins to generate and create Docker images during the build process. Next, we’ll go over some basic architecture and configurations, such as: – Configuring Spring Session – Using Redis as the session store – Testing the configuration locally with container linking – Tips and tricks for faster startup (/dev/./urandom is your friend) 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 Best part – we can visualize all of these activities happening in Kubernetes.

Nguồn: https://bus-rush.info/

Xem thêm bài viết khác: https://bus-rush.info/cong-nghe/

27 thoughts on “Spring Boot Micro-services, Containers, and Kubernetes – How To

  1. They ran way too fast. showing a content of a file, say nothing about it and closing it immediately. Made me sea sick. Show less explain more.

  2. Thank you for the presentation
    I've a question about UI.
    If the origin of the microservices architecture is to build an ecosystem of independents services with organic responsibility (which have UI, logic or/and db)
    Why you use the UI service ?
    thank you

  3. hi sir, i see ur videos , i liked so much. i learned so much ,i want to know that i made a website in spring boot with jsp and hibernate , please suggest me what platform i choose to make website to website, should i moves to php of stay with spring boot please help me out if u reed this comment

  4. Docker Image: https://hub.docker.com/r/saturnism/spring-boot/
    GitHub Source: https://github.com/saturnism/spring-boot-docker
    Presentation: https://speakerdeck.com/saturnism/2015-springone-2gx-java-based-microservices-and-kubernetes-how-to

  5. Click here: https://youtu.be/Bcs-inRnLDc?t=4m45s to go the beginning of the presentation at 4:45, and then rewind to check out Bret McGowen's & Ray Tsang's bios at the beginning.

  6. boring and time wasting intro. The presenters overdid it when it came to talking about themselves. I got really tired after the presentation of was over. Even a presidential candidate would not go to such extents of endorsing himself. Big dislike.

Leave a Reply

Your email address will not be published. Required fields are marked *