Uncategorized

My go to Kubernetes tools

After working with the popular and still growing container management platform, I’ve had the opportunity to use several different management tools. Here’s my current favorites. OpenLens A GUI and open source K8s management tool. Works well with a small number of clusters (10 clusters can be added/pinned to the “hotbar”). This tool has the ability […]

An easier method to deal with AWS Security Groups via Terraform

As I continue my Terraform journey, I am always trying to find better ways to deal with the complexities of the code and the resulting resources built from the code. Security Groups are no execption. I did some web searching and found some code to parse a CSV and create a security group rule set. […]

What I’ve learn working with EKS and Kubernetes RBAC

RBAC or Role-based Access Control, is a key feature of Kubernetes (a.k.a. k8s) that provides access control by roles and role bindings. A role will be defined with a set of api_groups (“” for default, “apps”, “autoscaling”, “batch”, “extensions”, “networking.k8s.io”, “authentication.k8s.io”,”storage.k8s.io”,”certificates.k8s.io), resources (pods, deployments, namespaces, secrets, persistentvolumes, configmaps, nodes), and vebs (create, get, delete, list, […]

Configmap and the AWS EKS Terraform Module

I’m currently on a cool project where we are automating the deployment of EKS clusters with Terraform. The TFE server is configured with an IAM user, that TF user will automatically be added to the aws-auth section of the configmap. We have EKS module code to add our SSO group’s rolearn to the configmap. The […]

My takeways from Terraform code and Gateway Load Balancer

My first bit of code for my new employer was help to setup a “security VPC” that hosts a pair of Palo-Alto firewalls to inspect traffic from other AWS accounts (AKA “hub and spoke”). This work was based (loosely) on repos found here and here…these repos build a similar environment but within a single AWS […]

Handy PowerShell client-side code for print server migration

The Challenge A client will be decomissioning a Windows print server but will keep the printers and have Windows clients print directly to print devices. How can we automate the setup of the new printer ports and printers?…and as a bonus we’ll get a simple way to mitigate your environment from Printnightmare. The key there […]

How I removed credentials from my terraform code.

I had been using credential files in my terraform projects. Recently I switch to use AWS SSO and providing the profile name in the code. At runtime (plan, apply, etc.) terraform will use the token from the given profile. If AWS returns expired, the command will stop with authentication errors. Simply authenticate by cli via […]

Joining an EC2 instance to a self-managed AD to launch with user-data

My latest project is a bit of a return to my old life with Microsoft. The majority of my AWS work has been with Linux workloads, so it’s been nice to brush off my old skills and return to PowerShell 😃. After manually joining a couple of instances to a self-managed AD (not an AWS […]

Scroll to top