·cnpg-database
</>

cnpg-database

CloudNative-PG (CNPG) 用於 Kubernetes 家庭實驗室的 PostgreSQL 資料庫管理。 涵蓋共享平台叢集、專用應用叢集、憑證鍊和監控。 在下列情況下使用:(1) 為應用程式新增資料庫,(2) 建立專用 CNPG 集群, (3) 設定資料庫憑證和跨命名空間複製,(4) 設定 PgBouncer 池化器,(5) 調試資料庫連接或 CNPG 叢集運作狀況,(6) 新增 PostgreSQL 針對特殊工作負載的擴充。 觸發器:「database」、「postgresql」、「postgres」、「cnpg」、「cloudnative-pg」、「pooler」、 「pgbouncer」、「資料庫憑證」、「資料庫密碼」、「託管角色」、「資料庫 CRD」、 “資料庫叢集”、“共享資料庫”、“專用資料庫”、“cnpg叢集”

21安裝·1熱度·@ionfury

安裝

$npx skills add https://github.com/ionfury/homelab --skill cnpg-database

如何安裝 cnpg-database

透過命令列快速安裝 cnpg-database AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/ionfury/homelab --skill cnpg-database
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:ionfury/homelab。

SKILL.md

查看原文

Guide to provisioning and managing PostgreSQL databases using CloudNative-PG (CNPG) in the homelab Kubernetes platform. The platform supports both a shared multi-tenant cluster and dedicated per-application clusters.

The shared cluster is defined at kubernetes/platform/config/database/ and deployed to all clusters via the platform Kustomization. It uses CNPG managed roles and Database CRDs to declaratively provision databases and users -- no init containers or superuser access needed in app namespaces.

| cluster.yaml | CNPG Cluster CR with managed roles (spec.managed.roles) | | databases.yaml | Database CRDs for each application database | | role-secrets.yaml | Per-role password secrets (secret-generator + replicator) | | pooler.yaml | PgBouncer Pooler for connection pooling |

CloudNative-PG (CNPG) 用於 Kubernetes 家庭實驗室的 PostgreSQL 資料庫管理。 涵蓋共享平台叢集、專用應用叢集、憑證鍊和監控。 在下列情況下使用:(1) 為應用程式新增資料庫,(2) 建立專用 CNPG 集群, (3) 設定資料庫憑證和跨命名空間複製,(4) 設定 PgBouncer 池化器,(5) 調試資料庫連接或 CNPG 叢集運作狀況,(6) 新增 PostgreSQL 針對特殊工作負載的擴充。 觸發器:「database」、「postgresql」、「postgres」、「cnpg」、「cloudnative-pg」、「pooler」、 「pgbouncer」、「資料庫憑證」、「資料庫密碼」、「託管角色」、「資料庫 CRD」、 “資料庫叢集”、“共享資料庫”、“專用資料庫”、“cnpg叢集” 來源:ionfury/homelab。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/ionfury/homelab --skill cnpg-database
分類
</>開發工具
認證
收錄時間
2026-02-28
更新時間
2026-03-10

Browse more skills from ionfury/homelab

快速解答

什麼是 cnpg-database?

CloudNative-PG (CNPG) 用於 Kubernetes 家庭實驗室的 PostgreSQL 資料庫管理。 涵蓋共享平台叢集、專用應用叢集、憑證鍊和監控。 在下列情況下使用:(1) 為應用程式新增資料庫,(2) 建立專用 CNPG 集群, (3) 設定資料庫憑證和跨命名空間複製,(4) 設定 PgBouncer 池化器,(5) 調試資料庫連接或 CNPG 叢集運作狀況,(6) 新增 PostgreSQL 針對特殊工作負載的擴充。 觸發器:「database」、「postgresql」、「postgres」、「cnpg」、「cloudnative-pg」、「pooler」、 「pgbouncer」、「資料庫憑證」、「資料庫密碼」、「託管角色」、「資料庫 CRD」、 “資料庫叢集”、“共享資料庫”、“專用資料庫”、“cnpg叢集” 來源:ionfury/homelab。

如何安裝 cnpg-database?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/ionfury/homelab --skill cnpg-database 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/ionfury/homelab

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-28