Skip to content

Commit

Permalink
update general.rst (flyteorg#2803)
Browse files Browse the repository at this point in the history
* update general.rst
Specify where the flytepropeller configmap is found
Specify slack channel
Signed-off-by: SmritiSatyanV [email protected]
  • Loading branch information
SmritiSatyanV authored Sep 1, 2022
1 parent e9bc95e commit 1f9c13c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
It will create a tag and then publish all deployment manifest in github release and will create a discussion thread in github release
1. Kick off a run of the functional tests in https://github.com/unionai/genesis-device/actions/workflows/update_cluster_and_run_tests.yml
1. Close the milestone
1. Ping #core (slack channel) to: Send announcements about the milestone with the contents of the CHANGELOG to all social channels..
1. Ping #core ([slack](https://slack.flyte.org/) channel) to send announcements about the milestone with the contents of the CHANGELOG to all social channels.
14 changes: 13 additions & 1 deletion rsts/deployment/cluster_config/general.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,19 @@ Using Default K8s PodTemplates

To initialize a default PodTemplate in Flyte:

#. **Set the 'default-pod-template-name' in FlytePropeller:** This `option <https://docs.flyte.org/en/latest/deployment/cluster_config/flytepropeller_config.html#default-pod-template-name-string>`__ initializes a K8s informer internally to track system PodTemplate updates (creates, updates, etc) so that FlytePropeller is aware of the latest PodTemplate definitions in the K8s environment.
#. **Set the 'default-pod-template-name' in FlytePropeller:** This `option <https://docs.flyte.org/en/latest/deployment/cluster_config/flytepropeller_config.html#default-pod-template-name-string>`__ initializes a K8s informer internally to track system PodTemplate updates (creates, updates, etc) so that FlytePropeller is `aware <https://docs.flyte.org/en/latest/deployment/cluster_config/flytepropeller_config.html#config-k8spluginconfig>`__ of the latest PodTemplate definitions in the K8s environment. You can find this setting in `FlytePropeller <https://github.com/flyteorg/flyte/blob/e3e4978838f3caee0d156348ca966b7f940e3d45/deployment/eks/flyte_generated.yaml#L8239-L8244>`__ config map, which is not set by default.

An example configuration is:

.. code-block:: yaml
plugins:
k8s:
co-pilot:
name: "flyte-copilot-"
image: "cr.flyte.org/flyteorg/flytecopilot:v0.0.15"
start-timeout: "30s"
default-pod-template-name: <your_template_name>
#. **Create a PodTemplate resource:** Flyte recognizes PodTemplate definitions with the ``default-pod-template-name`` at two granularities.

Expand Down

0 comments on commit 1f9c13c

Please sign in to comment.