Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

go-faster/ytst

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