8 followers
A 19-year-old software engineer working for Suria Labs. Writing in Ruby and JavaScript, getting my hands dirty with Docker and Kubernetes.
A pull request isn't just the responsibility of the author, but also the reviewer. In this article, I'll be sharing 8 tips on giving effective code reviews. 1. Practice conventional comments I've been practicing conventional comments for around 6 mon...
When I first started working almost 3 years ago, I couldn't see the need to include anything in the description of my pull requests. I had felt that the title is enough. In some cases, this is true. But in other cases, a Fix broken ABC feature sounds...
In Kubernetes, we can use the kubectl logs command to print logs of a container. The command accepts a -f flag to print live logs. Single-container Pods kubectl logs ping-pod Multi-container Pods For multi-container pods, we need to pass in the nam...
In Kubernetes, we can decide to prevent certain pods to run in a specific node. We make use of taints and tolerations to achieve this effect. Taints What is a taint? A taints is a key-value pair with a taint effect attached to it. The taint effect ca...
In Kubernetes, we can specify the resources a pod's containers can utilise, The resources usually specified are CPU and RAM. There are two specifications to be familiarised with. Resource request Resource limit Resource request is a specification t...
Service Accounts are used by services as a way for them to authenticate when trying to interact with Kubernetes API. A service account comes with a token that is linked to a Secret object. The secret has a type of kubernetes.io/service-account-token....