I need to setup the Jenkins Kubernetes plugin to fire off slaves on demand. The top portion of the plugin requires us to provide two important values to the plugin. One is the value for the "Kubernetes URL" field and the other is the value for the "Credentials" field. By providing these two values and clicking on the "Test Connection" button we should be able to verify that Jenkins can successfully connect to the cluster.The Google Kubernetes Engine does not provide a username/password for cluster by default anymore. The GKE page where we see the cluster credentials specifically says "Basic authentication for this cluster is disabled". I only see the value for "Cluster CA certificate" on this page. Does anyone have the step by step instructions on how I can use this certificate to configure the "Credentials" field of the Jenkins Kubernetes plugin to connect to the cluster? I have tried a few combinations but I have not been successful so far. Thanks.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1149bb3a-0063-4b0f-8376-8f5a0071a6f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
you can create certificate credentials too, but the best way is to use a service account token (secret string)
On Tue, Jun 18, 2019 at 11:51 PM samt88 <sam...@gmail.com> wrote:
I need to setup the Jenkins Kubernetes plugin to fire off slaves on demand. The top portion of the plugin requires us to provide two important values to the plugin. One is the value for the "Kubernetes URL" field and the other is the value for the "Credentials" field. By providing these two values and clicking on the "Test Connection" button we should be able to verify that Jenkins can successfully connect to the cluster.--The Google Kubernetes Engine does not provide a username/password for cluster by default anymore. The GKE page where we see the cluster credentials specifically says "Basic authentication for this cluster is disabled". I only see the value for "Cluster CA certificate" on this page. Does anyone have the step by step instructions on how I can use this certificate to configure the "Credentials" field of the Jenkins Kubernetes plugin to connect to the cluster? I have tried a few combinations but I have not been successful so far. Thanks.
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bbf1590d-2cd7-469f-99f1-56f6c87e478c%40googlegroups.com.