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 Managed Service for Apache Airflow™
        • Creating a Apache Airflow™ cluster
        • Updating Apache Airflow™ cluster settings
        • Getting Apache Airflow™ administrator credentials
        • Opening the Apache Airflow™ web UI
        • Pausing or resuming an Apache Airflow™ cluster
        • Deleting a cluster Apache Airflow™
        • Troubleshooting Apache Airflow™
        • Disabling Managed Service for Apache Airflow™
    • Projects
    • Resource model
    • Scaling a cluster
    • Licensing
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting
  1. Step-by-step guides
  2. Orchestrating data
  3. Managed Service for Apache Airflow™
  4. Deleting a cluster Apache Airflow™

Deleting an Apache Airflow™ cluster

Written by
Yandex Cloud
Updated at October 30, 2026
View in Markdown

Deleting an AirflowCluster deletes the Apache Airflow™ cluster and its metadata database. Any automatically created buckets, along with the DAG files and task logs stored inside them, are also deleted.

This deletion does not delete or clear any objects explicitly attached via bucketRef or accessKeyRef.

Alert

Before deletion, save the DAG files and logs you need. History and settings from the metadata database will be deleted along with the cluster. This operation is irreversible.

Using the CLIUsing the CLI

  1. Check for deletion protection:

    kubectl get airflowcluster <cluster_name> \
      -n <namespace> \
      -o jsonpath='{.spec.deletionProtection}'
    
  2. If the protection is on, disable it:

    kubectl patch airflowcluster <cluster_name> \
      -n <namespace> \
      --type=merge \
      -p '{"spec":{"deletionProtection":false}}'
    
  3. Delete the resource:

    kubectl delete airflowcluster <cluster_name> \
      -n <namespace>
    
  4. Wait for the deletion to complete:

    kubectl get airflowcluster <cluster_name> \
      -n <namespace> \
      -w
    

During deletion, the status.phase becomes Deleting. Wait for the operation to complete. If your cluster remains in this state for too long, refer to this troubleshooting guide.

Was the article helpful?

Previous
Pausing or resuming an Apache Airflow™ cluster
Next
Troubleshooting Apache Airflow™
© 2026 Direct Cursus Technology L.L.C.