Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-10550

Spike: Investigate adopt lightspeed plugin configuration in road-core configuration file

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • RHDHPAI Sprint 3268

      Task Description (Required)

       

      the road-core need to provide a configuration file to start the service: https://github.com/road-core/service/blob/main/README.md#configuration

      see run with container:
      https://github.com/road-core/service/blob/main/README.md#optionally-run-with-podman

      it may also need to configure:
      https://github.com/road-core/service/blob/main/README.md#optionally-run-inside-an-openshift-environment

       

      some configurations, i.e. db info & credentials, llm server info & credentials will be set in RHDH plugin configuration. and will need to be pass in to the container when start&run the sidecar container

      this issue is to investigate how to get this done. to start with, we have already got the llm server configuration,
      for example: https://github.com/redhat-developer/rhdh-plugins/blob/76cbf51130b5a0a2a04d7889b0375600c436b6e1/workspaces/lightspeed/app-config.yaml#L81-L85

      in rcsconfig, the llm server configuration expect:   https://github.com/road-core/service/blob/3ea924f4945c0677e3ba8576161b37fb14b15075/examples/rcsconfig.yaml#L17-L23

       

      we can investigate pass in rhdh configuration as an extra configuration file to road-core container. and handle the configuration conversion inside road-core service

      there is a config-editor being demoed (starting from 53:00), and some script/functions may be reuseable:

      https://drive.google.com/file/d/1LCZDqOp1Y0kGa_GBUCqh98IL4Qeq72Sd/view

      If this requires Change Management, complete sections below: 

      Change Request 

       

      <Select which item is being changed>

       

      [ ]  Add New Tokens

      [ ]  Rotate Tokens

      [ ]  Remove Tokens

      [ ] Others: (specify)

       

        Environment

      <Select which environment the change is being made on.  If both, open a separate issue so changes are tracked in each environment>

       

      [ ]  Stage OR

      [ ]  Prod

       

        Backout Plan

      <State what steps are needed to roll back in case something goes wrong>

       

        Downtime

      <Is there any downtime for these changes?  If so, for how long>

       

        Risk Level

      <How risky is this change?>

       

        Testing

      <How are changes verified?>

       

        Communication

      <How are service owners or consumers notified of these changes?>

              rh-ee-jdubrick Jordan Dubrick
              rh-ee-jdubrick Jordan Dubrick
              RHIDP - AI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: