Skip to content

Commit

Permalink
add Kubernetes operators README on operator args
Browse files Browse the repository at this point in the history
  • Loading branch information
Jensen Yap committed Jun 6, 2023
1 parent 47b52d5 commit 832989c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/dbt/other-execution-options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,28 @@ At the moment, the user is expected to add to the Docker image both:
- The dbt Profile which contains the information for dbt to access the database
- Handle secrets

Additional KubernetesPodOperator parameters can be added on the operator_args parameter of the DbtKubernetesOperator.

For instance,

.. code-block:: text
DbtTaskGroup(
...
operator_args={
"queue": "kubernetes",
"image": "dbt-jaffle-shop:1.0.0",
"image_pull_policy": "Always",
"get_logs": True,
"is_delete_operator_pod": False,
"namespace": "default",
"env_vars": {
...
},
},
execution_mode="kubernetes",
)
Step-by-step instructions
+++++++++++++++++++++++++

Expand Down

0 comments on commit 832989c

Please sign in to comment.