mik-laj commented on a change in pull request #10677:
URL: https://github.com/apache/airflow/pull/10677#discussion_r483298651
##########
File path: airflow/cli/cli_parser.py
##########
@@ -66,6 +66,17 @@ def _check_value(self, action, value):
if value == 'celery' and executor != ExecutorLoader.CELERY_EXECUTOR:
message = f'celery subcommand works only with CeleryExecutor, your
current executor: {executor}'
raise ArgumentError(action, message)
+ if value == 'kubernetes':
+ try:
+ from kubernetes.client import models
+ if not models:
+ message = 'kubernetes subcommand requires that ' \
Review comment:
Can you add full pip install command - ``pipĀ installĀ
'apache-airflow[cncf.kubernetes]' ``?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]