{"id":13514868,"url":"https://github.com/ongres/stackgres","last_synced_at":"2026-03-01T01:09:58.154Z","repository":{"id":40596098,"uuid":"272443481","full_name":"ongres/stackgres","owner":"ongres","description":"StackGres Operator, Full Stack PostgreSQL on Kubernetes // !! Mirror repository of https://gitlab.com/ongresinc/stackgres, only accept Merge Requests there.","archived":false,"fork":false,"pushed_at":"2026-02-23T21:28:08.000Z","size":61004,"stargazers_count":1364,"open_issues_count":1,"forks_count":71,"subscribers_count":18,"default_branch":"main","last_synced_at":"2026-02-24T00:51:02.572Z","etag":null,"topics":["high-availability","java","kubernetes","kubernetes-operator","postgres","postgresql"],"latest_commit_sha":null,"homepage":"https://stackgres.io","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ongres.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":"dco.txt","cla":null}},"created_at":"2020-06-15T13:15:51.000Z","updated_at":"2026-02-18T08:46:52.000Z","dependencies_parsed_at":"2025-04-18T10:53:06.969Z","dependency_job_id":"07b6f8a9-8a88-4f9e-9e17-631f47c7df7a","html_url":"https://github.com/ongres/stackgres","commit_stats":null,"previous_names":[],"tags_count":121,"template":false,"template_full_name":null,"purl":"pkg:github/ongres/stackgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ongres%2Fstackgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ongres%2Fstackgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ongres%2Fstackgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ongres%2Fstackgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ongres","download_url":"https://codeload.github.com/ongres/stackgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ongres%2Fstackgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29957128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["high-availability","java","kubernetes","kubernetes-operator","postgres","postgresql"],"created_at":"2024-08-01T05:01:02.897Z","updated_at":"2026-03-01T01:09:58.133Z","avatar_url":"https://github.com/ongres.png","language":"Java","readme":"\u003cdiv align=\"center\"\u003e\n   \u003ch1\u003eStackGres\u003c/h1\u003e\n   \u003cp\u003e\u003cb\u003eEnterprise Postgres made easy. On Kubernetes\u003c/b\u003e\u003c/p\u003e\n   \u003ca href=\"https://stackgres.io\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://stackgres.io/img/favicon/android-chrome-192x192.png\" alt=\"StackGres\"/\u003e\n   \u003c/a\u003e\n\u003c/div\u003e\n\nStackGres is a full-stack PostgreSQL distribution for Kubernetes, packed into an easy deployment unit.\nWith a carefully selected and tuned set of surrounding PostgreSQL components.\n\nAn enterprise-grade PostgreSQL stack needs several other ecosystem components and significant tuning.\nIt's not only PostgreSQL. It requires connection pooling, automatic failover and HA, monitoring,\nbackups and DR, centralized logging… we have built them all: a Postgres Stack.\n\nPostgres is not just the database. It is also all the ecosystem around it. If Postgres would be the\nLinux kernel, we need a PostgreSQL Distribution, surrounding PostgreSQL, to complement it with the\ncomponents that are required for production deployment. This is what we call a PostgreSQL Stack.\nAnd the stack needs to be curated. There are often several software for the same functionality. And\nnot all are of the same quality or maturity. There are many pros and cons, and they are often not\neasy to evaluate. It is better to have an opinionated selection of components, that can be packaged\nand configured to work together in a predictable and trusted way.\n\n\n## Getting Started\n\nWe recommend that you check our [documentation](https://stackgres.io/doc/latest/) and have a look at the [Demo / Quickstart](https://stackgres.io/doc/latest/demo/quickstart/) section to know how to start using StackGres.\n\nAlso, on our web https://stackgres.io/install/, you can get the one-line command to install StackGres.\n\n## Features\n\n- [Automated failover and High Availability with Patroni](https://stackgres.io/features/#automated-failover)\n- [You are in full control. You are the postgres user](https://stackgres.io/features/#full-control)\n- [Automated backups, lifecycle management](https://stackgres.io/features/#automated-backups)\n- [Fully-featured management Web Console](https://stackgres.io/features/#web-console)\n- [Automatic Prometheus integration. Built-in customized Grafana dashboards](https://stackgres.io/features/#prometheus-integration)\n- [Distributed logs for Postgres and Patroni](https://stackgres.io/features/#distributed-logs)\n- [High-level management CRDs. GitOps ready](https://stackgres.io/features/#management-crds)\n- [Integrated server-side connection pooling](https://stackgres.io/features/#connection-pooling)\n- [Enhanced observability via Envoy Proxy’s Postgres filter](https://stackgres.io/features/#envoy-proxy)\n- [Expertly tuned by default](https://stackgres.io/features/#expertly-tuned)\n- [Lightweight, secure container images based on RedHat’s UBI 8](https://stackgres.io/features/#redhat-based)\n\n## Community\n\nEverybody is welcome in this open Community for StackGres, check out the different ways to collaborate:\n\n- [Developer Documentation](https://stackgres.io/doc/latest/developer/): If you are a Kubernetes Administrator or a Java Developer, you might want to contribute back to StackGres, either by testing it, developing Kubernetes code (Helm, architecture) or Java’s core operator.\n- [Public dashboards](https://gitlab.com/ongresinc/stackgres/-/issues): If you want to see what’s coming down the road, check our issues. They are open so you can create issues yourself or comment on open issues. We welcome feedback, ideas and collaborations!\n- Join the [Slack](https://slack.stackgres.io/) \u0026 [Discord](https://discord.stackgres.io/) Community becoming an advocate, user, tester or contributor of StackGres.\n\n### Code of Conduct \n\nTo ensure a more open and welcoming community, StackGres adheres to a [Code of Conduct](CODE_OF_CONDUCT.md), and everyone involved in the projects, issues, chat rooms, and any other official communication channel, is expected to follow it.\n\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)\n\n## About the Operator\n\nThis repository holds one of the major components around StackGres and is the StackGres Operator\nbuild around Kubernetes. An Operator is a method of packaging, deploying and managing a Kubernetes\napplication. Some applications, such as databases, required more hand-holding, and a cloud-native\nPostgres requires an operator to provide additional knowledge of how to maintain state and integrate\nall the components.\n\nThis operator is built in pure-Java and uses the [Quarkus](https://quarkus.io/) framework a Kubernetes\nNative Java stack tailored for GraalVM \u0026 OpenJDK HotSpot, crafted from the best of breed Java\nlibraries and standards.\n\nThe container image of StackGres is built on Red Hat Universal Base Image and compiled as a native binary\nwith GraalVM allowing amazingly fast boot time and incredibly low RSS memory.\n\n---\n\n## FAQ\n\n### Is StackGres a modified version of Postgres?\nNo. StackGres contains PostgreSQL, plus several other components (such as connection pool or\nautomatic high availability software) from the PostgreSQL ecosystem. All of them are vanilla\nversions, as found in their respective open source repositories, including PostgreSQL.\nAny application that runs against a PostgreSQL database should work as-is.\n\n### How is StackGres software licensed?\nStackGres source code is licensed under the OSI-approved open source license\nGNU Affero General Public License version 3 (AGPLv3). All the source code is available on this\nrepository.\n\n### Is there a StackGres commercial license that is “GPL-free”?\nYes. Contact us if you want a trial or commercial license that does not contain the GPL clauses.\nWill you ever switch from an open-source license to a source-available one?\nOur promise is that no, this won’t happen. We respect others who switch to or are directly built\nas source-available software, but we don’t follow this approach.\nWe love the concept of GitLab’s stewardship, and in the same spirit, we promise here that\nStackGres will always be open source software.\n\n### What PostgreSQL versions are supported?\nAs of now, PostgreSQL major version 12 and 13. As a general rule, StackGres will support the last 2 Postgres version. \n\n### Where does it run?\nStackGres has been designed to run on any Kubernetes-certified platform. Whether is a\nKubernetes-as-a-Service offered by a cloud provider or a distribution running on-premise,\nStackGres should run as-is.\n\n### How is HA implemented?\nHigh Availability and automatic failover are based on Patroni, a well-reputed and trusted software\nfor PostgreSQL. No external DCS (Distributed Consistent Storage) is required, as it relies on\nK8s APIs for this (which in turns reach etcd).\n\n### Why is used UBI as the base image for StackGres?\nRed Hat Universal Base Images (UBI) are OCI-compliant container base operating system images with\ncomplementary runtime languages and packages that are freely redistributable. UBI lets developers\ncreate the image once and deploy anywhere using enterprise-grade packages. For more information read\nthe official [UBI-FAQ](https://developers.redhat.com/articles/ubi-faq/).\n\n---\n\n```\n   _____ _             _     _____\n  / ____| |           | |   / ____|\n | (___ | |_ __ _  ___| | _| |  __ _ __ ___  ___\n  \\___ \\| __/ _` |/ __| |/ / | |_ | '__/ _ \\/ __|\n  ____) | || (_| | (__|   \u003c| |__| | | |  __/\\__ \\\n |_____/ \\__\\__,_|\\___|_|\\_\\\\_____|_|  \\___||___/\n                                  by OnGres, Inc.\n\n```\n","funding_links":[],"categories":["Java","容器化工具","Databases"],"sub_categories":["PostgreSQL"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fongres%2Fstackgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fongres%2Fstackgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fongres%2Fstackgres/lists"}