Kubernetes, it’s hip, it’s here to stay and comes up in about any conversation. Today I’ve spent some time converting my single-node homelab from docker-compose to a single-node Kubernetes stack. Because I only have a single server in my lab, I will be using minikube. minikube is a tool that lets you run Kubernetes locally on a single-node Kubernetes cluster.
In this post, I’ll take you over the basics to get your network sorted and your first deployment running.
VPC Flow Logs log the traffic flow in your AWS VPC. These logs contain information such as source and destination IP addresses and the packets or bytes transferred. CloudWatch Logs Insights let’s you query these logs, this can be helpful when you want to figure out what is driving the traffic cost within your network.
For example, the below query will tell you what the top contributors are to your NAT-GW cost:
Don’t you just hate designing documents in word-processors? Well, so do I. As a Geek, I’d rather spend my time in my favorite IDE. In this post I’ll show you how to Build an amazing CV using LaTeX and Font Awesome.
Whats wrong with WYSIWYG word processors If you are not a graphic designer like me you should probably spend your time focusing on content rather then on design. Hence, for documenting most developers have switched to using markdown.
Recently I’ve been tasked with setting up VxRail monitoring for a Dell EMC VxRail Appliance. Even though I’ve succeeded setting this up, it was has not been a smooth sail. Therefore, I’ve written this blog to help you setup monitoring for VxRail.
Setup VxRail monitoring (EMC does not want you to) Since VxRail is initially setup by the vendor I had to get acquainted with the product first. The first thing you should probably do after taking a product into management is setup monitoring.
PowerCLI last patch date You might find yourself wanting a report of when your vSphere servers have been patched for the last time. Here you will find a simple PowerCLI script that uses vSphere CLI to query the last VIB install date.
PowerCLI script: Get-VMHost | ForEach-Object -Process { [PSCustomObject]@{ 'lastpatchdate' = [datetime]((Get-ESXCli -VMHost $_).software.vib.list() | Select-Object -Property installdate -ExpandProperty installdate | Sort-Object -Descending)[0] 'host' = $_.Name 'version' = $_.version 'build' = $_.
Today I was deploying Windows Server 2016 Nano. After the deployment I wanted to install the IIS packages but I ran into the following error-message:
The module ‘NanoServerPackage’ cannot be installed because the catalog signature in ‘NanoServerPackage.cat’ does not match the hash generated from the module.
From PowerShell:
Find-PackageProvider NanoServerPackage | Install-PackageProvider -force Install-PackageProvider : The module ‘NanoServerPackage’ cannot be installed because the catalog signature in ‘NanoServerPackage.cat’ does not match the hash generated from the module.
We recently ran into an issue where the a system was running out of space on the system-drive. After initial investigation we’ve discovered that Direct Access Database Windows Internal Database was consuming a lot of drive-space on a system-drive. Below I will explain how to shrink Direct Access database
In the output above we used RoboCopy to calculate the folder sizes, if you want to know more about that, read my previous blog post here: Faster Dir Size calculations in PowerShell!
Below is a PowerCLI one-liner you can use to validate if all your root passwords are what you expect them to be.
get-vmhost | %{ $null = connect-viserver $_.name ` -user root -password "MyFakePassword" -EA 0 if (-not ($?)) { write-warning "Password failed for $($_.name)" } else { Disconnect-VIServer $_.name -force -confirm:$false } } Reset a known password over PowerCLI Below is a short code snippet to help you change your root password on ESXi hosts.