Provision, Upgrade, Scaling, Volume Expansion, Monitor, Backup & Restore, Security for PgBouncer in Kubernetes on any Public & Private Cloud
1apiVersion: kubedb.com/v1alpha2
2kind: PgBouncer
3metadata:
4 name: pgbouncer-server
5 namespace: demo
6spec:
7 connectionPool:
8 adminUsers:
9 - admin
10 - admin1
11 maxClientConnections: 20
12 reservePoolSize: 5
13 databases:
14 - alias: postgres
15 databaseName: postgres
16 databaseRef:
17 name: quick-postgres
18 namespace: demo
19 replicas: 1
20 terminationPolicy: WipeOut
21 userListSecretRef:
22 name: db-user-pass
23 version: 1.17.0
As the world’s enterprises rapidly move to the cloud, and Containers are taking over the world of software development, Kubernetes is the platform that lets users seamlessly deploy, scale, run applications and manage their life cycles.
But, Running Databases or Stateful applications in Kubernetes has always been a concern. And it becomes really difficult in terms of Run and manage Production-Grade Databases on Kubernetes.
KubeDB is the Kubernetes Native Database Management Solution which simplifies and automates routine database tasks such as Provisioning, Monitoring, Upgrading, Patching, Scaling, Volume Expansion, Backup, Recovery, Failure detection, and Repair for various popular databases on private and public clouds. KubeDB provides a simple mechanism for running your storage system in the same platform as your application.
If you can run Kubernetes, you can simply provision PgBouncer using KubeDB. You don’t need to worry about all of the knowledge of Kubernetes Concept, Helm, and PgBouncer server side setup. KubeDB simplifies the whole process for you. You just have to use standard Kubernetes CLI and API to provision PgBouncer.
Upgrading the pgbouncer version in Kubernetes is complicated. Upgrade operation should follow a specific order. KubeDB allows you to upgrade your running PgBouncer version without any downtime. You can upgrade your pgbouncer to any major or minor update of the PgBouncer version.
To improve your pgbouncer performance you have to make sure that your pgbouncer is scalable. KubeDB offers both Vertical and Horizontal Scaling of PgBouncer in Kubernetes. You can simply scale your PgBouncer cluster in Kubernetes using KubeDB.
KubeDB comes with native support for monitoring via Prometheus. You can use builtin Prometheus scrapper or CoreOS Prometheus Operator to monitor your PgBouncer in Kubernetes. You can use the Grafana to view key operational metrics, including compute/memory/storage capacity utilization, I/O activity, and instance connections.
To secure a pgbouncer your data needs to go through a cryptographic protocol that provides end-to-end security of the data transmission over the network. You can secure your PgBouncer with TLS using KubeDB. Also, KubeDB allows you to use encrypted storage for your pgbouncer using keys you manage through your cloud provider’s key management service.
Trusted by top engineers at the most ambitious companies
InterSystems was delighted to engage with AppsCode in the delicate, yet fundamental task of supporting durable, non-ephemeral workloads with Kubernetes. We needed the best-prepared, most-proficient database operator consulting in the industry. Given AppsCode's pedigree of database building operators, the decision was easy. No time was wasted and all objectives reached in an amazingly short period of time. I would recommend AppsCode consulting for any Kubernetes related work.
Voyager made it simple and efficient for us to protect and initiate our bare metal Kubernetes workload. Its underlying technology and extensive L4 support along with seamless SSL integration is what made us choose Voyager over others. Voyager team is also very responsive when it comes to support. Great product!
Voyager is the easiest way to use the fast and reliable HAProxy as our ingress controller. At PriceHubble, it is the corner-stone of our blue/green deployments.
I work with a few Kubernetes clusters and we use Voyager as our preferred ingress controller. We really like the ease of configuration. Documentation is pretty good. Also the use of HaProxy is important for us because it works really well with both L4 and L7 load balancing. One of our TCP services, Wayk Now, is able to withstand thousands of persistent connections very smoothly at the same time.
We really like using Voyager. Its straightforward and well-documented config and SSL (especially Let's Encrypt) has made our migration of services to Kubernetes a breeze. Each major version has been a very welcome update!
We're using Voyager as part of most Astarte deployments and it's orchestrated also by our brand new Operator. We are glad to showcase that.
KubeDB community edition is FREE to use on any supported Kubernetes engines. You can deploy and manage your database in Kubernetes using KubeDB. There is no up-front investment required. We offer a 30 days license FREE of cost to try KubeDB Enterprise edition.