/ytst

ytsaurus test tools

Primary LanguageShellApache License 2.0Apache-2.0

ytst

Set of tools for testing ytsaurus with porto and k8s.

cd _deploy

Running in Kubernetes

Requirements

  • porto
  • portoshim
  • kubeadm
  • kubectl
  • helm
  • cilium cli
  • hubble cli
  • go
  • yt cli

Preparing

Clone repositories:

git clone https://github.com/go-faster/ytst.git
cd ytst/_deploy
git submodule update --init --recursive

Running

First, start the cluster:

./start.sh

Wait until ytsaurus spins up:

kubectl -n yt get pods --watch

Setup and run test:

source yt.sh
./yt-setup.sh
./yt-test.sh

Cleanup

./reset.sh

Running in Minikube

Building binary

make minikube-darwin-amd64 minikube-darwin-arm64 minikube-linux-amd64

Running

./minikube.sh

Minikube logs

./minikube/out/minikube logs

Cleanup

./minikube/out/minikube delete

Building image

Important

Pretty slow, takes about 30 minutes.

cd minikube
IN_DOCKER=1 make minikube-iso-x86_64