Skip to content

Commit

Permalink
Fix some typos in celery_kubernetes.rst (apache#13606)
Browse files Browse the repository at this point in the history
fix some typos
  • Loading branch information
andrzejsydor authored Jan 14, 2021
1 parent bfb7cb3 commit 2909c38
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/apache-airflow/executor/celery_kubernetes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ CeleryKubernetes Executor
=========================

The :class:`~airflow.executors.celery_kubernetes_executor.CeleryKubernetesExecutor` allows users
to run simultaneously ``CeleryExecutor`` and a ``KubernetesExecutor``.
to run simultaneously a ``CeleryExecutor`` and a ``KubernetesExecutor``.
An executor is chosen to run a task based on the task's queue.

``CeleryKubernetesExecutor`` inherits the scalability of ``CeleryExecutor`` to
handle the high load at the peak time and runtime isolation of ``KubernetesExecutor``.
``CeleryKubernetesExecutor`` inherits the scalability of the ``CeleryExecutor`` to
handle the high load at the peak time and runtime isolation of the ``KubernetesExecutor``.


When to use CeleryKubernetesExecutor
####################################

``CeleryKubernetesExecutor`` should only be used at certain cases, given that
it requires setting up ``CeleryExecutor`` and ``KubernetesExecutor``.
The ``CeleryKubernetesExecutor`` should only be used at certain cases, given that
it requires setting up the ``CeleryExecutor`` and the ``KubernetesExecutor``.

We recommend considering ``CeleryKubernetesExecutor`` when your use case meets:
We recommend considering the ``CeleryKubernetesExecutor`` when your use case meets:

1. The number of tasks needed to be scheduled at the peak exceeds the scale that your kubernetes cluster
1. The number of tasks needed to be scheduled at the peak exceeds the scale that your Kubernetes cluster
can comfortably handle

2. A relative small portion of your tasks requires runtime isolation.
Expand Down

0 comments on commit 2909c38

Please sign in to comment.