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

[SPIKE] Define how to support Traits into Platform CRD

    XMLWordPrintable

Details

    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1)

    Description

      In order to be able to deploy a workflow also on different environment than Kubernetes, for example on KNative, we have to add Profiles and Traits into to the Platform CRD.

      As a basic use case we can consider workflow on:

      • Kubernetes
      • OpenShift
      • KNative

      These 3 different scenarios could be 3 different profiles that we will support into the Kogito Serverless Operator. 

      We will than define several traits, each one supporting one or more profile, in order to let the users to customize the behavior of the final workflow.

      We can use as a reference implementation what Camel K is doing with Traits

      apiVersion: sw.kogito.kie.org/v1alpha08 
      kind: KogitoServierlessPlatform
      metadata:
        name: my-plaftorm
      spec:   
        cluster: kubernetes
        platform:
          registry:
            address: quay.io/<repository>
            secret: regcred
        traits:
           deployment:
            ....
           environment:
            ...
           service:
            ...
      
              

      Looking to the Camel K traits, we could make availble into the Kogito Serverless Operator the following:

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              rhn-support-zanini Ricardo Zanini Fernandes
              dsalerno@redhat.com Davide Salerno
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: