vpd¶
vpd 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:
Ubuntu/Debian:
curl -1sLf \
'https://dl.cloudsmith.io/public/vojtechpastyrik/vpd/setup.deb.sh' \
| sudo -E bash
sudo apt update
sudo apt install vpd
Fedora:
curl -1sLf \
'https://dl.cloudsmith.io/public/vojtechpastyrik/vpd/setup.rpm.sh' \
| sudo -E bash
sudo dnf install vpd
Docker¶
You can also run vpd in a Docker container. The image is available on Docker Hub: see vojtechpastyrik/vpd. 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:
Kubernetes¶
When you want to use vpd 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/vpd:latest
command: [ "vpd", "memory","load","--duration", "60", "--size", "4096" ]