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

Kubernetes plugin does not respect 'no_proxy' configurations when calling Kubernetes API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • kubernetes-plugin
    • None

      Kubernetes plugin does not respect 'no_proxy' Java property, Environment Variable or Jenkins Proxy config from 'Jenkins->Manage Jenkins->Manage Plugins->Advanced Tab'.

       

      I have confirmed Kubernetes API access works from the console of the Jenkins server via 'curl' with appropriate proxy environment variables set.

       

      I have used the 'Validate Proxy' button from the 'Jenkins->Manage Jenkins->Manage Plugins->Advanced Tab' I get ' Failed to connect to https://xxxxxxxxxxxxxx.

      javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated' and confirmed the request never hits the proxy using proxy logs.

       

      If I configure the Kubernetes plugin slaves never start and if I use the 'Test Connection' button in the plugin config I get 'Error testing connection https://xxxxxxxxxxxxxx: java.io.IOException: Unexpected response code for CONNECT: 403' and have confirmed the request does hit the proxy using proxy logs.

       

            Unassigned Unassigned
            daxgames Dax Games
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: