kubernetes-java

Generate Kubernetes YAML for production Spring Boot deployments.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/dprice-dev/claude-java-skills --skill kubernetes-java
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubernetes-java
Source: https://github.com/dprice-dev/claude-java-skills/tree/main/.claude/skills/kubernetes-java
Command: npx skills add https://github.com/dprice-dev/claude-java-skills --skill kubernetes-java

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Kubernetes manifests for Java/Spring Boot deployments are hard to get right for production reliability, including safe rollouts, correct resource sizing, and secure configuration.

Core Features & Use Cases

  • Production-grade Deployment patterns: Rolling update strategy, probes, securityContext hardening, JVM container behavior, and graceful shutdown to minimize downtime.
  • Scalable operations: Horizontal Pod Autoscaler (HPA) plus PodDisruptionBudgets (PDBs) for high availability during voluntary disruptions.
  • Configuration & service exposure: ConfigMaps, Secrets wiring, and Service + Ingress setup for routing traffic to Spring Boot endpoints.
  • Kubernetes best-practice playbook: Includes Helm chart structure and environment/namespace guidance via references.

Quick Start

Generate complete Kubernetes YAML for deploying a production Spring Boot service with Deployments, ConfigMaps, Secrets wiring, HPA, PDBs, graceful shutdown settings, and Ingress routing in one pass.

Frequently Asked Questions about kubernetes-java

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Kubernetes deployments for Spring Boot to ensure graceful shutdown and safe rollouts?

Kubernetes deployments for Spring Boot require rolling update strategies, readiness and liveness probes, and graceful shutdown settings to minimize downtime. Production-ready manifests apply securityContext hardening and JVM container behavior tuning to ensure safe rollouts during updates.

What is the best way to size JVM resources and configure HorizontalPodAutoscaler for Java services?

Sizing JVM resources and configuring the HorizontalPodAutoscaler requires setting sensible resource requests and limits for Java containers. Pairing HPA with PodDisruptionBudgets maintains high availability during voluntary disruptions and pod scaling events.

How do I wire ConfigMaps and Secrets to Spring Boot application properties in Kubernetes?

Wiring ConfigMaps and Secrets to Spring Boot properties uses secretKeyRef and configMapRef references in Kubernetes manifests. This securely injects external configuration into the deployment environment without hardcoding sensitive data in the container image.

How do I set up Service and Ingress routing for Spring Boot endpoints in Kubernetes?

Service and Ingress routing for Spring Boot endpoints requires defining Kubernetes Service objects to expose pods and Ingress rules to route external traffic. Correct configuration maps ingress paths to the appropriate Spring Boot service ports.

Do I need Helm charts to manage Kubernetes manifests for Java applications?

Helm charts are not strictly required but provide a best-practice structure for managing Kubernetes manifests across environments. Using Helm charts for Java applications streamlines environment and namespace guidance for complex deployment configurations.

Why do my Spring Boot pods fail readiness checks during Kubernetes rolling deployments?

Spring Boot pods fail readiness checks during rolling deployments when liveness and readiness probes are misconfigured or lack graceful shutdown settings. Correct probe configuration and JVM container behavior tuning prevent premature traffic routing and deployment failures.