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 Dynamic Provisioning and StorageClasses

Using Dynamic Provisioning and StorageClasses

OpenShift can integrate with underlying infrastructure, enabling OpenShift to dynamically interact with infrastructure and extend its functionality. Specifically, this can allow us to set up OpenShift to process a PersistentVolumeClaim and then allocate that storage dynamically.

I am going to cover what is needed to get started with dynamically provisioning storage, including cloud provider configuration, StorageClasses, and the Default StorageClass.

Read More...

Central Log Management in OpenShift Enterprise

Starting with version 2.1, OpenShift Enterprise supports central log management for the whole environment. Everything from OpenShift components themselves (eg. the Broker application) to applications running on the platform. Metrics for gears and applications, including custom cartridge and application metrics, can also be centrally collected as part of that process. This gives you the ability […]

Read More...

OpenShift Developer Spotlight: Doug Garrett

OpenShift Developer Spotlight: Doug Garrett

Our developer spotlight this week features Doug Garrett and his application, Rate a Meeting which provide attendees of a meeting with a quick and easy way to rate the meeting on a scale from 1-5 to give the presenter feedback. The app was created using bootstrap, and MongoDB, Express, AngularJS, and Node.js (MEAN stack.)

Doug says the motivation for creating the app came from a quote by Dave Barry, “If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be ‘meetings'” and the fact that he wanted to create an app using MEAN stack.

Learn more about Doug as a developer and check out his app in our application gallery.

Read More...