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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • kubernetes-plugin
    • Jenkins version - 2.150.1
      Kubernetes-plugin version 1.16.1

      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

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

              Created:
              Updated: