{"schema": "pgtrue.report/1", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478", "published": "2026-10-19T06:48:11Z", "publisher": "PostgresAI", "article": {"title": "CloudNativePG: How to Run PostgreSQL on Kubernetes", "url": "https://stormatics.tech/blogs/run-postgresql-on-kubernetes-with-cloudnativepg", "date_published": "2026-08-20T07:01:27Z", "author": "Seher Khan", "publisher": "Stormatics"}, "grade": "A-", "axes": [{"axis": "Factual", "summary": "B+ \u00b7 1 wrong of 15 checked \u00b7 0 caveats"}, {"axis": "Applicable", "summary": "B+ \u00b7 1 wrong of 9 checked \u00b7 0 caveats"}, {"axis": "Consistent", "summary": "A \u00b7 0 wrong of 15 checked \u00b7 0 caveats"}, {"axis": "Transparent", "summary": "A \u00b7 0 wrong of 8 checked \u00b7 0 caveats"}, {"axis": "Safe", "summary": "not applicable"}], "findings": [{"anchor": "F3", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F3", "claim": "\u2026Patroni (needs an external etcd/Consul/ZooKeeper store)\u2026", "title": "Patroni does not require a separate consensus service on Kubernetes", "explanation": "Patroni v4.1.5 can store cluster state and its leader key in Kubernetes objects. docs/kubernetes.rst:6-10 explicitly says an extra etcd deployment is unnecessary. The comparison adds an infrastructure requirement that Patroni's Kubernetes backend avoids.", "verdict": "False", "sources": [{"url": "https://github.com/patroni/patroni/blob/235fdb3990513c7852da8dc51e9cb92b6d0e4907/docs/kubernetes.rst#L7-L8", "label": "patroni@v4.1.5 \u00b7 docs/kubernetes.rst:7-8"}, {"url": "https://github.com/patroni/patroni/blob/235fdb3990513c7852da8dc51e9cb92b6d0e4907/docs/kubernetes.rst#L6-L8", "label": "patroni@v4.1.5 \u00b7 docs/kubernetes.rst:6-8"}]}, {"anchor": "F4", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F4", "claim": "\u2026it checks whether the Instance Manager process is still responding\u2026", "explanation": "CloudNativePG v1.30.0 enables primary isolation checks by default. Isolation fails liveness when the primary cannot reach the Kubernetes API server and cannot reach any peer. The kubelet can then shut down the primary. docs/src/instance_manager.md:207-214 specifies both conditions. api/v1/cluster_defaults.go:312-317 enables the check.", "verdict": "Misleading", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/instance_manager.md#L210-L214", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/instance_manager.md:210-214"}, {"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/pkg/management/postgres/webserver/probes/liveness.go#L108-L116", "label": "cloudnative-pg@v1.30.0 \u00b7 pkg/management/postgres/webserver/probes/liveness.go:108-116"}, {"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/api/v1/cluster_defaults.go#L312-L317", "label": "cloudnative-pg@v1.30.0 \u00b7 api/v1/cluster_defaults.go:312-317"}]}, {"anchor": "F7", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F7", "claim": "\u2026Security is enforced at the container layer by default: non-root user\u2026", "title": "The stated container security defaults match the source", "explanation": "pkg/specs/containers.go:70-78 drops ALL capabilities, requires a non-root user, makes the root filesystem read-only, and disables privilege escalation. These defaults match the article. They do not establish the separate claim about containing every pod compromise.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/pkg/specs/containers.go#L70-L78", "label": "cloudnative-pg@v1.30.0 \u00b7 pkg/specs/containers.go:70-78"}]}, {"anchor": "F8", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F8", "claim": "\u2026the operator manages the underlying `synchronous_standby_names` setting for you\u2026", "title": "The operator manages synchronous_standby_names", "explanation": "pkg/postgres/replication/replication.go:39-47 computes synchronous_standby_names from Cluster configuration. Synchronous replication is disabled by default. Its explicit configuration requires method and number. PostgreSQL's doc/src/sgml/config.sgml:4846-4852 confirms that the selected standbys gate transaction commit.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/pkg/postgres/replication/replication.go#L39-L47", "label": "cloudnative-pg@v1.30.0 \u00b7 pkg/postgres/replication/replication.go:39-47"}, {"url": "https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L4846-L4852", "label": "REL_18_6 \u00b7 doc/src/sgml/config.sgml:4846-4852"}, {"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/replication.md#L147-L153", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/replication.md:147-153"}]}, {"anchor": "F9", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F9", "claim": "\u2026by default, the operator just restarts the primary\u2019s pod\u2026", "explanation": "api/v1/cluster_funcs.go:804-822 defaults primaryUpdateStrategy to unsupervised and primaryUpdateMethod to restart. Each getter returns its configured value when nonempty. These defaults match the article.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/api/v1/cluster_funcs.go#L804-L822", "label": "cloudnative-pg@v1.30.0 \u00b7 api/v1/cluster_funcs.go:804-822"}]}, {"anchor": "F10", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F10", "claim": "Startup and readiness both check Postgres itself using pg_isready.", "title": "Startup and readiness use pg_isready by default", "explanation": "docs/src/instance_manager.md:31-32 specifies pg_isready for the default startup probe. Lines 261-262 specify the same default for readiness. The article's description matches both defaults.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/instance_manager.md#L31-L32", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/instance_manager.md:31-32"}, {"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/instance_manager.md#L261-L262", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/instance_manager.md:261-262"}]}, {"anchor": "F11", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F11", "claim": "\u2026Instance-level tuning, resource limits, custom config, and seed SQL, is done through the Cluster manifest\u2026", "explanation": "api/v1/cluster_types.go:410 defines resources as Kubernetes ResourceRequirements. Lines 1930-1934 define postInitSQL for superuser queries against postgres after cluster creation. These fields support declarative resource configuration and initialization SQL.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/api/v1/cluster_types.go#L406-L410", "label": "cloudnative-pg@v1.30.0 \u00b7 api/v1/cluster_types.go:406-410"}, {"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/api/v1/cluster_types.go#L1930-L1934", "label": "cloudnative-pg@v1.30.0 \u00b7 api/v1/cluster_types.go:1930-1934"}]}, {"anchor": "F12", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F12", "claim": "\u2026The default backup method, barmanObjectStore\u2026", "title": "The backup-method default and snapshot qualification match the documentation", "explanation": "api/v1/backup_types.go:141-146 defaults method to barmanObjectStore. docs/src/backup.md:142-156 excludes incremental object-store copies and qualifies snapshot incrementality by storage capabilities. The article preserves that storage qualification.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/api/v1/backup_types.go#L141-L146", "label": "cloudnative-pg@v1.30.0 \u00b7 api/v1/backup_types.go:141-146"}, {"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/backup.md#L142-L156", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/backup.md:142-156"}]}, {"anchor": "F14", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F14", "claim": "\u2026only takes full backups\u2026", "title": "Native object-store backups lack incremental and differential copies", "explanation": "CloudNativePG 1.30.0 documents no incremental or differential copies for its described object-store backups. docs/src/backup.md:146 supports the article\u2019s limitation.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/backup.md#L146-L146", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/backup.md:146-146"}]}, {"anchor": "F15", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F15", "claim": "Whether those snapshots end up being incremental depends on the underlying storage class and CSI driver\u2026", "title": "Incremental snapshots depend on storage capabilities", "explanation": "CloudNativePG 1.30.0 documents incremental and differential snapshot copies as dependent on the underlying storage class. docs/src/backup.md:155-156 supports the article\u2019s condition.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/backup.md#L155-L156", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/backup.md:155-156"}]}, {"anchor": "F16", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F16", "claim": "\u2026backups are pushed to object storage like S3\u2026", "title": "The documented object-store destinations include S3", "explanation": "CloudNativePG 1.30.0 lists AWS S3, Azure Blob, and GCS as object-store backup destinations. docs/src/backup.md:142 supports the destination claim.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/backup.md#L142-L142", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/backup.md:142-142"}]}, {"anchor": "F17", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F17", "claim": "\u2026that change is not replicated to other nodes in the cluster\u2026", "title": "ALTER SYSTEM configuration changes do not replicate", "explanation": "CloudNativePG 1.30.0 documents ALTER SYSTEM as operating on the connected instance without replication. docs/src/postgresql_conf.md:618-619 supports the article\u2019s warning about configuration divergence.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/postgresql_conf.md#L618-L619", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/postgresql_conf.md:618-619"}]}, {"anchor": "F19", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F19", "claim": "\u2026instances: 3 \u2192 1 primary + 2 replicas - instances: 5 \u2192 1 primary + 4 replicas\u2026", "title": "Both instance-count examples add up", "explanation": "A 3-instance cluster has 1 primary and 2 replicas. A 5-instance cluster has 1 primary and 4 replicas. Version 1.30.0 documents one primary with optional replicas in docs/src/architecture.md:276.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/architecture.md#L270-L315", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/architecture.md:270-315"}]}, {"anchor": "F20", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F20", "claim": "\u2026it uses port 5432\u2026", "title": "The PostgreSQL server port is 5432", "explanation": "Version 1.30.0 sets ServerPort to 5432 in pkg/postgres/configuration.go:247.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/pkg/postgres/configuration.go#L247-L247", "label": "cloudnative-pg@v1.30.0 \u00b7 pkg/postgres/configuration.go:247-247"}]}, {"anchor": "F21", "url": "https://pgtrue.postgres.ai/shared/brief/9049a2ea-cf3c-4750-b6db-5befe0213478#F21", "claim": "Initialization can also be automated through three related settings, each targeting a different scope\u2026", "title": "The article correctly counts 3 SQL initialization settings", "explanation": "Version 1.30.0 lists postInitSQL, postInitTemplateSQL, and postInitApplicationSQL in docs/src/bootstrap.md:372. The article's count of 3 matches that list.", "verdict": "Accurate", "sources": [{"url": "https://github.com/cloudnative-pg/cloudnative-pg/blob/4b5e244a7d031f67e025c83c1555e7726ecbbfa1/docs/src/bootstrap.md#L364-L396", "label": "cloudnative-pg@v1.30.0 \u00b7 docs/src/bootstrap.md:364-396"}]}]}