Now that we have a process that automatically builds a container image whenever changes are committed to the git repository, we need a way to get those changes out, either into a development or test environment, or to the production environment. In the gitops world, a deployment is also initiated by a change to the […]
Category: Developer Talk
This article is the fourth in the series on how to set up an automated end-to-end workflow for deploying to a Kubernetes cluster. The previous steps accomplished a lot, even if they sound simple. Each involved multiple additional tasks to set up tools and systems, the classic yak shaving scenario. While the first two steps […]
This is the third part of the guide to setting up an automated workflow to deploy code to a Kubernetes cluster following a change in a git repository. The first two parts of this series so far belong in the dev portion of devops. They encompass what most software engineers do to build and test […]
The first article in this series introduced our objective, which is to create an automated workflow that delivers code to a runtime environment once it has been committed to a Git repository. In this part we will look at the next step, which is to package the app so that it can be run in […]
The core function of DevOps is to facilitate and automate the process of delivering code that developers write into production. Where CI/CD is involved, that means that code is compiled, tested and packaged, as applicable, whenever code is committed to a repository. A DevSecOps approach integrates security into the DevOps process through such steps as […]
01
Jun 2023
TIL: Python chained comparison vs and-joined
According to the Python documentation, x < y <= z is equivalent to x < y and y <= z, but real-world testing indicates they produce different code.
22
May 2023
Never Use Credentials in a CI/CD Pipeline Again
As someone who builds and maintains cloud infrastructure, I have always been leery from a security perspective of giving 3rd party services, such as CI/CD platforms, access to the resources. All the service vendors claim to take stringent precautions and implement foolproof processes, but still, vulnerabilities getexploited and errors happen. Therefore, my preference is to use tools […]
09
May 2023
Linux Virtual Service (ipvsadm)
I have been digging into how Kubernetes uses networking on Linux and came across Linux virtual server (LVS). LVS is a kernel-level feature that provides a virtual, network front end. The tool to manage LVS is ipvsadm. The tool is usually not available by default and must be installed. It is possible to use yum […]
10
Apr 2023
AWS Cost Reduction Can Really Pay Off
One benefit of public cloud infrastructure such as Amazon Web Services (AWS) is that it allows startups and established companies to quickly set up and start using resources. There are also a wide range of server types for many of those resources that require computing power, such as virtual servers, managed databases or caching. Some […]
Back in my C++ days, I knew most of the ins and outs of make, and makefiles and sub-makefiles. I could do pretty much whatever I needed to. Of course, in complicated projects the files start looking really ugly inside. Then for Java there was ant, which tidied up all the targets and dependencies in structured […]