Using Post Hook to Initialize a Database

Using Post Hook to Initialize a Database

In the OpenShift v2 days, we used Action Hooks to initialize a database with test data. OpenShift 3.x also provides pod lifecycle hooks that can be leveraged to initialize the database after the database starts inside a pod. This blog explains the approach using pod lifecycle hooks. In this blog, I am using MYSQL database as an example. A similar approach can be used with other databases.

Read More...

Using New Relic to Monitor Applications on OpenShift

Using New Relic to Monitor Applications on OpenShift

In this post, we show a way to configure New Relic to monitor an application running on OpenShift Container Platform. The repository includes a customized assemble script for Tomcat/JBoss EWS 8 that instruments an application using a New Relic Java Agent. The script for downloading and layering in New Relic Agent is baked into this assemble script.

Read More...