Hands-On Java with Kubernetes
$35.00
Minimum price
$35.00
Suggested price

Hands-On Java with Kubernetes

About the Book

This book is a practical guide for developers eager to build, deploy, and scale Java applications in the cloud-native age. Instead of overwhelming you with theory, it takes a hands-on approach, showing you how to run your first Spring Boot and Quarkus apps on Kubernetes without writing a single line of YAML or Dockerfile.

From setting up a local Kubernetes environment to mastering best practices, security, scalability, and service mesh, you’ll learn how to leverage frameworks and tools like Quarkus, Spring Boot, Prometheus, Istio, Tekton, and Argo CD. Each chapter includes runnable examples in a GitHub repository, making it easy to follow along.

Whether you’re a Java developer new to Kubernetes or an experienced engineer looking to modernize applications, this book offers step-by-step guidance to help you navigate the cloud-native ecosystem and confidently deliver production-ready applications.

About the Author

Piotr Mińkowski
Piotr Mińkowski

Piotr Mińkowski is an experienced software engineer and systems architect with expertise in Java technologies, microservice architecture, and container platforms. He actively manages a popular technical blog where he shares practical knowledge about modern software development, cloud computing, and DevOps.

Piotr has extensive professional experience in designing, migrating, and transforming monolithic applications into microservice and container architectures, especially using Kubernetes. He has worked on numerous commercial projects, where he was responsible for modernizing systems, improving application scalability, and implementing cloud-native solutions.

Team Discounts

Get a team discount on this book!

Up to 3 Team Members
Minimum price$87.00Suggested price$87.00
Up to 5 Team Members
Minimum price$140.00Suggested price$140.00
Up to 10 Team Members
Minimum price$245.00Suggested price$245.00
Up to 15 Team Members
Minimum price$350.00Suggested price$350.00
Up to 25 Team Members
Minimum price$525.00Suggested price$525.00

Table of Contents

    • Introduction & Motivation
    • Chapter 1: Run First Applications on Kubernetes
      • Install Command-Line Tools for Development
      • Generate an App using Quarkus CLI
      • Deploy Quarkus Application on Kubernetes
      • Expose an App Outside a Cluster
      • Generate an App using Spring Boot CLI
      • Generate Kubernetes Manifests with the Dekorate Library
      • Spring Boot App Image with Cloud Native Buildpacks
      • Conclusion
    • Chapter 2: Local Environment
      • Install Docker Desktop
      • Install Podman Desktop
      • Run Kubernetes in Docker (KinD)
      • Install OpenShift Local
      • Install Helm
      • Conclusion
    • Chapter 3: Best Practices for Java Applications with Kubernetes
      • Application Logs
      • Liveness and Readiness Health Checks
      • Externalized Configuration
      • Collecting Metrics with Prometheus
      • Traffic Management and Tracing with Service Mesh
      • Resource Requests and Limits
      • Code Ready for Native Compilation
      • Conclusion
    • Chapter 4: Inner Development Loop
      • Quarkus in Development Mode with Kubernetes
      • Integrate Eclipse JKube with Spring Boot
      • Understanding Skaffold
      • Local Development with Mirrord
      • Conclusion
    • Chapter 5: Security
      • Manage Certificates with Cert Manager
      • Distributing Trusted Certificates
      • Manage Secrets
      • Rotate Secrets and Certificates
      • Automatic Authentication to Database
      • Conclusion
    • Chapter 6: Kubernetes Native Integration
      • Introduction to Quarkus Kubernetes
      • Property Sources with Quarkus Kubernetes Config
      • Quarkus Automated Testing with Kubernetes API
      • Service Discovery and Load Balancing with Quarkus Stork
      • Introduction to Spring Cloud Kubernetes
      • Property Sources with Spring Cloud Kubernetes Config
      • Reloading Properties with Spring Boot
      • Spring Cloud Load Balancing and Service Discovery
      • Conclusion
    • Chapter 7: Scalability & Performance
      • Autoscaling with Knative
      • Autoscaling with KEDA
      • In-place Pod Resize for CPU Limits
      • Native Compilation with GraalVM
      • JDK Flight Recorder with Cryostat
      • Conclusion
    • Chapter 8: Service Mesh
      • Introduction
      • Install Istio on Kubernetes
      • Traffic Management
      • Enable Tracing
      • Fault Resilience
      • Conclusion
    • Chapter 9: CI/CD on Kubernetes with Tekton and Argo CD
      • Concept of CI/CD with Kubernetes
      • Installation
      • Pipeline with Tekton
      • Import or Create Tekton Tasks
      • Build and Run the Pipeline for a Java Application
      • Tekton Support for Testcontainers
      • Continuous Delivery with Argo CD
      • Create Helm Templates
      • Secrets Management and Encryption
      • Manage Database Schema with GitOps Approach
      • Conclusion
    • References

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub