:orphan:
Containerization
----------------
As a container-native orchestration tool, all Flyte tasks are executed within isolated containers. ``Flytekit``
Python SDK enables you to configure these tasks for your needs easily, be it running a raw container with arbitrary
commands, specifying multiple container images in a single workflow, injecting secrets into a container, or using
spot instances.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /auto/core/containerization/images/thumb/sphx_glr_raw_container_thumb.png
:alt: Using Raw Containers
:ref:`sphx_glr_auto_core_containerization_raw_container.py`
.. raw:: html
Using Raw Containers
.. raw:: html
.. only:: html
.. image:: /auto/core/containerization/images/thumb/sphx_glr_multi_images_thumb.png
:alt: Multiple Container Images in a Single Workflow
:ref:`sphx_glr_auto_core_containerization_multi_images.py`
.. raw:: html
Multiple Container Images in a Single Workflow
.. raw:: html
.. only:: html
.. image:: /auto/core/containerization/images/thumb/sphx_glr_use_secrets_thumb.png
:alt: Using Secrets in a Task
:ref:`sphx_glr_auto_core_containerization_use_secrets.py`
.. raw:: html
Using Secrets in a Task
.. raw:: html
.. only:: html
.. image:: /auto/core/containerization/images/thumb/sphx_glr_spot_instances_thumb.png
:alt: Using Spot/Preemptible Instances
:ref:`sphx_glr_auto_core_containerization_spot_instances.py`
.. raw:: html
Using Spot/Preemptible Instances
.. raw:: html
.. only:: html
.. image:: /auto/core/containerization/images/thumb/sphx_glr_workflow_labels_annotations_thumb.png
:alt: Adding Workflow Labels and Annotations
:ref:`sphx_glr_auto_core_containerization_workflow_labels_annotations.py`
.. raw:: html
Adding Workflow Labels and Annotations
.. raw:: html
.. toctree::
:hidden:
/auto/core/containerization/raw_container
/auto/core/containerization/multi_images
/auto/core/containerization/use_secrets
/auto/core/containerization/spot_instances
/auto/core/containerization/workflow_labels_annotations
.. only:: html
.. container:: sphx-glr-footer sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: containerization_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: containerization_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery