Skip to content

Instantly share code, notes, and snippets.

View usrbinkat's full-sized avatar
👩‍💻

Kat Morgan usrbinkat

👩‍💻
View GitHub Profile
@usrbinkat
usrbinkat / talos.vmpool.yaml
Created August 31, 2024 23:13
Kubevirt + Talos Virtual Machine Pool
apiVersion: pool.kubevirt.io/v1alpha1
kind: VirtualMachinePool
metadata:
name: talos
spec:
replicas: 0
selector:
matchLabels:
kubevirt.io/vmpool: talos
virtualMachineTemplate:
@usrbinkat
usrbinkat / README.md
Last active August 20, 2024 20:07
Runme README.md script debugging.

About

Goals:

Run project quickstart from ./README.md with runme cli github.com/ContainerCraft/Kargo

Actual behavior:

It appears the runme commands are executed in a shell that does not inherit normal environment variables and configuration.

@usrbinkat
usrbinkat / Makefile
Last active August 22, 2024 19:53
Taskfile vs Makefile
# --- Global Variables ---
LOWERCASE_GITHUB_REPOSITORY := $(shell echo ${GITHUB_REPOSITORY} | tr '[:upper:]' '[:lower:]')
REPO_NAME := $(shell echo ${LOWERCASE_GITHUB_REPOSITORY} | awk -F '/' '{print $$2}')
REPO_ORG := $(shell echo ${LOWERCASE_GITHUB_REPOSITORY} | awk -F '/' '{print $$1}')
PROJECT ?= $(or $(REPO_NAME),kargo)
DEPLOYMENT ?= $(or $(ENVIRONMENT),ci)
# Check if PULUMI_BACKEND_URL starts with 'file://'
@usrbinkat
usrbinkat / README.md
Last active August 7, 2024 15:12
Dagger.io

Install Dagger.io CLI

How To

curl -L https://gist.githubusercontent.com/usrbinkat/09ecd0a4f66038e4115ceb59c5b070f4/raw/0757be8ddf60446c396a3c49bb29465138bd45bb/install-dagger.sh | bash

Example

@usrbinkat
usrbinkat / readme.md
Created July 17, 2024 18:53
kargo-talos-livestream
cdi.enabled                                 true
cdi.version                                 1.59.0
cert_manager.enabled                        true
cert_manager.version                        1.14.5
cilium.enabled                              False
cnao.enabled                                true
cnao.version                                0.79.5
hostpath_provisioner.default_path           /var/mnt/local-path-provisioner/dev/nvme
hostpath_provisioner.default_storage_class  true

DLX.py

Simple python script to download personal tweet history.

  1. Export Credentials
export XUSERNAME=$username
export XPASSWORD=$password
@usrbinkat
usrbinkat / README.md
Created June 13, 2024 18:53
Delete Stuck Namespace

Delete Stuck Namespace

Here be dragons. Use with extreme caution.

About

This script is designed to accept namespaces as a list of arguments and will perform a namespace child resource delete loop before terminating the namespace and any finalizers.

Motivation

@usrbinkat
usrbinkat / README.md
Last active May 26, 2024 18:11
RetroKube
@usrbinkat
usrbinkat / README.md
Last active July 10, 2024 22:46
Testing Multus CNI on Talos Kubernetes

Talos + Qemu + Multus Dbg Testing

About

The motivation for this gist comes from an interest in reproducing issues observed using multus on talos metal.

Here we will attempt to re-create the symptom in as simple of an environment as possible to then pursue support as needed.

Issue Reproduction