Kursus
PostgreSQL on Kubernetes with CloudNativePG
Baru di sini? Buat akun gratis
Tentang kursus ini
After this course you can deploy a three-instance CloudNativePG cluster with synchronous replication, separate WAL storage and explicit resource limits. You can tell a failover from a switchover and run both, upgrade PostgreSQL minor and major versions and the operator itself without surprises, configure WAL archiving and restore to a point in time into a new cluster, and work through the common failures: stuck replicas, authentication errors, hung switchovers and archiving that has fallen behind. You will also be able to read the business case critically and separate what the runbook supports from what is marketing.
Yang akan Anda pelajari
Start here: the 3 AM page
- The 3 AM page
- Course map (interactive)
- Diagram: Start here: the 3 AM page
- Course map, free docs and credentials
- Pre-check: PostgreSQL on Kubernetes with CloudNativePG
Concepts
- Diagram: Concepts
- What CloudNativePG is and how replication works
- Replication slots, quorum commit and the operator's parts
- The three kinds of storage a cluster uses
- Failover, switchover and upgrades
- WAL archiving, scheduled backups, PITR and pooling
- Services, metrics, alerts and production settings
- Troubleshooting stuck replicas, auth errors and switchover
- Checkpoint: concepts
The runbook
- Diagram: The runbook
- Standard production cluster configuration
- Resizing disks, changing storage class and upgrading PostgreSQL
- Upgrading the operator and recovering a cluster
- Checkpoint: runbook
Workshop
- Diagram: Workshop
- Install the operator and write the cluster manifest
- Apply the manifest and check the cluster
- Create test data and confirm it replicates
- Kill the primary and watch failover and switchover
- Configure backups and rehearse recovery
- Check storage and replication, test recovery and clean up
- Troubleshooting the lab and what to do next
The business view
- Diagram: The business view
- What CNPG replaces, and why the savings figures are soft
- Compliance, uptime and read scaling
- Growth, cost and developer time
- Key-person risk, errors and the ROI table
- Later roadmap phases and stakeholder claims
- Customer retention, objections and a sensible first step
- Checkpoint: business view
Summary and incident drill
- Diagram: Summary and incident drill
- What the CNPG material covers
- Incident drill
