Skip to content
View brudnak's full-sized avatar

Sponsoring

@hajimehoshi
@mattn
@mgrojo
@Homebrew
@sindresorhus
@rxri
@ellie

Organizations

@WellDone @rancher @rancherlabs

Block or report brudnak

Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
brudnak/README.md

automated with Go on Vercel automated with Go on Vercel

terminal-ticker
#!/bin/bash

BINARY_URL="https://github.com/brudnak/vai-vacuum/releases/download/v1.0.0-beta/vai-vacuum"

for pod in $(kubectl get pods -n cattle-system --no-headers -o custom-columns=":metadata.name" | grep "^rancher-" | grep -v "^rancher-webhook"); do
    echo "Processing pod: $pod"
    
    # Download and run vai-vacuum directly in the pod
    kubectl exec $pod -n cattle-system -c rancher -- sh -c \
        "curl -kL -o /tmp/vai-vacuum '$BINARY_URL' && chmod +x /tmp/vai-vacuum && /tmp/vai-vacuum && rm /tmp/vai-vacuum" \
        | base64 -d > ${pod}-snapshot.db
    
    echo "Snapshot saved to ${pod}-snapshot.db"
done

๐ŸŒƒ GitHub Skyline

Auto Updated

๐Ÿ”— View 3D STL Model on GitHub

๐Ÿ—บ๏ธ Global Commits

Auto Updated

Country Region / State City Sessions
๐Ÿ‡จ๐Ÿ‡ฆ Canada Quebec L'Ange-Gardien 1
๐Ÿ‡จ๐Ÿ‡ฆ Canada Quebec Quรฉbec 3
๐Ÿ‡บ๐Ÿ‡ธ United States Arizona Phoenix 1
๐Ÿ‡บ๐Ÿ‡ธ United States Florida Jacksonville 1
๐Ÿ‡บ๐Ÿ‡ธ United States Florida Orlando 1
๐Ÿ‡บ๐Ÿ‡ธ United States Indiana Plainfield 1
๐Ÿ‡บ๐Ÿ‡ธ United States New York Niagara Falls 2
๐Ÿ‡บ๐Ÿ‡ธ United States Oklahoma Oklahoma City 1
๐Ÿ‡บ๐Ÿ‡ธ United States Texas Fort Stockton 1
๐Ÿ‡บ๐Ÿ‡ธ United States Virginia Purcellville 1

Pinned Loading

  1. rancher-runway rancher-runway Public

    Rancher test environments on AWS with automated setup, SSL, and teardown.

    Go 1

  2. webhook-ranch-hand webhook-ranch-hand Public

    Tests differences between rancher/webhook go.mods

    Go

  3. portal portal
  4. vai-vacuum vai-vacuum Public

    Go tool that VACUUM-copies Rancherโ€™s VAI SQLite DB and streams it as base64.

    Go 1

  5. hosted-tenant-rancher hosted-tenant-rancher Public archive

    Hosted Rancher test harness for deploying a Hosted/Tenant Rancher setup locally. Leveraging S3 for Terraform state storage and offering efficient setup and cleanup processes.

    Go 1

  6. tests tests Public

    Forked from rancher/tests

    Go