Kubernetes Patterns

Provide Kubernetes deployment patterns for containerized applications.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/tuyenht/Antigravity-Core --skill kubernetes-patterns-tuyenht
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Kubernetes Patterns
Source: https://github.com/tuyenht/Antigravity-Core/tree/main/.agent/skills/kubernetes-patterns
Command: npx skills add https://github.com/tuyenht/Antigravity-Core --skill kubernetes-patterns-tuyenht

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance and practical examples for deploying, managing, and scaling containerized applications effectively within Kubernetes environments, ensuring production-ready infrastructure.

Core Features & Use Cases

  • Deployment Strategies: Implement rolling updates, blue-green, and canary releases for zero-downtime deployments.
  • Configuration Management: Utilize ConfigMaps and Secrets for secure and flexible application configuration.
  • Scaling: Configure Horizontal Pod Autoscalers (HPA) and Vertical Pod Autoscalers (VPA) for dynamic workload adjustment.
  • Networking: Understand Ingress controllers, Network Policies, and Service discovery.
  • Stateful Applications: Deploy and manage stateful workloads using StatefulSets.
  • Use Case: You need to deploy a new version of your web application to production with minimal downtime and the ability to roll back quickly if issues arise. This Skill provides the patterns and YAML examples to achieve this using a blue-green deployment strategy.

Quick Start

Use the Kubernetes Patterns skill to generate a basic Deployment YAML for a web application named 'my-web-app' using the image 'nginx:latest'.

Frequently Asked Questions about Kubernetes Patterns

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

FAQPage Schema
How do I deploy a web application to Kubernetes with zero downtime?

To deploy a web application with zero downtime on Kubernetes, implement deployment strategies like rolling updates, blue-green, or canary releases using Deployment YAML patterns to ensure seamless traffic routing and quick rollback capabilities.

How do I manage stateful applications and persistent data in Kubernetes?

Manage stateful applications in Kubernetes using StatefulSets to handle persistent storage, stable network identities, and ordered deployment scaling, ensuring data integrity for databases and other stateful workloads.

What is the best way to configure and manage application secrets in Kubernetes?

The best way to manage application secrets in Kubernetes is using Secrets and ConfigMaps, which decouple configuration data from container images to provide secure, flexible environment variable and volume injection.

How do I configure automatic scaling for Kubernetes pods based on traffic?

Configure automatic scaling for Kubernetes pods by deploying Horizontal Pod Autoscalers (HPA) to adjust replica counts based on CPU utilization, or Vertical Pod Autoscalers (VPA) to automatically adjust resource requests.

How do I control network traffic routing and secure access between Kubernetes pods?

Control network traffic routing and secure pod access in Kubernetes by applying Network Policies and Ingress controllers, which define strict rules for service discovery and external request routing.

Does this Kubernetes deployment guidance cover Helm and Operators?

Yes, this Kubernetes deployment guidance covers advanced topics including Helm for package management and Operators for automating complex, stateful application lifecycle management tasks.