deployment-patterns

Generate Dockerfiles, Kubernetes manifests, and CI/CD pipelines for Spring Boot services.

3|2|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/taipt1504/agent-skills --skill deployment-patterns-taipt1504
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-patterns
Source: https://github.com/taipt1504/agent-skills/tree/main/skills/deployment-patterns
Command: npx skills add https://github.com/taipt1504/agent-skills --skill deployment-patterns-taipt1504

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill reduces the friction and risk of containerizing Java Spring Boot services and deploying them reliably by providing production-ready Dockerfile patterns, Kubernetes manifests, CI/CD pipeline templates, and best practices for health checks and graceful shutdown.

Core Features & Use Cases

  • Multi-stage Dockerfile templates and recommended JVM container flags for predictable runtime behavior.
  • Kubernetes manifests for Deployment, Service, HorizontalPodAutoscaler, ConfigMap, and NetworkPolicy alongside probe and resource sizing guidance.
  • CI/CD pipeline examples for GitHub Actions and GitLab CI plus a script to scaffold Dockerfiles automatically.
  • Use Case: Turn a Spring Boot repository into a non-root production image, add actuator-based liveness/readiness probes, and deploy with a tested pipeline to staging and production.

Quick Start

Generate a production-ready Dockerfile and matching Kubernetes manifests for the current Spring Boot project and scaffold a CI workflow for staging and production deploys.

Frequently Asked Questions about deployment-patterns

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

FAQPage Schema
How do I create a production-ready Dockerfile for a Spring Boot application?

To create a production-ready Dockerfile for a Spring Boot application, use multi-stage builds and recommended JVM container flags to ensure predictable runtime behavior and generate non-root images.

How do I configure liveness, readiness, and startup probes in Kubernetes for Spring Boot?

Configure liveness, readiness, and startup probes in Kubernetes for Spring Boot by using actuator-based probe recommendations alongside generated Deployment and Service YAML manifests.

What's the best way to set up CI/CD pipelines for Kubernetes deployments?

The best way to set up CI/CD pipelines for Kubernetes deployments is using provided GitHub Actions and GitLab CI pipeline examples to automate staging and production releases.

Can I use this to scaffold Dockerfiles without exposing application secrets?

Yes, you can scaffold Dockerfiles without exposing secrets by running the included shell script which generates templates securely without embedding sensitive configuration data.

Does this generate Kubernetes manifests for autoscaling and resource sizing?

Yes, this generates Kubernetes manifests for autoscaling and resource sizing by producing HorizontalPodAutoscaler, ConfigMap, and NetworkPolicy YAML with specific container resource guidance.