cloudnative-pg

The official CloudNativePG image — the Kubernetes operator that manages the full lifecycle of highly available PostgreSQL clusters, including failover, backups, and rolling updates.

cloudnativepg, cnpg, postgresql operator, kubernetes, high availability, cncf

What is CloudNativePG?

The CloudNativePG images package CloudNativePG, a CNCF Kubernetes operator that manages PostgreSQL workloads through a custom Cluster resource. The operator provisions primary and replica instances, handles automated failover, rolling updates, connection pooling with PgBouncer, continuous backup and point-in-time recovery to object storage, and TLS certificate management, using the Kubernetes API directly rather than an external failover manager. The project publishes the operator image and PostgreSQL operand images that include the instance manager. It is used by platform and database teams that run production PostgreSQL on Kubernetes with declarative, repeatable operations.

What is Echo's CloudNativePG image?

Echo's CloudNativePG image is a hardened build of CloudNativePG on Echo's hardened base. Echo images are designed to be a drop-in replacement: swap the image reference in your Dockerfile or deployment manifest and CVEs go to zero without disrupting your Cluster resources, backup and recovery settings, pooler configuration, and storage classes. Every image is tested across clouds, image use cases, and deployment targets. Echo ships every image in two variants:

  • Distroless variant — optimized for runtime use, with the smallest possible attack surface
  • Default variant — includes essential build tools, package managers, and shells for teams that need operational access

For production CloudNativePG deployments, the distroless variant keeps all runtime operations — cluster provisioning, failover, backups, point-in-time recovery, and rolling updates — fully intact while minimizing exposure; the default variant suits platform and database teams that need shell access for debugging instance status, running psql, or inspecting backups.

What is the difference between Echo's CloudNativePG image and the public CloudNativePG image?

Public CloudNativePG images ship on bases that include OS-level tooling convenient for development but which contribute CVEs that accumulate on a Kubernetes operator and PostgreSQL runtime used in production. CloudNativePG images run continuously with access to database data, superuser and application credentials, and backup storage keys. OS-level CVEs in the base image — particularly in libraries such as openssl, zlib, and libc, along with libpq and PostgreSQL dependencies — create exploitable paths that bypass application-layer controls entirely, allowing attackers to move from a network-reachable service to host-level access. For teams running CloudNativePG across many environments, the image is also a steady source of scanner noise in the CI pipeline — every package in the base becomes a finding your security team must triage, even when none of it is reachable from the service. Echo's build retains everything CloudNativePG needs for cluster provisioning, failover, backups, point-in-time recovery, and rolling updates while removing the packages that don't belong in a production CloudNativePG Kubernetes operator and PostgreSQL runtime. As we covered in our post on how to protect your company from software supply chain attacks, long-running services that hold sensitive data and listen on the network are among the widest attack surfaces in the container stack. Echo commits to a 7-day SLA for critical and high severity vulnerabilities, and 10 days for medium, low, and unknown — with vulnerabilities triaged within 24 hours. Echo images are recognized by all major scanners and mirrored to all major registries, so they fit into existing pipelines without changing your registry, scanner, or runtime tooling.

FAQ

Can I replace my CloudNativePG image with Echo's CloudNativePG image?

Yes. Echo's CloudNativePG image is a drop-in replacement. Update the FROM line in your Dockerfile and your workloads keep running. Cluster resources, backup and WAL archiving to object storage, connection poolers, TLS certificates, and rolling update behavior all continue to work without changes to your manifests or applications.

Is Echo's CloudNativePG image FIPS-validated?

Yes. Echo's FIPS-validated images use cryptographic modules with an active FIPS 140-3 CMVP certificate, making them fit for federal use — unlike FIPS-compliant images that haven't been validated. This matters for teams running CloudNativePG workloads inside FedRAMP boundaries, where a Kubernetes operator and PostgreSQL runtime that manages production PostgreSQL clusters holding sensitive application data must meet cryptographic requirements across the full stack — including the OpenSSL and TLS libraries bundled with the CloudNativePG image.

What is Echo's vulnerability management SLA on the CloudNativePG image?

Echo commits to a 7-day SLA for critical and high severity vulnerabilities, and 10 days for medium, low, and unknown — with vulnerabilities triaged within 24 hours. Patches are mirrored automatically into your private registry so you're always running a clean version — critical for a long-running service that holds database data, superuser and application credentials, and backup storage keys and is reachable over the network.

Is Echo's CloudNativePG image distroless?

Echo ships every image in two variants: a distroless variant optimized for runtime use, and a default variant that includes essential build tools, package managers, and shells. For production CloudNativePG deployments, the distroless variant is the leaner, more secure choice; for platform and database teams that need shell access for debugging instance status, running psql, or inspecting backups, the default variant is the right fit.

How does Echo achieve such a drastic CVE reduction in CloudNativePG?

Echo's CloudNativePG image is built from source with only the absolute essentials needed to run the CloudNativePG Kubernetes operator and PostgreSQL runtime, which significantly shrinks the attack surface. Echo also patches aggressively over time, with backports available so you can stay on the CloudNativePG version your applications and their dependencies are certified against — avoiding a disruptive upgrade forced purely by OS-level vulnerabilities in the base image rather than by your own requirements.

Will Echo's CloudNativePG image help us achieve FedRAMP?

Yes. The hard parts of FedRAMP — managing vulnerabilities, applying fixes, and using FIPS-validated cryptography — are baked into Echo images, including STIG-hardened configuration and ConMon/POA&M-ready reporting. For platform and database teams running CloudNativePG under an ATO — whether that's production relational databases, point-in-time recovery requirements, or high-availability PostgreSQL in a regulated environment — Echo's hardened CloudNativePG image keeps the Kubernetes operator and PostgreSQL runtime layer in-boundary and compliant without requiring custom hardening scripts or manual base image patching between compliance cycles.

‍

Interested in base images that start and stay clean?