Define in JenkinsFile:

      podTemplate(name: 'ms-build', label: 'ms-build', namespace: 'tested-namespace', imagePullSecrets: [ 'nexus-internalnexus-pull-secret' ], ...

      But the POD (see full file in attachement) is still created on jenkins namespace, tested-namespace isn't existed. I also see JENKINS-39085 so I tried to created it manually, but still nothing happen there

          [JENKINS-48469] Jenkins don't create kubernetes namespace

          namespaces are not created by the plugin

          need the master logs https://github.com/jenkinsci/kubernetes-plugin#debugging

          Carlos Sanchez added a comment - namespaces are not created by the plugin need the master logs https://github.com/jenkinsci/kubernetes-plugin#debugging

          Assaf Katz added a comment -

          Meanwhile I found more specific problem - it doesn't create if it is inherited from template (even if the namespace there is empty). I will send more infromation (include the log) once I will have.

          Assaf Katz added a comment - Meanwhile I found more specific problem - it doesn't create if it is inherited from template (even if the namespace there is empty). I will send more infromation (include the log) once I will have.

          Assaf Katz added a comment -

          Misread the documentation

          Assaf Katz added a comment - Misread the documentation

            csanchez Carlos Sanchez
            assafkatz3 Assaf Katz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: