AKS Lessons Learned 1 of 2

In general, troubleshooting Kubernetes is tricky. That is because one has to get in and out of pods. I took two days to troubleshoot some networking issues with private AKS cluster. For the amount of of tricks I had to employ, I need to take some notes. The issue After writing the Terraform code, I … Read moreAKS Lessons Learned 1 of 2

AWS CDK example in Typescript – provision an AWX server

This post provides an example of using AWS CDK in Typescript. Ansible Tower and AWX We have used open-source Ansible extensively in the past. While the automation is convenient, the lack of UI makes it not as suitable as a team collaboration tool. One way to allow team collaboration with open-source Ansible, is to use … Read moreAWS CDK example in Typescript – provision an AWX server

IPVS, iptables and kube-proxy

This is an overview of the underlying technologies that drives load balancing. It covers LVS, Netfilter, iptables, IPVS and eventually kube-proxy. LVS (Linux Virtual Server) One of the ways to implement software load balancing is via LVS (Linux Virtual Server), as previously discussed. The diagram below shows the LVS framework, with IPVS as the fundamental … Read moreIPVS, iptables and kube-proxy

Host legacy application in Docker 2 of 2

My previous notes include some tricks in hosting legacy application in docker. This is a continuation from that work, after 1.5 months… Use Case I decided to use docker to host application for a good reason, and let me start with what this Java-based application does as a single process. When it is up it … Read moreHost legacy application in Docker 2 of 2

Automated Deployment Pipeline 3 of 3

Background We have previously covered a pipeline example with Jenkins calling Ansible to leverage OpenSSH configuration and Ansible inventory. We also discussed a use case with declarative pipeline. In this posting, I will provide another advanced example, built on declarative pipeline. The pipeline file will be pulled from Git repository. Also, the script is executed … Read moreAutomated Deployment Pipeline 3 of 3

Automated Deployment Pipeline 2 of 3

In this posting, we continue to discuss Jenkins’ ability to automate deployment routines. Jenkins supports freestyle project out of the box, as well as Pipeline with several plugins. Freestyle project allows user to specify multiple steps on UI. This does not scale well when your entire process involves many steps. As explained on Jenkins’ website: … Read moreAutomated Deployment Pipeline 2 of 3