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

Kubernetes plugin jCasC compatibility issue

XMLWordPrintable

      Kubernetes plugin 1.28.6 is printing the following warning message in the logs:

      2021-01-19 22:47:37.250+0000 [id=27] WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.

       JCasC configuration shows the following clouds configured:

        clouds:
        - kubernetes:
            containerCap: 10
            containerCapStr: "10"
            jenkinsTunnel: "jenkins-ci-agent:50000"
            jenkinsUrl: "http://jenkins-ci:8080"
            name: "kubernetes"
            namespace: "default"
            podLabels:
            - key: "jenkins/jenkins-ci-jenkins-agent"
              value: "true"
            serverUrl: "https://kubernetes.default"
            templates:
            - containers:
              - args: "^${computer.jnlpmac} ^${computer.name}"
                envVars:
                - envVar:
                    key: "JENKINS_URL"
                    value: "http://jenkins-ci.default.svc.cluster.local:8080/"
                image: "jenkins/inbound-agent:4.6-1"
                name: "jnlp"
                resourceLimitCpu: "500m"
                resourceLimitMemory: "512Mi"
                resourceRequestCpu: "100m"
                resourceRequestMemory: "256Mi"
                workingDir: "/home/jenkins"
              id: "4742230b-890d-4f77-b5cd-d76d82287986"
              label: "jenkins-ci-jenkins-agent"
              name: "default"
              nodeUsageMode: NORMAL
              podRetention: "never"
              serviceAccount: "default"
              yamlMergeStrategy: "override" 

       

      Thanks.

            Unassigned Unassigned
            elpsycho Kevin Carrasco
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: