Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 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.