Kubernetes: Recreating Pods Sometimes it's practical to re-create a pod because it needs to re-load configuration or restart. Here are some tricks to deleting and re-creating pods. Delete All Pods By Label To get the labels of a pod run this command on the appropriate namespace. kubectl get pods -o wide kubectl delete pods -l app=kubernetes-tutorial -n mrjamiebowman Delete Each Pod Individually The key thing here...

SSH Tunneling

SSH Tunneling When you need to access a server/client behind a firewall that doesn't allow port forwarding you can use SSH tunneling to bypass that if an SSH server is running. Pivoting is a sneaky technique that hackers use to access computers, servers, and services behind firewalls. These examples will use OpenSSH. I think most examples don't explain this well...
Pointing a Domain Name to Azure Kubernetes (AKS) with a Static IP There are several ways to do this. I will start with the most basic way to demonstrate how this could be done and then gradually demonstrate more advanced ways. I will point a domain name to a Kubernetes service that will host multiple WordPress websites. This is a...
HashiCorp Packer Packer is a really awesome modern tool for automating the process of provisioning images. This in conjunction with source control (preferably Git) and Vagrant can mean that your portable Hyper-V, VirtualBox or VMWare images are maintainable and immutable. Through provisioners, Packer can build in many different environments including cloud infrastructure. There's a lot of good documentation out there...
Merge Kube Config in PowerShell Merging Kubernetes Config files is a rather cumbersome process. You can manually copy in the values but sometimes that doesn't always go as planned. I was looking for a way to merge Kube Config files when I ran across a great post that wasn't geared for PowerShell users. Key Takeaways Must use full path. Relative paths did...
Must-Have Kubernetes Tools These are some must-have tools that can make working with Kubernetes significantly easier! These are my favorite tools that I use regularly that improve my workflow, security and troubleshooting abilities. kind This tool is phenomenal at creating local Kubernetes environments that run in Docker images. This is significantly easier to use than Docker's Kubernetes out of the box. It...
Docker: MSSQL Server Microsoft has created several images for MSSQL Server on Docker Hub. They have support for Windows and Ubuntu containers. It's very easy to customize these images with setup scripts, execute commands, or build a custom image. Pulling a Ubuntu 2019 SQL Server docker pull mcr.microsoft.com/mssql/server:2019-CU5-ubuntu-16.04 Pulling a Windows 2019 SQL Server docker pull mcr.microsoft.com/mssql/server:2019-latest DockerHub: Microsoft SQL Server GitHub: Azure Data SQL Samples...
Resetting SA Password in MSSQL Server Docker 2022 This was a bit tricky, so I thought I would share how this can actually be done. I found this difficult for several reasons. For one, SQL Server must be stopped for the script to work, because this is a container, it is not using systemctl, therefore terminating the SQL Server using...
Azure Kubernetes Service (AKS) I had some issues with Getting Azure AKS to work with PowerShell locally so I decided to document this. This post shows how I was able to get started using Azure Kubernetes Service (AKS) with PowerShell. Azure provides a Kubernetes service that is capable of orchestrating Windows containers as well as Linux containers. This makes AKS...
Terraform Crash Course I'll teach you how to get started with Terraform very quickly in this article. My main goal here is to focus on a few basic concepts of Terraform so you can install and deploy your very first Terraform script today. This is going to be straight to the point and focused on using Terraform on Windows with...
Jamie Bowman
Software Architect

WEATHER

St Louis
clear sky
84 ° F
86.3 °
81.2 °
64 %
2.6mph
0 %
Tue
88 °
Wed
82 °
Thu
78 °
Fri
82 °
Sat
78 °

FOLLOW ME

354FollowersFollow
16SubscribersSubscribe

Random article