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

Jenkins don't create kubernetes namespace

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          csanchez Carlos Sanchez added a comment -

          namespaces are not created by the plugin

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

          Show
          csanchez Carlos Sanchez added a comment - namespaces are not created by the plugin need the master logs https://github.com/jenkinsci/kubernetes-plugin#debugging
          Hide
          assafkatz3 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.

          Show
          assafkatz3 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.
          Hide
          assafkatz3 Assaf Katz added a comment -

          Misread the documentation

          Show
          assafkatz3 Assaf Katz added a comment - Misread the documentation

            People

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

              Dates

              • Created:
                Updated:
                Resolved: