neil peterson
11 Topics- How to query Azure resources using the Azure CLIThe Azure CLI can be used to not only create, configure, and delete resources from Azure but to also query data from Azure. To do so, the Azure CLI uses the --query argument to run a JMESPath query against your Azure subscriptions. Querying Azure for resource properties can be quite helpful when writing scripts using the Azure CLI. For instance, you may want to get the IP address of an Azure Virtual Machine or Container Instance in order to perform some action on that resource.117KViews4likes11Comments
- Configure Visual Studio Code to run PowerShell for Windows and PowerShell Core SimultaneouslyAs a PowerShell fan, I have recently adopted PowerShell Core as my version of choice. This post will detail how I've used the Shell Launcher Visual Studio Code extension to configure my Windows system to run PowerShell Core and PowerShell for Windows simultaneously as required.176KViews11likes12Comments
- Azure Monitor: Detecting and Alerting on File ChangesNeil Peterson's shares a 5-minute demo highlighting the ability to track the state of specific files (Windows or Linux) and detect when one of these files has changed via Azure Monitor and the Azure Automation state tracking capabilities.18KViews4likes4Comments
- How to Run scripts on Azure Virtual Machines with the Run CommandMicrosoft recently released a more lightweight method for running scripts against Azure VMs; the Azure Virtual Machine Run Command. Using a Run Command, PowerShell or Bash scripts can be run against virtual machines with many of the same benefits as the custom script extension, however multiple instances can be run without the need of any type of clean-up action.44KViews1like1Comment
- Environment Tracing and Build Annotations with Azure PipelinesThe numbers show, using continuous integration and continuous deployment (CI/CD) solutions for delivering software and cloud infrastructure improve deployment reliability, recoverability, and agility. In addition to these great benefits, CI/CD produces many byproducts that are also useful. One of these is what I like to refer to as environment traceability.23KViews0likes0Comments
- How to Use Azure Pipeline Task and Job ConditionsAzure Pipeline conditions allow us to define conditions under which a task or job will execute. In this blog post, I will detail a common situation in which pipeline conditions are helpful, the configuration of this condition, and will include documentation links for more information.50KViews4likes0Comments
- Kubernetes Operations: Prioritize Workload in Overcommitted ClustersKubernetes Horizontal Pod Autoscaler enables automated pod scaling based on demand. This is cool, however can lead to unpredictable load on the cluster, which may put the cluster into an overcommitted state. In this article, Neil walks through an end-to-end demonstration of using Pod Priority and Pre-emption to ensure critical workload has priority to cluster resources.8.5KViews1like0Comments