Renewing your root CA with a new root CA such that the older certs signed by old root CA are still valid

Context If you have a root CA which you used to sign certificates, and if the root certificate is about to expire, the certificates signed by the root CA will also become invalid after the root CA expires even if the certificates signed by it haven’t expired. As every certificate in the chain must remain valid for your certificate to be valid. Also for example the kube-apiserver when it comes up, it --client-ca-file while it comes up, where you can pass the root CA. ...

May 18, 2023 · 2 min · Tasdik Rahman

neovim setup for golang 6 months in

So far I have been using my nvim golang setup for around more than 6months now and I am still learning something new everyday while I use it. coc.vim works really well so far for me. Linting, autocomplete, jumping to definitions back and forth, code folding, checking for references for where a function/method is used, it works out for me well so far. What I am trying to fix on my setup so far The debugging experience for sure can be improved, I have tried using nvim-dap-go. ...

April 29, 2023 · 2 min · Tasdik Rahman

My vim setup for golang

Ok, not vim, but nvim tl;dr what does all this get me in my setup https://github.com/tasdikrahman/dotfiles/tree/master/vim jump to definitions jump to references jump to symbols fuzzy file search code folding jumping between test and implementation file testing specific function real time code linting Cleaning my vim config after some time and ended up removing a bunch of things and starting afresh, a couple of plugins which had been archived but worked all the while were https://t.co/lmjXtN7HbS, switched to https://t.co/7ZSoKMgwBW as it was the recommended replacement (1/n) ...

October 28, 2022 · 2 min · Tasdik Rahman

Working remotely in a geographically distributed team without burning yourself out

Context Wanted to pick ideas from folks who have worked in such setups effectively/led teams over the years across geographical continents. Given I recently took up a fully remote role, with the team that I am joining being spread across EU and in the US as of now. This post is just for documentary purposes for me to look back how I have fared over the course of this year and the next as I take this journey of working in a remote first company. ...

October 8, 2022 · 2 min · Tasdik Rahman

Scaling cluster upgrades for kubernetes

This post is more of a continuation of the talk I gave over at kubernetes bangalore k8s september 2022 meetup. Here are the slides, which you can take a peek over, to complement this post, if you would like to go through it before reading further. Context I will not repeat the content which is already there in the slides. Will also update this post with the talk link when the talk gets uploaded. But I do want to delve over into the idea of how I feel I would attempt to structure the upgrades next. This post is more on the infrastructure upgrade complexities arising from when managing double digit or more k8s clusters. ...

September 26, 2022 · 5 min · Tasdik Rahman

Musings with client-go of k8s

This post mostly is for documentary purposes for myself, about a few things which I ended up noticing while using client-go as I used it for deliveryhero/k8s-cluster-upgrade-tool, which used the out-cluster client configuration, a couple of things are specific to that setup, like client init, but other things like testing interactions via client-go are more generic. Initialization of the config client-go in itself, shows a couple of example of client init here, pasting the snippet here for context ...

September 22, 2022 · 6 min · Tasdik Rahman

Moving over to www.tasdikrahman.com from tasdikrahman.me

I have been writing over at this blog since mid 2015 and not much has changed over these years on this blog, the same theme, the same static website generater, the same color scheme. Why did I end up moving? The .me domain name, from what I could gather, the registry which is operating it has access to it only till 2023, not that I am anticipating anything out of the blue, but I felt it just makes sense long term to move to .com. ...

September 17, 2022 · 2 min · Tasdik Rahman

Stubbing and few other testing tidbits for python

It’s been sometime since I wrote some python, and ended doing a bit of testing for a couple of routines which I ended up implementing. This post is more about me just condensing those ideas for python and how to do it in python, but the ideas are also a carryover from my other testing experiences, while using other languages and how my ideas for testing have progressed over time comparing some testing which I had done in some projects some years back. You can find a couple of more posts under https://www.tasdikrahman.com/blog/tag/testing/ where I have delved more into these topics. ...

April 15, 2022 · 7 min · Tasdik Rahman

spf13/cobra not respecting mandatory flags as part of Prerun

Just a continuation of the tweet, adding into small snippets for context. Came across this issue where spf13/cobra would not work for mandatory flags set, when PreRun is set for a command while building a cli tool https://t.co/GmULRFrFfm (1/n) — Tasdik Rahman (@tasdikrahman) February 28, 2022 Context When you have both the PreRun and Run directives, and the mandatory flag present, which you expect to run before the PreRun directives mentioned, it will not be respected. This post is just a small nudge to prevent someone from trying to achieve the same as the same hasn’t been documented on cobra.dev side so far (in case nothing has been missed) ...

February 28, 2022 · 3 min · Tasdik Rahman

Evolution of support for infrastructure teams

Context As time has progressed, I have been part of teams of different sizes in terms of org size as well as the team sizes which I have been part of. This post is a conglomeration of the ideas I have picked up, things which have worked out/which haven’t and mental models developed as being a part of such infrastructure teams and growing with them. Another thing noticed over time, would be the amount of adhoc work being slightly higher than other engineering teams out there, hence the difference in structure on how to handle it as we will see over the course of this post. ...

February 21, 2022 · 8 min · Tasdik Rahman