Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-7522

[RN] Endpoint-specific service for discoverable endpoints

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Hide
      = Endpoint-specific service for discoverable endpoints

      When setting the `discoverable: true` attribute on a devfile container component link:https://devfile.io/docs/2.3.0/devfile-schema#components-container-endpoints-attributes[endpoint], a dedicated service will be created and used for the endpoint. For all other endpoints that do not set the `discoverable: true` attribute, the common workspace service will be used.

      The dedicated service created for the endpoint will have a static name, corresponding to the endpoint's name. For example, a service named `http-python` will be generated in the example endpoint defined below:

      [source, yaml]
      ----
      # Example endpoint with discoverable attribute
      - exposure: public
        targetPort: 8080
        name: http-python
        protocol: http
        secure: true
        attributes:
          discoverable: true
      ----
      Show
      = Endpoint-specific service for discoverable endpoints When setting the `discoverable: true` attribute on a devfile container component link: https://devfile.io/docs/2.3.0/devfile-schema#components-container-endpoints-attributes [endpoint], a dedicated service will be created and used for the endpoint. For all other endpoints that do not set the `discoverable: true` attribute, the common workspace service will be used. The dedicated service created for the endpoint will have a static name, corresponding to the endpoint's name. For example, a service named `http-python` will be generated in the example endpoint defined below: [source, yaml] ---- # Example endpoint with discoverable attribute - exposure: public   targetPort: 8080   name: http-python   protocol: http   secure: true   attributes:     discoverable: true ----
    • Enhancement
    • Done

            jvrbkova@redhat.com Jana Vrbkova
            jvrbkova@redhat.com Jana Vrbkova
            Anatolii Bazko Anatolii Bazko
            Jana Vrbkova Jana Vrbkova
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: