---
metadata:
  - name: generator
    content: Diplodoc Platform v5.51.0
alternate:
  - https://e2e.viewer-test.ydocs.io/en/admin-guide/install-spyt.md
  - https://e2e.viewer-test.ydocs.io/ru/admin-guide/install-spyt.md
  - href: https://e2e.viewer-test.ydocs.io/en/admin-guide/install-spyt.md
    type: text/markdown
    title: Markdown version
  - href: https://e2e.viewer-test.ydocs.io/en/llms.txt?revision=ytsaurus-test-revision5
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://e2e.viewer-test.ydocs.io/en/llms.txt?revision=ytsaurus-test-revision5

<!-- source: en/_includes/admin-guide/install-spyt.md -->
# SPYT

To install SPYT on the YTsaurus cluster, push a `SPYT` resource to K8s.

You can find an example of the specification [here](https://github.com/ytsaurus/ytsaurus-k8s-operator/blob/main/config/samples/cluster_v1_spyt.yaml):
```yaml
apiVersion: cluster.ytsaurus.tech/v1
kind: Spyt
metadata:
  name: myspyt
spec:
  ytsaurus:
    name:
      minisaurus
  image: ghcr.io/ytsaurus/spyt:2.10.0
  sparkVersions:
    - "3.5.7"
    - "3.2.2"
```

You can start the specification using `kubectl`:

```bash
$ kubectl apply -f cluster_v1_spyt.yaml -n <namespace>
spyt.cluster.ytsaurus.tech/myspyt created
```

After that, the K8s operator will launch several init jobs that will write the files to Cypress. To monitor the status, use `kubectl`:

```bash
$ kubectl get spyt
NAME     RELEASESTATUS
myspyt   CreatingUser

$ kubectl get spyt
NAME     RELEASESTATUS
myspyt   UploadingIntoCypress

$ kubectl get spyt
NAME     RELEASESTATUS
myspyt   Finished
```

Once all jobs are successfully completed (when `RELEASESTATUS` changes to `Finished`), you can run `SPYT`. For more information, see [this section](https://e2e.viewer-test.ydocs.io/en/user-guide/data-processing/spyt/launch.md).

Consider installing [Task proxy](https://e2e.viewer-test.ydocs.io/en/admin-guide/install-task-proxy.md) if you want to open Spark UI from browser.
<!-- endsource: en/_includes/admin-guide/install-spyt.md -->
