用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/UitbreidenOS/UitKit --skill kubernetes命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Guidelines and instructions for Agent execution state rollback rules
Guidelines and instructions for Agent execution step counters limits
Guidelines and instructions for Agent execution timeout limits setups
基于 SOC 职业分类
| name | kubernetes |
| description | Kubernetes manifests, resource limits, health probes, secrets, RBAC, HPA, CrashLoopBackOff diagnosis |
Always set these fields in every Deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
name: app-name
namespace: production # Always explicit — never rely on default namespace
labels:
app: app-name
version: "1.0.0"
spec:
replicas: 3
selector:
matchLabels:
app: app-name
template:
metadata:
labels:
app: app-name
version: "1.0.0"
spec:
containers:
- name: app-name
image: registry/app-name:tag # Never use :latest in production
resources:
requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "500m"
memory: "512Mi"
requests and limits — never omitrequests = guaranteed resources (used for scheduling)limits = maximum allowed (OOMKilled if memory exceeded)All production containers must have probes:
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 15
periodSeconds: 20
failureThreshold: 3
readinessProbe:
httpGet:
path: /ready
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
failureThreshold: 3
livenessProbe failure → container restartreadinessProbe failure → removed from Service load balancer (no traffic, no restart)env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: app-secrets
key: database-url
default namespace: dev/testing onlyResourceQuota and LimitRange on every production namespacekubectl describe pod Events sectionkubectl logs pod-name -c init-container-nameUser: Deploy a FastAPI app with PostgreSQL connection, 3 replicas, resource limits, and health checks.
Expected output structure:
DATABASE_URL/healthz and /ready