just another tech blog site...

Run Pi-hole with exporter in Kubernetes

Ever since I’ve started running a home-lab, one service that has been a staple for me is Pi-hole. It’s fast, reliable and low foot print DNS server that also blocks adds. More information about Pi-hole here: https://pi-hole.net/ I’ve tried different iteration of installation: from linux install to my current setup, running as a container in a stand-alone docker host. Now, I’ve started switchin
Read More

Web Development/ Gitlab CICD Experience

As a follow-up from my previous jenkins install, I decided to instead use gitlab to run my ci/cd pipeline due to the following reasons: Code and Jobs in one place feels more natural as execution automatically gets triggered in each code commit. No need to mess with plugins. Way easier to setup. Now, to have a real-world experience (or alteast close to it) I needed to have a good use case to apply it. Good thing my si
Read More

TKG 1.1.3 is out!

TKG 1.1.3 is out and with it brings an exciting change – NFS Tools is now included in the PhotonOS! This is big as it opens up ootb integration with shared storage. Previously, you need to mess with photonOS internal manually to make use of NFS for pods… and yeah -new K8S version too. Now – time for an upgrade. Before that, lets do the pre-work Upload both tkg OVA: kubernetes and haproxy and mark it
Read More

Extract LetsEncrypt certificate from acme.json (Traefik 2.2) to use for Harbor running in Kubernetes

Since last week, I’ve been running harbor using a self-signed certificate. This is okay for home-lab purpose but annoying once you start integrating with Kubernetes. This is because you need to modify the each node to trust the self-signed cert to be able to push/pull images, and with TKG providing scale-out k8s installation – this is a headache to integrate. To solve this, we can use LetsEncrypt to provi
Read More

Use Traefik with Harbor

For this post, I’ll be documenting how to run Harbor behind Traefik in a kubernetes installation. Although the Harbor helm chart can be installed with nginx ingress controller – I already have an ingress controller running in my cluster and I prefer to use it instead. (Also, traefik is way easier to configure :P). Now, to install, configure the following in the values.yaml in the harbor helm chart: values
Read More

Jenkins weekend: Install, Configure for newbies

During the weekend, I wanted to try creating a CI/CD pipeline for web-applications I’ve been developing ( details on a separate post). Given the only experience I have with such technologies (CI/CD Pipeline) is seeing them from marketing slide – this is an opportunity for me to learn and document my experience. Hello Jenkins When you think CI/CD- you’ll always going to come across Jenkins. Now, whil
Read More

How to use Ansible Module for NSX-T

This post documents the experience in using ansible module for nsx-t https://github.com/vmware/ansible-for-nsxt Prerequisites The following steps were undertaken in a control VM where the ansible playbook will be executed. Install ovftool I’m using ubuntu 18.04 and have downloaded ovftool.bundle from VMware. After uploading the file, issue sh VMware-ovftool-4.3.0-7948156-lin.x86_64.bundle pip3 install --upgrade
Read More

Install AWX to Kubernetes

The following posts describes some gotchas/ experiences I have while installing AWX to a kubernetes Cluster. The official AWX documentation (in my opinion) is not friendly to newcomers and assumes you have domain knowledge on the target platform you plan to install it on – and even then some items are not clearly defined. See for yourself here: https://github.com/ansible/awx/blob/devel/INSTALL.md Things to cons
Read More

Certified Kubernetes Administrator (CKA) and Certified Kubernetes Application Developer (CKAD) Exam Impression

A month ago, I took and passed Certified Kubernetes Application Developer (CKAD) and, a week later, Certified Kubernetes Administrator (CKA). This post is not meant to provide review guidelines but my take on the exam as someone: Who has been taking only VMware Certifications in the last 10 years (my last non-vmware cert is NCDA back in 2010?) Primary experience being a System Administrator Knowledge in Cloud-Native
Read More