Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Installing Stackland on Yandex BareMetal via PXE
    • Installing Stackland on Yandex Cloud VMs
    • Setting up external access to a pod in a cluster
    • Verifying signatures for custom images
    • All guides
        • Activate YTsaurus
        • Updating cluster settings
        • Getting an administrator password and token
        • Opening the web UI
        • Connecting to the HTTP proxy
        • Disabling YTsaurus
    • Projects
    • Resource model
    • Scaling a cluster
    • Licensing
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting

In this article:

  • Getting the HTTP proxy address
  • Getting an administrator token
  • Connecting via the YTsaurus CLI
  • Connecting via the Python SDK
  • What's next
  1. Step-by-step guides
  2. Databases and analytics
  3. YTsaurus
  4. Connecting to the HTTP proxy

Connecting to the YTsaurus HTTP proxy

Written by
Yandex Cloud
Updated at July 24, 2026
View in Markdown
  • Getting the HTTP proxy address
  • Getting an administrator token
  • Connecting via the YTsaurus CLI
  • Connecting via the Python SDK
  • What's next

After the component is enabled, the YTsaurus HTTP proxy is published at https://api.ytsaurus.<system_domain>. The proxy accepts requests via the YTsaurus CLI, Python SDK, and other YTsaurus clients.

Getting the HTTP proxy addressGetting the HTTP proxy address

kubectl -n stackland-ytsaurus get ingress yt-http-proxies -o jsonpath='{.spec.rules[0].host}'

Getting an administrator tokenGetting an administrator token

To get authenticated in the HTTP proxy, you need a token from the ytadminsec Secret. See Getting an administrator password and token.

Write the token into the environment variable:

export YT_TOKEN=$(kubectl -n stackland-ytsaurus get secret ytadminsec -o jsonpath='{.data.token}' | base64 -d)

Connecting via the YTsaurus CLIConnecting via the YTsaurus CLI

  1. Install the YTsaurus CLI according to the official guide.

  2. Specify the proxy address in the YT_PROXY environment variable:

    export YT_PROXY=https://api.ytsaurus.<system_domain>
    
  3. Test the connection:

    yt list /
    

    The command returns the Cypress root directory contents.

Connecting via the Python SDKConnecting via the Python SDK

  1. Install the YTsaurus Python SDK.

  2. Connect to the cluster:

    import os
    import yt.wrapper as yt
    
    client = yt.YtClient(
        proxy="https://api.ytsaurus.<system_domain>",
        token=os.environ["YT_TOKEN"],
    )
    
    print(client.list("/"))
    

What's nextWhat's next

  • YTsaurus CLI guide
  • Python SDK guide
  • Opening the YTsaurus web UI

Was the article helpful?

Previous
Opening the web UI
Next
Disabling YTsaurus
© 2026 Direct Cursus Technology L.L.C.