https://github.com/go-faster/ytst
ytsaurus test tools
https://github.com/go-faster/ytst
Last synced: 6 months ago
JSON representation
ytsaurus test tools
- Host: GitHub
- URL: https://github.com/go-faster/ytst
- Owner: go-faster
- License: apache-2.0
- Created: 2024-01-27T11:08:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T15:53:54.000Z (about 1 year ago)
- Last Synced: 2024-03-23T14:53:19.590Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
- Support: .github/SUPPORT.md
Awesome Lists containing this project
README
# ytst
Set of tools for testing ytsaurus with porto and k8s.
```bash
cd _deploy
```## Running in Kubernetes
### Requirements
- porto
- portoshim
- kubeadm
- kubectl
- helm
- cilium cli
- hubble cli
- go
- yt cli### Preparing
Clone repositories:
```bash
git clone https://github.com/go-faster/ytst.git
cd ytst/_deploy
git submodule update --init --recursive
```### Running
First, start the cluster:
```bash
./start.sh
```Wait until ytsaurus spins up:
```bash
kubectl -n yt get pods --watch
```Setup and run test:
```bash
source yt.sh
./yt-setup.sh
./yt-test.sh
```### Cleanup
```bash
./reset.sh
```## Running in Minikube
### Building binary
```bash
make minikube-darwin-amd64 minikube-darwin-arm64 minikube-linux-amd64
```### Running
```bash
./minikube.sh
```### Minikube logs
```bash
./minikube/out/minikube logs
```### Cleanup
```bash
./minikube/out/minikube delete
```### Building image
> [!IMPORTANT]
> Pretty slow, takes about 30 minutes.```bash
cd minikube
IN_DOCKER=1 make minikube-iso-x86_64
```