I have successfully migrated 'Dilbert' from EC2 instance to OpenShift. Dilbert is an automation bot that we use to offload some daily operations. In this article, I will show you how it works. In the Dilbert project, I have one build configuration. For each version, I only build once. This to ensure only one binary … Continue reading CICD on OpenShift Part One
Simple version of CICD Workflow
Above is my simple version of CICD workflow that I use as a guidance in day to day work. A bit explanations on how to use it. The workflow has six stages and seven scenarios. Six Stages: Commit Change: When user commit changes to code repository. Build Binary: When CI server builds the binary to … Continue reading Simple version of CICD Workflow
Horizontal Pod Autoscaling
I did a quick test of the HPA (Horizontal Pod Autoscaling) on OpenShift, here are some key findings: Heapster metric is not near realtime, it is about 2 minutes delay in my test. HPA only has one threshold to decide when to scale up or scale down. I think it makes sense, as pods normally … Continue reading Horizontal Pod Autoscaling
OpenShift build error: fatal: git fetch-pack: expected shallow list
If you are seeing such error when doing build in OpenShift - 'error: build error: fatal: git fetch-pack: expected shallow list', then you probably have missed the ref in your build configuration, ref can be tag or branch name. spec: triggers: - type: ConfigChange source: type: Git git: uri: 'http://github.com.au/jc1518/dilbert.git' ref: master
Kubernetes as a Service
I still remember that more than two years ago, I spent a couple of days to setup a Kubernetes cluster in vSphere (refer this article ' Install Kubernetes' that I wrote in 2015). During that time not many people understood what container is not mention Kubertnetes, but nowadays everyone in the industry talks about container and … Continue reading Kubernetes as a Service

