Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • 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
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Application Load Balancer
  • Getting started
    • Overview
      • Overview
      • Installing Gwin
      • Gwin policies
      • Migrating apps from an ALB Ingress controller to Gwin
        • Gateway
        • GatewayPolicy
        • GRPCRoute
        • HTTPRoute
        • Ingress
        • IngressBackendGroup
        • IngressPolicy
        • RoutePolicy
        • Service
        • ServicePolicy
        • TLSRoute
        • YCCertificate
        • YCStorageBucket
    • Configuring security groups
    • Working with service accounts
    • Creating and updating resources via ingress controller configurations
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • L7 load balancer logs
  • Release notes

In this article:

  • Cheatsheet
  • YCStorageBucketSpec
  • YCStorageBucketReference
  1. Tools for Managed Service for Kubernetes
  2. Gwin
  3. Resource configuration
  4. YCStorageBucket

YCStorageBucket

Written by
Yandex Cloud
Updated at September 24, 2025
  • Cheatsheet
  • YCStorageBucketSpec
    • YCStorageBucketReference

YCStorageBucket is a Gwin custom resource for referencing S3 buckets from Yandex Object Storage. It allows you to use Object Storage buckets as backend targets in HTTPRoute, IngressBackendGroup, Ingress resources for serving static content or as part of traffic routing strategies.

  • Cheatsheet
  • YCStorageBucketSpec
    • YCStorageBucketReference

CheatsheetCheatsheet

apiVersion: gwin.yandex.cloud/v1
kind: YCStorageBucket
metadata:
  name: example-bucket
  namespace: example-ns
spec:
  bucketRef:
    bucketName: "my-static-content-bucket"

Reference the YCStorageBucket as a backend in HTTPRoute:

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: static-content-route
  namespace: example-ns
spec:
  parentRefs:
    - name: example-gateway
  hostnames:
    - "static.example.com"
  rules:
    - matches:
        - path:
            type: PathPrefix
            value: "/assets"
      backendRefs:
        - group: gwin.yandex.cloud
          kind: YCStorageBucket
          name: example-bucket
          weight: 100
Field Description
metadata ObjectMeta
Standard Kubernetes metadata.
spec YCStorageBucketSpec
Storage bucket specification.

YCStorageBucketSpecYCStorageBucketSpec

YCStorageBucketSpec defines the desired state of YCStorageBucket.

Appears in: YCStorageBucket

Field Description
bucketRef YCStorageBucketReference
Reference to the Yandex Cloud S3 Bucket.

YCStorageBucketReferenceYCStorageBucketReference

YCStorageBucketReference is a reference to a Yandex Cloud S3 Bucket.

Appears in: YCStorageBucketSpec

Field Description
bucketName string
Name of the Yandex Cloud S3 Bucket.
Example: my-static-content-bucket

Was the article helpful?

Previous
YCCertificate
Next
Overview
© 2025 Direct Cursus Technology L.L.C.