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

openshift_container_platform

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...

Intro to MongoDB on Node.js

Node and MongoDB are a killer combination, providing powerful tools for quickly managing, storing, and querying collections of extensible JSON data objects with no data tranformation or SQL translations required. Watch this screencast to see how to easily get started, or refer to the blog post, Introducing MongoDB on Node.js.

Read More...

OpenShift Developer Spotlight: Warnar Boekkooi

Welcome to the OpenShift Developer Spotlight where we try get to know the members of the OpenShift community a little better. Interested in being featured? Apply here. View the Developer Spotlight page to see past entries and the Application Gallery to check out the cool apps the OpenShift Community is building. Name: Warnar Boekkooi Hometown: […]

Read More...