Posts by: Chris Weibel

The Tool to Start Your Journey with Kubernetes: Minikube

Photo by Braden Collum on Unsplash Minikube is a nifty tool to start playing with Kubernetes without incurring any additional costs since you run it on your own laptop. It runs as a virtual machine locally on VirtualBox or VMware Fusion and installs the kubectl CLI which you’ll need to interact with the clusters. The

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Setting up Cloud Foundry App Autoscaler using Genesis

Photo by Victor Muñoz on Unsplash App Autoscaler is an add-on to Cloud Foundry to automatically scale the number of application instances based on CPU, memory, throughput, response time, and several other metrics. You can even add your own custom metrics as of v3.0.0. You decide which metrics you want to scale your app up

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
GENESIS CF Kit + LDAP Example

Photo by Christopher Paul High on Unsplash Below is an example of using LDAP to back UAA for the Cloud Foundry Kit in Genesis. Comments have been left on each of the params to note where these values come from or to simply set-and-forget the values: # UAA LDAP configurationparams: ldap_spring_profiles: ldap ldap_ssl_certificate: (( vault

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
LDAP in Concourse, Why Hast Thou Errored On Me?

Photo by Marko Horvat on Unsplash What we were doing Recently, we were helping a client to integrate logging into Concourse. Deploying Concourse with the concourse-bosh-deployment is fairly easy with a base concourse.yml and features added with various ops files. One of the available ops files adds LDAP authentication which the client wanted. We wound

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Debugging Slow BOSH Deployed PostgreSQL

Photo by Vincent van Zalinge on Unsplash Something is just not quite right, the CLI is sluggish and your senses are tingling that something is wrong. Is it the database? Maybe. How do you know? pgBadger is a nifty tool that reads through postgres logs and generates a report showing slow queries, table locks, DML

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Where is PostgreSQL Getting That $%&^ing Configuration Parameter From?

​ Photo by Steve Smith on Unsplash Like a squirrel looking for a lost nut, finding where a configuration parameter is being set in PostgreSQL can be a pain in the (fluffy) tail. For example, the log_min_duration_statement which is used to configure the threshold duration of a query before it is logged can be set

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Adding pgBadger to the PostgreSQL Helm Chart

pgBadger is a helpful tool which will generate reports and diagrams about the type and pattern of sql queries over time that are submitted to PostgreSQL. The tool works by reading the PostgreSQL logs (not transaction logs) which are not typically enabled by default in the helm chart. Below are a few methods for leveraging

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Modifying the Default PostgreSQL Helm Chart to Emit Logging

Photo by Aleksandar Radovanovic on Unsplash While using the PostgreSQL Helm Chart I wanted to take a look at the queries which were running. I quickly realized I needed to enable the logging to see all the DML goodness to later feed into pgBadger to review the usage patterns of the queries. Below are three

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Running the CrunchyData Postgres Operator on Minikube

Why are we interested in Postgres on Kubernetes? I gave a talk last week on beginning the journey to getting PostgreSQL running on Kubernetes at the Buffalo Web Developers Database Meetup. There were examples on a simple deployment, configuring stateful sets, adding persistent volume claims and even a liveness probe. What I wanted to show

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝