Kubernetes Deployment

Kubernetes Deployment

Guides an agent to deploy, scale and manage containerized apps on Kubernetes with resource limits, health checks, RBAC and rolling updates.

Skill files6 files

references/

scripts/

templates/

SKILL.md98 lines
1
---
2
name: kubernetes-deployment
3
description: >
4
Deploy, manage, and scale containerized applications on Kubernetes clusters
5
with best practices for production workloads, resource management, and rolling
6
updates.
7
---
8
9
# Kubernetes Deployment
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Master Kubernetes deployments for managing containerized applications at scale, including multi-container services, resource allocation, health checks, and rolling deployment strategies.
22
23
## When to Use
24
25
- Container orchestration and management
26
- Multi-environment deployments (dev, staging, prod)
27
- Auto-scaling microservices
28
- Rolling updates and blue-green deployments
29
- Service discovery and load balancing
30
- Resource quota and limit management
31
- Pod networking and security policies
32
33
## Quick Start
34
35
Minimal working example:
36
37
```yaml
38
# kubernetes-deployment.yaml
39
apiVersion: apps/v1
40
kind: Deployment
41
metadata:
42
name: api-service
43
namespace: production
44
labels:
45
app: api-service
46
version: v1
47
spec:
48
replicas: 3
49
strategy:
50
type: RollingUpdate
51
rollingUpdate:
52
maxSurge: 1
53
maxUnavailable: 0
54
selector:
55
matchLabels:
56
app: api-service
57
template:
58
metadata:
59
labels:
60
app: api-service
61
version: v1
62
annotations:
63
// ... (see reference guides for full implementation)
64
```
65
66
## Reference Guides
67
68
Detailed implementations in the `references/` directory:
69
70
| Guide | Contents |
71
|---|---|
72
| [Complete Deployment with Resource Management](references/complete-deployment-with-resource-management.md) | Complete Deployment with Resource Management |
73
| [Deployment Script](references/deployment-script.md) | Deployment Script |
74
| [Service Account and RBAC](references/service-account-and-rbac.md) | Service Account and RBAC |
75
76
## Best Practices
77
78
### ✅ DO
79
80
- Use resource requests and limits
81
- Implement health checks (liveness, readiness)
82
- Use ConfigMaps for configuration
83
- Apply security context restrictions
84
- Use service accounts and RBAC
85
- Implement pod anti-affinity
86
- Use namespaces for isolation
87
- Enable pod security policies
88
89
### ❌ DON'T
90
91
- Use latest image tags in production
92
- Run containers as root
93
- Set unlimited resource usage
94
- Skip readiness probes
95
- Deploy without resource limits
96
- Mix configurations in container images
97
- Use default service accounts
98

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…