kubernetes-deployment by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill kubernetes-deployment掌握 Kubernetes 部署,以大规模管理容器化应用,包括多容器服务、资源分配、健康检查以及滚动部署策略。
最小工作示例:
# kubernetes-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: api-service
namespace: production
labels:
app: api-service
version: v1
spec:
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: api-service
template:
metadata:
labels:
app: api-service
version: v1
annotations:
// ... (完整实现请参阅参考指南)
references/ 目录下的详细实现:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 指南 | 内容 |
|---|---|
| 包含资源管理的完整部署 | 包含资源管理的完整部署 |
| 部署脚本 | 部署脚本 |
| 服务账户与 RBAC | 服务账户与 RBAC |
每周安装数
169
代码仓库
GitHub 星标数
126
首次出现
2026年1月21日
安全审计
安装于
opencode145
gemini-cli133
codex130
claude-code130
github-copilot125
cursor120
Master Kubernetes deployments for managing containerized applications at scale, including multi-container services, resource allocation, health checks, and rolling deployment strategies.
Minimal working example:
# kubernetes-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: api-service
namespace: production
labels:
app: api-service
version: v1
spec:
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: api-service
template:
metadata:
labels:
app: api-service
version: v1
annotations:
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Complete Deployment with Resource Management | Complete Deployment with Resource Management |
| Deployment Script | Deployment Script |
| Service Account and RBAC | Service Account and RBAC |
Weekly Installs
169
Repository
GitHub Stars
126
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode145
gemini-cli133
codex130
claude-code130
github-copilot125
cursor120
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
114,200 周安装