CHYT
Push a Chyt
resource to K8s to install CHYT on the YTsaurus cluster.
Important
The strawberry controller
must be created on the cluster. You can configure it in the Ytsaurus
resource's strawberry
field.
You can find an example of the specification here:
apiVersion: cluster.ytsaurus.tech/v1
kind: Chyt
metadata:
name: mychyt
spec:
ytsaurus:
name:
minisaurus
image: ghcr.io/ytsaurus/chyt:2.14.0-relwithdebinfo
makeDefault: true
You can start the specification using kubectl
:
$ kubectl apply -f cluster_v1_chyt.yaml -n <namespace>
chyt.cluster.ytsaurus.tech/mychyt created
After that, the K8s operator will launch several init jobs that will write the files to Cypress.
$ kubectl get chyt
NAME RELEASESTATUS
mychyt CreatingUser
$ kubectl get chyt
NAME RELEASESTATUS
mychyt UploadingIntoCypress
$ kubectl get chyt
NAME RELEASESTATUS
mychyt CreatingChPublicClique
$ kubectl get chyt
NAME RELEASESTATUS
mychyt Finished
Once all jobs are successfully completed, you can run the CHYT
clique. For more information about cliques, see this section.
If the makeDefault
flag has been set in the Chyt
specification, and the strawberry controller
is running on the cluster, the default clique ch_public
will also be created.