Skip to content

Instantly share code, notes, and snippets.

View taylormonacelli's full-sized avatar

Taylor Monacelli taylormonacelli

View GitHub Profile
{
"version": "1.0.0",
"exportedAt": "2025-10-26T18:40:44.682Z",
"dashboards": [
{
"id": "dashboard-1761503924835",
"name": "baking",
"timers": [
{
"id": 1761503902221,
[
{"date":"2024-12-03","amount":23.5,"amountUnits":"GB","total":400,"totalUnits":"GB","overage":0,"overageUnits":"GB","scrapedAt":"2024-12-03T16:04:51.238Z"},
{"date":"2025-03-25","amount":234.55,"amountUnits":"GB","total":400,"totalUnits":"GB","overage":0,"overageUnits":"GB","scrapedAt":"2025-03-25T21:58:18.524Z"},
{"date":"2025-02-08","amount":71.06,"amountUnits":"GB","total":400,"totalUnits":"GB","overage":0,"overageUnits":"GB","scrapedAt":"2025-02-08T16:27:34.433Z"},
{"date":"2025-04-15","amount":149.04,"amountUnits":"GB","total":400,"totalUnits":"GB","overage":0,"overageUnits":"GB","scrapedAt":"2025-04-15T15:25:21.145Z"},
{"date":"2024-12-09","amount":77.24,"amountUnits":"GB","total":400,"totalUnits":"GB","overage":0,"overageUnits":"GB","scrapedAt":"2024-12-09T16:04:19.05Z"},
{"date":"2025-01-22","amount":129.33,"amountUnits":"GB","total":400,"totalUnits":"GB","overage":0,"overageUnits":"GB","scrapedAt":"2025-01-22T16:38:26.271Z"},
{"date":"2024-11-13","amount":79.13,"amountUnits":"GB","total":400,"total
vagrant@vagrant:~$ # https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver/
cat >kubeadm-config.yaml <<EOF
kind: ClusterConfiguration
apiVersion: kubeadm.k8s.io/v1beta3
kubernetesVersion: v1.26.1
---
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
cgroupDriver: systemd
EOF
disabled_plugins = []
imports = []
oom_score = 0
plugin_dir = ""
required_plugins = []
root = "/var/lib/containerd"
state = "/run/containerd"
temp = ""
version = 2
@taylormonacelli
taylormonacelli / patch.txt
Created November 16, 2022 18:49
learning kubespray on vagrant with macos
diff --git a/Vagrantfile b/Vagrantfile
index 63292bd1..f3860ee0 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -51,7 +51,7 @@ $vm_memory ||= 2048
$vm_cpus ||= 2
$shared_folders ||= {}
$forwarded_ports ||= {}
-$subnet ||= "172.18.8"
+$subnet ||= "192.168.10"
@taylormonacelli
taylormonacelli / ripgrep_linux.sh
Last active October 18, 2022 21:02
ripgrep_linux.sh
#!/bin/bash
version=$(curl -s https://api.github.com/repos/BurntSushi/ripgrep/releases/latest | grep -Po '"tag_name": "\K.*?(?=")')
cd /tmp
curl -sLo ripgrep-${version}-x86_64-unknown-linux-musl.tar.gz https://github.com/BurntSushi/ripgrep/releases/download/$version/ripgrep-${version}-x86_64-unknown-linux-musl.tar.gz
tar xzf ripgrep-${version}-x86_64-unknown-linux-musl.tar.gz
install -m 755 ripgrep-${version}-x86_64-unknown-linux-musl/rg /usr/local/bin/rg
rm -rf ripgrep-${version}-x86_64-unknown-linux-musl*
rm -f ripgrep-${version}-x86_64-unknown-linux-musl.tar.gz
Set-ExecutionPolicy -Force bypass
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$nuget = Get-PackageProvider -Force -ErrorAction SilentlyContinue -Name NuGet
if(!$nuget) {
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
}
$psgallery = Get-PSRepository -ErrorAction SilentlyContinue -Name PSGallery
If($PSVersionTable.PSEdition -eq "Core") {
exit 0
}
Set-ExecutionPolicy -Force bypass
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$nuget = Get-PackageProvider -Force -ErrorAction SilentlyContinue -Name NuGet
if(!$nuget) {
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
#!/bin/bash
# install amazon-linux-extras
yum -y update
yum -y install amazon-linux-extras
/usr/bin/amazon-linux-extras
@taylormonacelli
taylormonacelli / config.yml
Created August 1, 2021 05:24
vouch-proxy setup
vouch:
logLevel: debug
testing: false
listen: 0.0.0.0
port: 9090
allowAllUsers: true
jwt:
signing_method: HS256
maxAge: 240