slmg opened a new issue, #35937:
URL: https://github.com/apache/airflow/issues/35937

   ### Apache Airflow version
   
   2.7.3
   
   ### What happened
   
   I tried to run `airflow kubernetes generate-dag-yaml` locally, as documented 
in 
[core-concepts/executor/kubernetes.html#fault-tolerance](https://airflow.apache.org/docs/apache-airflow/2.7.3/core-concepts/executor/kubernetes.html#fault-tolerance),
 but then realised the subcomand `kubernetes` disapeared (it used to work fine 
on 2.6.3, the prev version I used).
   
   
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   ```sh
   > docker container run --rm apache/airflow:2.7.3-python3.10 airflow 
kubernetes
   airflow command error: argument GROUP_OR_COMMAND: invalid choice: 
'kubernetes' (choose from 'cheat-sheet', 'config', 'connections', 
'dag-processor', 'dags', 'db', 'info', 'jobs', 'kerberos', 'plugins', 'pools', 
'providers', 'roles', 'rotate-fernet-key', 'scheduler', 'standalone', 
'sync-perm', 'tasks', 'triggerer', 'users', 'variables', 'version', 
'webserver'), see help above.
   Usage: airflow [-h] GROUP_OR_COMMAND ...
   
   Positional Arguments:
     GROUP_OR_COMMAND
   
       Groups
         config         View configuration
         connections    Manage connections
         dags           Manage DAGs
         db             Database operations
         jobs           Manage jobs
         pools          Manage pools
         providers      Display providers
         roles          Manage roles
         tasks          Manage tasks
         users          Manage users
         variables      Manage variables
   
       Commands:
         cheat-sheet    Display cheat sheet
         dag-processor  Start a standalone Dag Processor instance
         info           Show information about current Airflow and environment
         kerberos       Start a kerberos ticket renewer
         plugins        Dump information about loaded plugins
         rotate-fernet-key
                        Rotate encrypted connection credentials and variables
         scheduler      Start a scheduler instance
         standalone     Run an all-in-one copy of Airflow
         sync-perm      Update permissions for existing roles and optionally 
DAGs
         triggerer      Start a triggerer instance
         version        Show the version
         webserver      Start a Airflow webserver instance
   
   Options:
     -h, --help         show this help message and exit
   ```
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   ```sh
   > pip list | grep -i cncf
   apache-airflow-providers-cncf-kubernetes 7.8.0
   ```
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   Likely related to the move of `cncf-kubernetes` off the main codebase that 
occured between 2.6.3 and 2.7.3.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to