Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59074

Kubernetes plugin multiple jobs are running on the same cloud (k8s cluster)

    Details

    • Similar Issues:

      Description

      I set two clouds (kubernetes clusters) in my Jenkins:

      • devEnv
      • qaEnv

       

      I created a dynamic Jenkinsfile that can be run both in qa / dev Env (depends on the user choice).

      The issue is that, if the user trigger two separated jobs (one should be run in qa and the second should be run in dev ) both pods are running in the same cloud (k8s cluster).

      It looks like that this issue reproduced when the pod is on running state.

      Attached an example for the Jenkinsfile i'm using

        Attachments

          Activity

          mfuxi Moty Fux created issue -
          mfuxi Moty Fux made changes -
          Field Original Value New Value
          Attachment Jenkinsfile_k8sBug [ 48561 ]
          mfuxi Moty Fux made changes -
          Description I set two clouds (kubernetes clusters) in my Jenkins:
          - devEnv
          - qaEnv

           

          I created a dynamic Jenkinsfile that can be run both in qa / dev Env (depends on the user choice).

          The issue is that, if the user trigger two separated jobs (one should be run in qa and the second should be run in dev ) both pods are running in the same cloud (k8s cluster).

          It looks like that this issue reproduced when the pod is on running state.
          I set two clouds (kubernetes clusters) in my Jenkins:
           - devEnv
           - qaEnv

           

          I created a dynamic Jenkinsfile that can be run both in qa / dev Env (depends on the user choice).

          The issue is that, if the user trigger two separated jobs (one should be run in qa and the second should be run in dev ) both pods are running in the same cloud (k8s cluster).

          It looks like that this issue reproduced when the pod is on running state.

          Attached an example for the *Jenkinsfile* i'm using

            People

            • Assignee:
              Unassigned
              Reporter:
              mfuxi Moty Fux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: