Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-1804

tkn cli serving pod not getting created on infra node

    XMLWordPrintable

Details

    • 2
    • False
    • False
    • The pod serving the `tkn` CLI will now be scheduled on nodes, based on the node selector and toleration limits specified in the `TektonConfig` custom resource.
    • Pipelines Sprint 211

    Description

      the pod serving the tkn cli is created in openshift addon section and currently we don't pass the config.nodeSelector and config.tolerations to TektonAddon

      to fix this, we need to pass both the configurations from TektonConfig to TektonAddon and later use `AddConfiguration` transformer to add in the deployment.

      fields example: https://github.com/tektoncd/operator/blob/91460bed88672f6feb6a6dbec11663e74aef9b6a/pkg/apis/operator/v1alpha1/tektonpipeline_types.go#L51

      Transformer: https://github.com/tektoncd/operator/blob/91460bed88672f6feb6a6dbec11663e74aef9b6a/pkg/reconciler/kubernetes/tektonpipeline/tektonpipeline.go#L347

      Attachments

        Activity

          People

            piyushgarg001 Piyush Garg
            smukhade Shivam Mukhade (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: