Hi, I have followed the below and my connection test is successful to K8S cluster.
Navigate to, - Jenkins -> Credentials - Select Kind as a secret file - Browse and load your ~/.kube/config file - Fill ID, Description and Save. Now select, - Kind as Kubernetes configuration (kubeconfig) - Fill ID and Description - Select Enter directly in front of Kubeconfig option - Copy and paste your ~/.kube/config content and Save - You can choose either From a file on the Jenkins master or From a file on the Kubernetes master node options as well. The next step is configuring Clouds in Jenkins. Navigate to, - Jenkins -> System Configurations -> Cloud - Select the Credentials that we created in step 1 and click on Test Connection - You should receive Connection test successful message But my pipeline is failing with error, *ERROR: [kubernetes-cli] unsupported credentials type com.microsoft.jenkins.kubernetes.credentials.KubeconfigCredentials * Any Idea? -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0fadca2a-49fd-494e-8afe-10a898323033n%40googlegroups.com.
