lightning/docs/source-app/workflows/byoc/run_on_cluster.rst

28 lines
597 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:orphan:
.. _run_on_cluster:
*********************************
Run app on your Lightning Cluster
*********************************
Once your cluster is running, you can run any Lightning App on your cluster. To run an App on the Lightning BYOC cluster, use ``--cloud cluster-id <cluste-id>`` in the command:
.. code:: bash
lightning run app app.py --cloud --cluster-id <cluster-id>
Heres an example:
.. code:: bash
lightning run app app.py --cloud --cluster-id my-byoc-cluster
View the status of your App using the following command:
.. code:: bash
lightning list apps