postgre-skill
SKILL.md
PostgreSQL Kubernetes Standard Skill
This skill generates a complete set of Kubernetes manifests for a PostgreSQL deployment, following strict naming and network requirements.
Specifications
- Name Requirement: StatefulSet MUST be named
postgre. - Network Requirement:
hostNetwork: trueMUST be set in the Pod spec. - Service Requirement: A headless service named
postgre-headlessMUST be created. - Secret Requirement: A secret named
postgre-secretMUST be created with a randomPOSTGRES_PASSWORD. - Storage Requirement: PV/PVC MUST be managed via
volumeClaimTemplatesin the StatefulSet.
Implementation Guide
When triggered:
- Determine if the user has custom storage size or image preferences.
- Execute the generator:
python ~/.agents/skills/postgre-skill/scripts/generate.py [storage] [image]. - Provide the output YAML to the user.
Example Request
User: "幫我產生一個標準的 postgre 部署設定" Result: Displays the YAML with postgre Secret, Service, and StatefulSet with hostNetwork.
Weekly Installs
4
Repository
cooloo9871/my-a…me-skillFirst Seen
1 day ago
Security Audits
Installed on
cline4
github-copilot4
codex4
kimi-cli4
gemini-cli4
cursor4