Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7863

[SW] Support alias for common resource names in the Service Discovery URI

XMLWordPrintable

    • False
    • None
    • False
    • ---
    • ---
    • 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6), 2023 Week 09-11 (from Feb 27), 2023 Week 12-14 (from Mar 20), 2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1), 2023 Week 21-23 (from May 22), 2023 Week 27-29 (from Jul 3), 2023 Week 30-32 (from Jul 24), 2023 Week 33-35 (from Aug 14), 2023 Week 24-26 (from Jun 12)

      The Service discovery relies on a quite big URI with the full GVK.
      For common objects like deployments and Knative serve we could allow aliases, examples:

      For Deployment or DeploymentConfg, instead of having:

      kubernetes:apps/v1/deployment/namespace/deploymentName
      

      we could just do:

      kubernetes:deployment/namespace/deploymentName
      

      The same for Knative, instead:

      knative:v1/service/namespace/serviceName
      

      just:

      knative:ksvc/namespace/serviceName
      

      We could use the same (to abstract the GVK and let the engine decide that) for:

      • Service: svc
      • deploymentConfig: dc
      • Pods: pod
      • etc..

              rhn-support-fspolti Filippe Spolti
              rhn-support-fspolti Filippe Spolti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: