Planet Forklore

Aggregated blog posts from India's open source maintainers.

18 maintainers · 524 posts
Subscribe to RSS
Filter by author or tag

By Tag

Use netcat for port scanning

Quite often you’d need to check if a port on a target node is opened or blocked by firewall. I’ve always used telnet to test that but it has a few drawbacks: Need to use dirty hacks in shell scripts to auto close the connection. Also, telnet outputs some errors to /dev/stdout in…

My Setup: Passwords, 2FA, and Yubikeys

I upgraded my encryption setup recently, so I thought I should write about it, just in case it is helpful to someone else. As a security professional, I have a different threat model from most folks, and as such my setup does involve a bit more complexity than what I’d recommend…

kubectl wait

For the longest time I’ve had these commands in my .gitlab-ci.yml file for a K8s CD pipeline: ... - kubectl apply -k overlays/prod - echo "Waiting for 15 seconds for pods to be restarted" && sleep 15 - kubectl get po ... So, basically I apply the changes to cluster using kubectl…

Introducing kubekutr

kubekutr was born out of my frustration of organising K8s resource manifests files/directories. For the uninitiated, K8s lets you hold the state of your cluster declaratively as “manifest” files. K8s does so by a lot of asynchronous control loops to check whether the desired sta…

A quick primer on dig

Dig is a DNS lookup utility developed by BIND which helps a lot while troubleshooting DNS issues (which are more common than you probably think #hugops). I use dig fairly often and thought to write an introductory guide on how you can use dig with some practical examples that’ll…

Intro to RBAC in EKS

EKS uses a custom authenticator tool called “aws-iam-authenticator”. The basic idea is to make the auth flow in EKS easier by using the tools you already use in AWS. To wrap your head around the flow, consider three separate entities: A kubernetes resource (entire namespace, spe…

Kubernetes cluster on RPi

So, I got hold of 2 Raspberry Pi4 (still limited stocks in India) recently and wanted to build a Kubernetes cluster. Don’t ask why cause that would be pointless. I’ve little experience with a managed Kubernetes workload (Amazon EKS, which btw deserves its post 😝) but never real…