Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyingliang committed Jan 24, 2025
1 parent 06a804f commit 65d6460
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/deployment/agents/k8sservice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ Enable the K8s service agent by adding the following config to the relevant YAML
Substitute ``<AGENT_ENDPOINT>`` with the endpoint of your MMCloud agent.


Setup the RBAC
----------------------
--------------

The K8s Data Service Agent will create a StatefulSet and expose the Service endpoint for the StatefulSet pods.
RBAC needs to be set up to allow the K8s Data Service Agent to perform CRUD operations on the StatefulSet and Service.

The role `flyte-flyteagent-role` set up:

.. code-block:: yaml
# Example of the role/binding set up for the data service to create/update/delete resources in the sandbox flyte namespace
Expand Down Expand Up @@ -116,9 +116,10 @@ The role `flyte-flyteagent-role` set up:
verbs:
- '*'
The binding `flyte-flyteagent-rolebinding` for the role `flyte-flyteagent-role`

.. code-block:: yaml
# Example of the role/binding set up for the data service to create/update/delete resources in the sandbox flyte namespace
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down

0 comments on commit 65d6460

Please sign in to comment.