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
Kubernetes is the winner
There used to be lots of debates on what is the best container orchestration platform? Is it ECS or Mesos or Nomad or swarm or Kubernetes ? With some moves in the industry recently, I think the answer is obvious now - Kubernetes is the winner! What happened in the past a few weeks? Docker announced 'Adding Kubernetes … Continue reading Kubernetes is the winner
Find open ports from Linux kernel
Have you ever tried to find out the open ports in a Linux box without using the common tools like netstat, nmap, lsof, ss ... ? In some cases, the tools are just not available. e.g In a cutdown version Linux server or container, and you don't have the permission to install any software. I … Continue reading Find open ports from Linux kernel
Run Hubot on OpenShift
In this article, I will demonstrate how to build a Hubot bot on OpenShift. Four key take-away points. Create secret for git clone Use docker strategy to build if you prefer Dockerfile over S2I Inject environment variables from ConfigMap If needed, you can replace the FROM or CMD that defined in Dockerfile during deployment. In … Continue reading Run Hubot on OpenShift
