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

[Operator] Add the PodSpecTemplate to the SonataFlow CR

XMLWordPrintable

    • 2023 Week 33-35 (from Aug 14), 2023 Week 36-38 (from Sep 4)

      We should start looking at a use case where users need to fine-tune their workflow configurations, like probes, specialized labels, and so on in the pod deployment for a given workflow.

      A few options:

      1) Add the PodSpecTemplate to the SonataFlow
      2) Add this template to be applied globally (in the namespace) in the SonataFlowPlatform
      3) Add a ConfigMap exposing a few options to override this information in the workflow deployments.

      Today, in practice, users can change the Workflow Deployment as they pleased since a few attributes are reconciled. See: https://github.com/kiegroup/kogito-serverless-operator/blob/v1.39.0/controllers/profiles/object_creators.go#L167-L172

      But it's cumbersome to have the workflow deployed and then update the deployment. For development purposes, that can work, but in production things might be difficult to scale in a large cluster having users program their own operator to change our deployment manifest.

            rhn-support-zanini Ricardo Zanini
            rhn-support-zanini Ricardo Zanini
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: