Openshift – Jenkins Pipeline

This blog is about getting started with Jenkins CI/CD pipeline on Openshift. I use Jenkins as my build/deployment orchestrator for Openshift. The jenkins pipeline instructs Openshift to execute the openshift commands. The jenkins agent is deployed as a pod  on Openshift and executes the oc commands. My github source code referenced in this blog is found here https://github.com/vidhyachari/openshift-jenkins-pipeline. … Continue reading Openshift – Jenkins Pipeline

Advertisements

Openshift Objects and Concepts: Deep Dive Part 2

This blog post is part 2 of the Openshift Concepts and Objects. Here is the link to part 1 https://vidhyachari.wordpress.com/2018/05/12/openshift-objects-and-concepts-deep-dive-part-1/. My github source code referenced in this blog is available here  https://github.com/vidhyachari/openshift-hello-nodejs.git. Liveness/Readiness Probes Liveness/Readiness Probes provide container health checks. Openshift has the capability to detect unhealthy containers and handle them. The probes run diagnostics on … Continue reading Openshift Objects and Concepts: Deep Dive Part 2

Openshift Objects and Concepts: Deep Dive Part 1

Openshift is a platform as a service (PaaS) that is built on top of Docker and Kubernetes. Docker is a popular container engine. Kubernetes is a container orchestration system for automating deployments, scaling, and management of containers. This blog post is a deep dive into some of the core Openshift concepts and objects Familiarity with LXC … Continue reading Openshift Objects and Concepts: Deep Dive Part 1

Openshift: Deploying a Hello Nodejs application

This blog is a quickstart guide for deploying a hello-nodejs application to Openshift Online. Signup for a free Openshift online account. The steps are pretty straightforward. Create a Redhat account and enroll for the free Openshift Online Starter. This is great for individual learning and experimenting with Openshift. Read more about Openshift Online here https://www.openshift.com/features/index.html. … Continue reading Openshift: Deploying a Hello Nodejs application

Getting Started with Openshift – oc cluster up

oc cluster up sets up a local Openshift cluster with configured registry, router, image streams, and default templates. This is a great way to get started with development on your local Openshift environment. Let’s get started ! Download the oc client tool from here https://www.openshift.org/download.html. The OpenShift CLI exposes commands for managing your applications on Openshift. … Continue reading Getting Started with Openshift – oc cluster up

Kubernetes: ConfigMaps and Secrets

Kubernetes solved the problem of externalizing configurations with ConfigMaps (for non-sensitive information) and Secrets (for sensitive information).  This blog is about creating Kubernetes ConfigMaps and Secrets for your microservices. I am going to be using my express sample application from https://github.com/vidhyachari/kubernetes-config.git. Also I am using my single node Kubernetes cluster on Minikube and PowerShell for … Continue reading Kubernetes: ConfigMaps and Secrets

Kubernetes: Creating Deployment and Service objects, Configuring Liveness and Readiness Probes

This blog is a deep dive into Kubernetes deployments, services and configuring liveness and readiness probes. My hello-express code sample for this blog is located here https://github.com/vidhyachari/hello-world-express. My application serves up a static html content. If you are new to Kubernetes take a look at my previous blog https://vidhyachari.wordpress.com/2017/09/16/hello-kubernetes-deploying-a-node-js-application-on-kubernetes/ to get started with Kubernetes. I … Continue reading Kubernetes: Creating Deployment and Service objects, Configuring Liveness and Readiness Probes