---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ytsaurus.tech/docs/en/admin-guide/install-spyt.md
  - https://ytsaurus.tech/docs/ru/admin-guide/install-spyt.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ytsaurus.tech/docs/en/llms.txt

<!-- 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](../user-guide/data-processing/spyt/launch).

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