Walking Through Spring Cloud Data FlowVMware Tanzu
SpringOne 2020
Walking Through Spring Cloud Data Flow
Glenn Renfro, Software Developer at VMware
Ilayaperumal Gopinathan, Staff Software Engineer at VMware
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real EventsVMware Tanzu
SpringOne 2020
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
James Webb, MTS at T-Mobile
Brendan Aye, Technical Director, Platform Architecture at T-Mobile
Walking Through Spring Cloud Data FlowVMware Tanzu
SpringOne 2020
Walking Through Spring Cloud Data Flow
Glenn Renfro, Software Developer at VMware
Ilayaperumal Gopinathan, Staff Software Engineer at VMware
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real EventsVMware Tanzu
SpringOne 2020
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
James Webb, MTS at T-Mobile
Brendan Aye, Technical Director, Platform Architecture at T-Mobile
The Path Towards Spring Boot Native ApplicationsVMware Tanzu
SpringOne 2020
The Path Towards Spring Boot Native Applications
Sébastien Deleuze, Spring Framework Committer at VMware
Andy Clement, Director at VMware
Learn how enterprise leaders are using Azure Spring Cloud to transform their IT operations and deliver value. This moderated panel discussion will feature customers sharing real-world stories about:
• Running Spring apps in the cloud at enterprise scale
• Embracing hybrid as the new normal
• Transforming their technology stacks
• Implementing zero-trust security and network requirements
• Empowering their developers to rapidly dev and deploy
• Delivering value faster to their end customers
PKS: The What and How of Enterprise-Grade KubernetesVMware Tanzu
SpringOne Platform 2017
Cornelia Davis, Pivotal; Fred Melo, Pivotal
Because of its well thought out and powerful abstractions, robust and cloud-native architecture, and the vibrant community around it, the use of Kubernetes for containerized workloads has surged. And while Kubernetes is theoretically ready to run applications in production, the actual viability is highly dependent on how Kubernetes itself is managed. In this session Cornelia and Fred will cover role of the container orchestration system in your IT landscape, and they’ll dive under the covers to show how it provides the enterprise-class Kubernetes services you need to trust your most critical workloads to it. Yes, technical details revealed!
Next-Generation Cloud Native Apps with Spring Cloud and KubernetesVMware Tanzu
SpringOne 2021
Session Title: Next-Generation Cloud Native Apps with Spring Cloud and Kubernetes
Speaker: Ryan Baxter, Staff Software Engineer at VMware
In today’s cloud native world, Docker Images are the lingua franca for platform portability. Unfortunately, there’s no clear direction for developers to turn their Spring applications into those Docker Images. The most likely tool for Docker Image creation, Dockerfile, has serious Day 2 limitations that make it a poor choice for many situations. This session will explore how to use the Cloud Native Buildpacks (CNCF) project and its integrations into the Spring ecosystem. It will cover the use of Spring Boot’s Maven and Gradle plugins, the pack CLI, the kpack Kubernetes service, and more.
Part 4: Custom Buildpacks and Data Services (Pivotal Cloud Platform Roadshow)VMware Tanzu
Custom Buildpacks & Data Services
The primary goals of this session are to:
Give an overview of the extension points available to Cloud Foundry users.
Provide a buildpack overview with a deep focus on the Java buildpack (my target audience has been Java conferences)
Provide an overview of service options, from user-provided to managed services, including an overview of the V2 Service Broker API.
Provide two hands-on lab experiences:
Java Buildpack Extension
via customization (add a new framework component)
via configuration (upgrade to Java 8)
Service Broker Development/Management
deploy a service broker for “HashMap as a Service (HaaSh).”
Register the broker, make the plan public.
create an instance of the HaaSh service
deploy a client app, bind to the service, and test it
Pivotal Cloud Platform Roadshow is coming to a city near you!
Join Pivotal technologists and learn how to build and deploy great software on a modern cloud platform. Find your city and register now http://bit.ly/1poA6PG
The Path Towards Spring Boot Native ApplicationsVMware Tanzu
SpringOne 2020
The Path Towards Spring Boot Native Applications
Sébastien Deleuze, Spring Framework Committer at VMware
Andy Clement, Director at VMware
Learn how enterprise leaders are using Azure Spring Cloud to transform their IT operations and deliver value. This moderated panel discussion will feature customers sharing real-world stories about:
• Running Spring apps in the cloud at enterprise scale
• Embracing hybrid as the new normal
• Transforming their technology stacks
• Implementing zero-trust security and network requirements
• Empowering their developers to rapidly dev and deploy
• Delivering value faster to their end customers
PKS: The What and How of Enterprise-Grade KubernetesVMware Tanzu
SpringOne Platform 2017
Cornelia Davis, Pivotal; Fred Melo, Pivotal
Because of its well thought out and powerful abstractions, robust and cloud-native architecture, and the vibrant community around it, the use of Kubernetes for containerized workloads has surged. And while Kubernetes is theoretically ready to run applications in production, the actual viability is highly dependent on how Kubernetes itself is managed. In this session Cornelia and Fred will cover role of the container orchestration system in your IT landscape, and they’ll dive under the covers to show how it provides the enterprise-class Kubernetes services you need to trust your most critical workloads to it. Yes, technical details revealed!
Next-Generation Cloud Native Apps with Spring Cloud and KubernetesVMware Tanzu
SpringOne 2021
Session Title: Next-Generation Cloud Native Apps with Spring Cloud and Kubernetes
Speaker: Ryan Baxter, Staff Software Engineer at VMware
In today’s cloud native world, Docker Images are the lingua franca for platform portability. Unfortunately, there’s no clear direction for developers to turn their Spring applications into those Docker Images. The most likely tool for Docker Image creation, Dockerfile, has serious Day 2 limitations that make it a poor choice for many situations. This session will explore how to use the Cloud Native Buildpacks (CNCF) project and its integrations into the Spring ecosystem. It will cover the use of Spring Boot’s Maven and Gradle plugins, the pack CLI, the kpack Kubernetes service, and more.
Part 4: Custom Buildpacks and Data Services (Pivotal Cloud Platform Roadshow)VMware Tanzu
Custom Buildpacks & Data Services
The primary goals of this session are to:
Give an overview of the extension points available to Cloud Foundry users.
Provide a buildpack overview with a deep focus on the Java buildpack (my target audience has been Java conferences)
Provide an overview of service options, from user-provided to managed services, including an overview of the V2 Service Broker API.
Provide two hands-on lab experiences:
Java Buildpack Extension
via customization (add a new framework component)
via configuration (upgrade to Java 8)
Service Broker Development/Management
deploy a service broker for “HashMap as a Service (HaaSh).”
Register the broker, make the plan public.
create an instance of the HaaSh service
deploy a client app, bind to the service, and test it
Pivotal Cloud Platform Roadshow is coming to a city near you!
Join Pivotal technologists and learn how to build and deploy great software on a modern cloud platform. Find your city and register now http://bit.ly/1poA6PG
Spring Boot - Microservice Metrics MonitoringDonghuKIM2
마이크로서비스 아키텍쳐에서의 분산된 서비스간의 모니터링 방법을 소개합니다.
- Microservice Monitoring with Service Discovery (Eureka) Spring Boot Admin
- Microservice Monitoring with Service Discovery (Consul), Prometheus, Grafana
✭✭ NOTE: a revised version of this lab is available at https://www.slideshare.net/williamyeh/rd-kubernetes-gdg-cloud-kh-201908-version ✭✭
90-Minute Workshop held at Taiwan Cloud Edge Summit 2019 (台灣雲端大會).
* 課程簡介
Kubernetes 是目前雲端環境的顯學。可是,傳統的程式,並不是原封不動搬上去,就能夠自動享受 Kubernetes 所宣稱的種種好處。 新的環境,不僅需要新的 Ops 思維,也需要新的 Dev 思維。我們將以一個半小時的時間,從軟體研發者的角度,探討軟體的設計該做哪些最起碼的改變,從實作中體驗 Kubernetes 引進的新觀念及新效益。
* 課程目標
從實例中體驗,傳統 web 應用程式在搬上 Kubernetes 時,可能會經歷哪些架構面的調整,才能享受新架構的效益:
- 容器化
- 微服務
- 組態管理
- 多重環境管理:本機端與雲端(以 GKE 為例)
Pivotal Platform - December Release A First LookVMware Tanzu
Join Dan Baskette and Jared Ruckle for a first look at the latest Pivotal Platform capabilities with demos and expert Q&A. Attend this session and learn how you can put these new updates to work for your enterprise. We’ll review these highlights in more depth:
● Pivotal Spring Cloud Gateway: The cloud-native gateway developers love
● App developers can deploy user-provided sidecars with a buildpack (beta)
● Pivotal Cloud Cache 1.10 takes performance even higher
● The new RabbitMQ open source release comes to Pivotal Platform
We’ll also review new capabilities to help .NET developers go faster, and enhancements for platform observability.
Presenters :Jared Ruckle and Dan Baskette, Pivotal
A Deep Dive into the Liberty Buildpack on IBM BlueMix Rohit Kelapure
This talk goes into the details and mechanics of how the Liberty buildpack deploys an application into the IBM BlueMix Cloud Foundry. It also explores how the Cloud Foundry runtime drives the Liberty buildpack code and what the Liberty buildpack code in Cloud Foundry does to run an application in the cloud environment. This talk touches on the restrictions that Cloud Foundry and the Liberty runtime imposes on applications running in Cloud Foundry. Developers attending this talk get deep insight into the why, what, how, and when of the Liberty buildpack ruby code, enabling them to write applications faster and optimized for the Liberty runtime in IBM BlueMix.
You've Made Kubernetes Available to Your Developers, Now What?cornelia davis
Congratulations! You’ve built out your Kubernetes infrastructure and it’s ready for prime-time. But if you want to optimize for Developer Productivity, Operational Efficiency, Security Posture, you have more to do. Do your developers know how to build secure containers? Do they know about persistent volumes and claims? Setting pod security policies? Are they willing to take on operational responsibilities (and are you ok delegating that to them?). Who’s responsible for addressing OS vulnerabilities?
Kubernetes doesn’t address these concerns, but it’s likely you are responsible for finding the answers. In this session we’ll equip you with tools and techniques to solve these problems, based on our experience deploying hundreds of thousands of containers across Fortune 500 organizations.
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...Oleg Shalygin
Kubernetes provides an automated platform to deployment, scaling and operations of applications across a cluster of hosts. Complementing Kubernetes with a series of build scripts in conjunction with Travis-CI, GitHub, Artifactory, and Google Cloud Platform, we can take code from a merged pull request to a deployed environment with no manual intervention on a highly scaleable and robust infrastructure.
Whats new in Enterprise 5.0 Product SuiteMicro Focus
This What's New? document covers some of the new features and functions in the latest release of theMicro Focus Enterprise Product Suite. Updates apply to the following products:•Micro Focus Enterprise Developer which provides a contemporary development suite for developingand maintaining mainframe applications, whether the target deployment is on or off the mainframe.•Micro Focus Enterprise Test Server which provides a comprehensive test platform that takesadvantage of low cost processing power on Windows environments, to supply scalable capacity fortesting z/OS applications without consuming z/OS resources.•Micro Focus Enterprise Server which provides the execution environment to deploy fit-for-purposemainframe workload on Linux, UNIX and Windows (LUW) environments on IBM LinuxONE (IFLs),standalone servers, virtual servers, or the Cloud.•Micro Focus Enterprise Server for .NET which provides the execution and modernization platform todeploy fit-for-purpose mainframe workload on a scale-out .NET infrastructure and the Azure Cloud.This document helps you to quickly understand the new capabilities within the 5.0 release.
Your developers are asking for it. The boss is wondering how much longer it's going to take. You need to get Kubernetes up and running. This session will explore core Kubernetes concepts as it relates to our knowledge as a vSphere administrator. We will explore the differences between open source and commercialized versions of Kubernetes and take a quick look at different application deployment mechanisms. You’re going to leave with a better understanding of Kubernetes architecture and how to take the next step towards containerization.
Salvatore Incandela, Fabio Marinelli - Using Spinnaker to Create a Developmen...Codemotion
Out of the box Kubernetes is an Operations platform which is great for flexibility but creates friction for deploying simple applications. Along comes Spinnaker which allows you to easily create custom workflows for testing, building, and deploying your application on Kubernetes. Salvatore Incandela and Fabio Marinelli will give an introduction to Containers and Kubernetes and the default development/deployment workflows that it enables. They will then show you how you can use Spinnaker to simplify and streamline your workflow and help provide a full #gitops style CI/CD.
Technology Primer: Closing the DevOps Loop by Integrating CA Application Perf...CA Technologies
The new CA Application Performance Management (CA APM) plug-in for Jenkins helps organizations leverage CA APM in the pre-production environment by integrating with Jenkins, a popular continuous integration tools. With this plug-in, the critical pre-production test data can now be seamlessly brought into Jenkins and presented in a unified cross-build or per-build dashboard. It enables the app developers to configure build pass or fail conditions automating the decision making process without any manual intervention.
For more information, please visit http://cainc.to/Nv2VOe
The Tanzu Developer Connect is a hands-on workshop that dives deep into TAP. Attendees receive a hands on experience. This is a great program to leverage accounts with current TAP opportunities.
The Tanzu Developer Connect is a hands-on workshop that dives deep into TAP. Attendees receive a hands on experience. This is a great program to leverage accounts with current TAP opportunities.
Software Engineering, Software Consulting, Tech Lead, Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Transaction, Spring MVC, OpenShift Cloud Platform, Kafka, REST, SOAP, LLD & HLD.
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxrickgrimesss22
Discover the essential features to incorporate in your Winzo clone app to boost business growth, enhance user engagement, and drive revenue. Learn how to create a compelling gaming experience that stands out in the competitive market.
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Globus
Large Language Models (LLMs) are currently the center of attention in the tech world, particularly for their potential to advance research. In this presentation, we'll explore a straightforward and effective method for quickly initiating inference runs on supercomputers using the vLLM tool with Globus Compute, specifically on the Polaris system at ALCF. We'll begin by briefly discussing the popularity and applications of LLMs in various fields. Following this, we will introduce the vLLM tool, and explain how it integrates with Globus Compute to efficiently manage LLM operations on Polaris. Attendees will learn the practical aspects of setting up and remotely triggering LLMs from local machines, focusing on ease of use and efficiency. This talk is ideal for researchers and practitioners looking to leverage the power of LLMs in their work, offering a clear guide to harnessing supercomputing resources for quick and effective LLM inference.
Large Language Models and the End of ProgrammingMatt Welsh
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaYara Milbes
Discover the transformative power of the WhatsApp API in our latest SlideShare presentation, "Top 7 Unique WhatsApp API Benefits." In today's fast-paced digital era, effective communication is crucial for both personal and professional success. Whether you're a small business looking to enhance customer interactions or an individual seeking seamless communication with loved ones, the WhatsApp API offers robust capabilities that can significantly elevate your experience.
In this presentation, we delve into the top 7 distinctive benefits of the WhatsApp API, provided by the leading WhatsApp API service provider in Saudi Arabia. Learn how to streamline customer support, automate notifications, leverage rich media messaging, run scalable marketing campaigns, integrate secure payments, synchronize with CRM systems, and ensure enhanced security and privacy.
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppGoogle
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-fusion-buddy-review
AI Fusion Buddy Review: Key Features
✅Create Stunning AI App Suite Fully Powered By Google's Latest AI technology, Gemini
✅Use Gemini to Build high-converting Converting Sales Video Scripts, ad copies, Trending Articles, blogs, etc.100% unique!
✅Create Ultra-HD graphics with a single keyword or phrase that commands 10x eyeballs!
✅Fully automated AI articles bulk generation!
✅Auto-post or schedule stunning AI content across all your accounts at once—WordPress, Facebook, LinkedIn, Blogger, and more.
✅With one keyword or URL, generate complete websites, landing pages, and more…
✅Automatically create & sell AI content, graphics, websites, landing pages, & all that gets you paid non-stop 24*7.
✅Pre-built High-Converting 100+ website Templates and 2000+ graphic templates logos, banners, and thumbnail images in Trending Niches.
✅Say goodbye to wasting time logging into multiple Chat GPT & AI Apps once & for all!
✅Save over $5000 per year and kick out dependency on third parties completely!
✅Brand New App: Not available anywhere else!
✅ Beginner-friendly!
✅ZERO upfront cost or any extra expenses
✅Risk-Free: 30-Day Money-Back Guarantee!
✅Commercial License included!
See My Other Reviews Article:
(1) AI Genie Review: https://sumonreview.com/ai-genie-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
#AIFusionBuddyReview,
#AIFusionBuddyFeatures,
#AIFusionBuddyPricing,
#AIFusionBuddyProsandCons,
#AIFusionBuddyTutorial,
#AIFusionBuddyUserExperience
#AIFusionBuddyforBeginners,
#AIFusionBuddyBenefits,
#AIFusionBuddyComparison,
#AIFusionBuddyInstallation,
#AIFusionBuddyRefundPolicy,
#AIFusionBuddyDemo,
#AIFusionBuddyMaintenanceFees,
#AIFusionBuddyNewbieFriendly,
#WhatIsAIFusionBuddy?,
#HowDoesAIFusionBuddyWorks
First Steps with Globus Compute Multi-User EndpointsGlobus
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
Unlocking Business Potential: Tailored Technology Solutions by Prosigns
Discover how Prosigns, a leading technology solutions provider, partners with businesses to drive innovation and success. Our presentation showcases our comprehensive range of services, including custom software development, web and mobile app development, AI & ML solutions, blockchain integration, DevOps services, and Microsoft Dynamics 365 support.
Custom Software Development: Prosigns specializes in creating bespoke software solutions that cater to your unique business needs. Our team of experts works closely with you to understand your requirements and deliver tailor-made software that enhances efficiency and drives growth.
Web and Mobile App Development: From responsive websites to intuitive mobile applications, Prosigns develops cutting-edge solutions that engage users and deliver seamless experiences across devices.
AI & ML Solutions: Harnessing the power of Artificial Intelligence and Machine Learning, Prosigns provides smart solutions that automate processes, provide valuable insights, and drive informed decision-making.
Blockchain Integration: Prosigns offers comprehensive blockchain solutions, including development, integration, and consulting services, enabling businesses to leverage blockchain technology for enhanced security, transparency, and efficiency.
DevOps Services: Prosigns' DevOps services streamline development and operations processes, ensuring faster and more reliable software delivery through automation and continuous integration.
Microsoft Dynamics 365 Support: Prosigns provides comprehensive support and maintenance services for Microsoft Dynamics 365, ensuring your system is always up-to-date, secure, and running smoothly.
Learn how our collaborative approach and dedication to excellence help businesses achieve their goals and stay ahead in today's digital landscape. From concept to deployment, Prosigns is your trusted partner for transforming ideas into reality and unlocking the full potential of your business.
Join us on a journey of innovation and growth. Let's partner for success with Prosigns.
Prosigns: Transforming Business with Tailored Technology Solutions
Spring Boot Loves K8s
1. Spring Boot loves k8s
September 2–3, 2020
springone.io
#session-spring-boot-loves-k8s on Slack
1
Stéphane Nicoll @snicoll
Brian Clozel @bclozel
2. Safe Harbor Statement
The following is intended to outline the general direction of VMware's offerings. It is intended for
information purposes only and may not be incorporated into any contract. Any information regarding
pre-release of VMware offerings, future updates or other planned modifications is subject to ongoing
evaluation by VMware and is subject to change. This information is provided without warranty or any
kind, express or implied, and is not a commitment to deliver any material, code, or functionality, and
should not be relied upon in making purchasing decisions regarding VMware's offerings. These
purchasing decisions should only be based on features currently available. The development, release,
and timing of any features or functionality described for VMware's offerings in this presentation remain
at the sole discretion of Pivotal. Pivotal has no obligation to update forward looking information in this
presentation.
2
6. Agenda
Showcasing Spring Boot 2.3 features during a live coding session
● The “Scribe” application
● Efficient Container images
● Liveness and Readiness
● Graceful Shutdown
● Next in Spring Boot 2.4+
6
13. Very Basic Dockerfile for Java apps
10
FROM openjdk:8-jre-alpine
WORKDIR application
ARG JAR_FILE=scribe/target/scribe-*.jar
COPY ${JAR_FILE} application.jar
ENTRYPOINT ["java","-jar","application.jar"]
14. Layers in Container images
11
FROM … [FROM CACHE]
COPY … [FROM CACHE]
COPY … [REBUILDING]
RUN …
Layers represent changes/intermediate images (like git commits)
When rebuilding an image, layers
can be cached and reused if their
content did not change.
15. Optimizing Container images
12
FROM … [FROM CACHE]
COPY application.jar [REBUILDING]
Regrouping resources with similar lifecycle will improve
image build time and storage efficiency.
In our current Dockerfile, the entire
layer needs to be rebuilt for any
change in the application
20. Layered container images
15
FROM …
COPY --from=builder source/snapshot-dependencies/ ./
COPY --from=builder source/spring-boot-loader/ ./
COPY --from=builder source/dependencies/ ./
Spring Boot can build efficient container images.
Developers can customize
the layer arrangement and
reorder, add their own…
Using the Maven/Gradle
build plugins.
COPY --from=builder source/application/ ./
21. Spring Boot + Buildpacks
No Dockerfile required!
Build locally with the CLI:
16
./mvnw spring-boot:build-image
./gradlew bootBuildImage
Also, delegate to your company’s builder instance in your build pipeline.
22. Cloud Native Buildpacks
With buildpacks.io, you can delegate container image building for:
• Balanced control between app devs and platform operators
• Security and compliance requirements handled in one place
• Easier maintenance/upgrades
17
23. What about other solutions?
Buildpacks, Dockerfiles, Jib, s2i, ko…
They have different approaches and features,
see https://buildpacks.io/features/
Choose what fits best for your team!
18
24. Next: Spring to image
Later today, check out the “Spring to image” session with Ben Hale.
https://springone.io/2020/sessions/spring-to-image
This session will cover Spring Boot build plugins, the pack CLI, the kpack
Kubernetes service and more!
19
26. Liveness and Readiness
1. New concepts supported in Spring Boot core.
2. Complement the existing application Health support in Actuator.
3.Empower developers with ApplicationAvailability.
21
27. Liveness and Readiness states
Liveness
“CORRECT” if the internal state of
the app is fine. External
dependencies or the service
itself might not respond
correctly still.
“BROKEN” if the internal state of
the application is broken and
restarting is the only way to fix
it.
22
Readiness
“ACCEPTING_TRAFFIC” is a way
to tell load balancers that the
app is ready to serve requests.
The app is “REFUSING_TRAFFIC”
if it considers that its load is too
high, or depending on its
lifecycle stage (starting up,
shutting down).
28. Liveness and Readiness Probes
Liveness and Readiness states are available as health groups.
Enabled automatically on k8s, or with the config property:
23
https://example.org/actuator/health/liveness
https://example.org/actuator/health/readiness
Probes are available here and in sync with the application lifecycle:
management.endpoint.health.probes.enabled=true
29. Probes as Health Groups
Liveness and readiness probes are using the Health Groups feature.
You can configure additional checks to a probe:
24
management.endpoint.health.group.readiness.include=readinessState,customCheck
⚠ You should be careful about checking for external state in probes.
30. ApplicationAvailability
25
@Component
public class LocalCacheVerifier {
private final ApplicationEventPublisher eventPublisher;
public void checkLocalCache() {
try { //...
} catch (CacheCompletelyBrokenException ex) {
AvailabilityChangeEvent.publish(this.eventPublisher, ex, LivenessState.BROKEN);
}
}
} // see more in reference docs
32. Shutting down app with active requests
27
Scribe
MarkdownConverter
MarkdownConverter
MarkdownConverter
HTTP POST /convert
1. Processing…
33. Shutting down app with active requests
27
Scribe
MarkdownConverter
MarkdownConverter
MarkdownConverter
HTTP POST /convert
1. Processing…
2. Shutdown!
40. Config file processing
Volume mounted configuration trees, multi-document properties files,
profile groups, etc. See config file processing blog post.
31
spring.config.activate.on-cloud-platform=kubernetes
spring.config.import=configtree:/etc/config
spring.config.activate.on-cloud-platform=kubernetes
spring.config.import=configtree:/etc/config
spring.config.activate.on-cloud-platform=kubernetes
spring.config.import=configtree:/etc/config
spring.config.activate.on-cloud-platform=kubernetes
spring.config.import=configtree:/etc/config
spring.config.activate.on-cloud-platform=kubernetes
spring.config.import=configtree:/etc/config
etc/
+- config/
+- my/
| +- application
+- test
41. Graceful shutdown improvements
The team is considering adding a shutdown delay option because most
platforms still route traffic to while routing state is converging.
Currently you can use a PreStop hook to delay the shutdown sequence.
32
42. Layered JARs enabled by default
As of 2.4.0, Spring Boot JARs will ship with the layers.idx by default.
Useful metadata for tools in your CI/CD pipeline.
33
43. Stay Connected.
Q&A #session-spring-boot-loves-k8s on Slack
“Spring to Image” session with Ben Hale
Slides and code:
https://springone.io/2020/sessions/spring-boot-loves-k8s
https://github.com/snicoll/spring-boot-loves-k8s
#springone@s1p