Skip to content

vp-utils

vp-utils is a collection of useful command line utilities for developers. I created it to simplify my daily tasks and I hope it will help you too.

Install

MacOS:

brew install VojtechPastyrik/tap/vp-utils

Ubuntu/Debian:

curl -1sLf \
  'https://dl.cloudsmith.io/public/vojtechpastyrik/vp-utils/setup.deb.sh' \
  | sudo -E bash
sudo apt update
sudo apt install vp-utils

Fedora:

curl -1sLf \
  'https://dl.cloudsmith.io/public/vojtechpastyrik/vp-utils/setup.rpm.sh' \
  | sudo -E bash
sudo dnf install vp-utils

Docker

You can also run vp-utils in a Docker container. The image is available on Docker Hub: see vojtechpastyrik/vp-utils. Image is built automatically from the latest release, so you can use it without worrying about updates. You can find two versions of the image: amd64 and arm64. To run the container, use the following command:

docker run --rm vojtechpastyrik/vp-utils:latest vp-utils

Kubernetes

When you want to use vp-utils in Kubernetes, you can use Deployment like this:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: memory-load
spec:
  replicas: 2
  selector:
    matchLabels:
      app: memory-load
  template:
    metadata:
      labels:
        app: memory-load
    spec:
      containers:
        - name: memory-load
          image: vojtechpastyrik/vp-utils:latest
          command: [ "vp-utils", "memory","load","--duration", "60", "--size", "4096" ]