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
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • 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 Application Load Balancer
  • Getting started
    • Overview
      • Overview
      • How it works
      • Installing an ingress controller
      • Upgrading an ingress controller
        • Ingress
        • HttpBackendGroup
        • GrpcBackendGroup
        • IngressClass
        • Ingress service
    • 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:

  • IngressClass
  • ObjectMeta
  1. Tools for Managed Service for Kubernetes
  2. Ingress controller
  3. Resource configuration
  4. IngressClass

IngressClass resource fields and annotations

Written by
Yandex Cloud
Updated at July 20, 2026
View in Markdown
  • IngressClass
  • ObjectMeta

The IngressClass resource is a class of Ingress resources supporting simultaneous use of multiple ingress controllers, e.g., Application Load Balancer and NGINX. Each IngressClass resource specifies a distinct ingress controller. This enables traffic routing across multiple Ingress resources of different controllers within the same application and Managed Service for Kubernetes cluster.

Tip

We recommend using the new Yandex Cloud Gwin controller instead of an ALB Ingress controller and Gateway API.

When using multiple ingress controllers, explicitly declare the target controller for each Ingress resource. To do this, specify the relevant controller’s IngressClass in the spec.ingressClassName field.

IngressClass is a standard Kubernetes resource. We describe its fields and annotations below. For more information on configuring and using IngressClass resources, see this Kubernetes guide. Check out a GitHub example for configuring Ingress resources and routing traffic using multiple ingress controllers.

IngressClassIngressClass

apiVersion: networking.k8s.io/v1
kind: IngressClass
metadata: <ObjectMeta>
spec:
  controller: <string>

Field

Value / Type

Description

apiVersion

networking.k8s.io/v1

This is a required field.

Kubernetes API version.

kind

IngressClass

Resource type

metadata

ObjectMeta

This is a required field.

Resource metadata.

spec

IngressClassSpec

This is a required field.

Resource specification.

spec.controller

string

This is a required field.

Ingress controller name specified by the IngressClass resource. The possible values are:

  • ingress.alb.yc.io/yc-alb-ingress-controller: Application Load Balancer controller.
  • k8s.io/ingress-nginx: NGINX controller.
Example
apiVersion: networking.k8s.io/v1
kind: IngressClass
metadata:
  labels:
    app.kubernetes.io/component: controller
  name: alb
  annotations:
    ingressclass.kubernetes.io/is-default-class: "true"
spec:
  controller: ingress.alb.yc.io/yc-alb-ingress-controller

ObjectMetaObjectMeta

name: <string>
labels:
  <string>: <string>
annotations:
  ingressclass.kubernetes.io/is-default-class: "<bool>"

Field

Value / Type

Description

name

string

This is a required field.

Resource name. The format is described in this Kubernetes guide.

This name is also specified in the spec.ingressClassName field of the Ingress resource.

labels

map[string]string

Kubernetes metrics for managing and monitoring Kubernetes objects.

We recommend specifying app.kubernetes.io/component: controller in this field.

annotations

map[string]string

Resource annotations.

The available annotation is ingressclass.kubernetes.io/is-default-class. The annotation data type is bool. This annotation specifies whether the IngressClass resource is used by default. When set to "true", this IngressClass is automatically used for Ingress resources with no IngressClass specified.

Was the article helpful?

Previous
GrpcBackendGroup
Next
Ingress service
© 2026 Direct Cursus Technology L.L.C.