Software Engineering Blog

Customising Kubernetes Resources with Kustomize

Kubernetes is a popular container orchestration system that allows you to deploy, scale, and manage containerized applications. One of the challenges of using Kubernetes is managing the large number of YAML files that are used to define and configure resources such as Pods, Deployments, Services, and ConfigMaps. Kustomize is a tool that simplifies the management of Kubernetes resources by providing a flexible and modular approach to customising YAML files. In this article, we’ll introduce Kustomize and discuss how it can help you manage your Kubernetes resources more effectively.

Simplify HTTP Request Mocking in Python with Responses

One of the most tedious tasks in testing code that interacts with external APIs is mocking HTTP requests. It can be time-consuming to set up mocks for each request, and it can be difficult to verify that the request body matches your expected payload. Thankfully, there’s a Python library called Responses that can simplify this process for you. In this article, we’ll explore how responses can be used to mock HTTP requests in Python tests, and we’ll demonstrate how to compare request bodies with Python objects.

What to Look for in a Code Review

Code reviews are an essential part of software development. They help ensure that code is well-designed, functional, and meets the needs of the users. However, code reviews can be time-consuming and challenging, and it can be challenging to know what to look for. In this article, we’ll provide a guide for software engineers on what to look for in a code review. Design and Functionality When reviewing code, it’s essential to pay attention to the design and functionality.

The Standard of Code Review: Striking a Balance Between Quality and Progress

As software engineers, we know the importance of code review in maintaining the overall health of a codebase. However, code review can often become a source of frustration when reviewers demand perfection and delay progress. In this article, we’ll explore Google’s standard of code review and how it strikes a balance between quality and progress. Balancing Progress and Quality The primary purpose of code review is to ensure that the overall code health of the system is improving over time.

Mastering the Art of Code Review Comments

As software engineers, one of the most important aspects of our work is code review. Code review is a crucial process that helps ensure the quality and maintainability of code. However, providing effective code review comments can be challenging, especially when it comes to striking the right balance between being helpful and being critical. In this article, we will explore the best practices for writing code review comments that are courteous, clear, and helpful.

Making a Pull Request (PR) to an open-source project

Making a Pull Request (PR) to an open-source project involves the following steps: Fork the repository: First, you need to fork the repository you want to contribute to. This creates a copy of the repository on your account, which you can make changes to. Clone the forked repository: Once you have forked the repository, you need to clone it onto your local machine. This can be done using the Git command git clone.