Skip to content

Instantly share code, notes, and snippets.

View nmarchini's full-sized avatar
🏠
Working from home

Nick Marchini nmarchini

🏠
Working from home
View GitHub Profile
@nmarchini
nmarchini / measure_pod_start.sh
Last active October 26, 2023 19:24 — forked from viggin543/measure_pod_start.sh
a script that outputs start time of a scheduled pod and the time taken to become ready
#!/usr/bin/env bash
if [ $# -ne 1 ]; then
echo "Usage: $0 <namespace>"
exit 1
fi
namespace="$1"
# Get the list of pod names in the specified namespace
@nmarchini
nmarchini / aws_delete-default-vpc.sh
Created April 30, 2021 15:15 — forked from jokeru/aws_delete-default-vpc.sh
Script to delete all AWS default VPCs from all regions using AWS CLI
#!/usr/bin/env bash
if [ "$AWS_PROFILE" = "" ]; then
  echo "No AWS_PROFILE set"
  exit 1
fi
for region in $(aws ec2 describe-regions --region eu-west-1 | jq -r .Regions[].RegionName); do