Engineering Approach

A summary of my approach to building an application from the planning, software and infrastructure perspective.

Creating a simple Kubernetes Operator in .NET

Creating a Kubernetes operator can seem a bit overwhelming at first. To help, there’s a simple NuGet package called CanSupportMe.Operator which can be as simple as watching for a secret or config map or creating a custom resource definition (CRD)Read More

.NET Container Running as Non-Root in Kubernetes

A quick guide to running .NET containers as non-root, non-privileged users.

Create a Service Account and Get Token In Kubernetes Running In Docker Desktop

When running Kubernetes in Docker Desktop 4.8 and later, creating a service account doesn’t create the token properly. The following script will create a service account and retrieve the token. Note that it creates a cluster admin service account forRead More

Running an Azure DevOps Build Agent in Kubernetes

A quick guide to setting up one or more Azure DevOps build agents in Kubernetes.

Create TypeScript Next.js app that runs in a container

Use Yarn to create a TypeScript Next.js application that will build and run in Docker using a two-stage container.

Set up local Redis container

To set up a local Redis container that automatically starts up on reboot, run the following command: To include a UI, run the following command:

Build container from Visual Studio built Dockerfile

If you need to build a project using the Visual Studio generated Dockerfile, you need to run docker build from the solution folder and specify the file. Assuming the project you are working is called Your.Project.Api and this is theRead More

Run an NGINX server for a folder

Set up an NGINX container to expose a website via a specific port.

Build a Docker container from your SQL backup

A quick guide to getting a SQL Server container up and running with a database backup pre-loaded.