<p>I have  problem with Jenkins
but Jenkins  is  connecting  by  my Kubernetes by  this credentials<code>mykubeconfig</code>
but its  show to me this error  </p>

<p>ERROR: ERROR: Cannot find kubeconfig credentials with id mykubeconfig</p>

<p>java.lang.IllegalArgumentException: Cannot find kubeconfig credentials with id mykubeconfig</p>

<p><a href="https://pasteboard.co/J2PGyNr.png" rel="nofollow noreferrer">https://pasteboard.co/J2PGyNr.png</a></p>

<p><a href="https://pasteboard.co/J2PGLEi.png" rel="nofollow noreferrer">https://pasteboard.co/J2PGLEi.png</a></p>

<p><a href="https://pasteboard.co/J2PGYKH.png" rel="nofollow noreferrer">https://pasteboard.co/J2PGYKH.png</a>
<a href="https://pasteboard.co/J2PH8ye.png" rel="nofollow noreferrer">https://pasteboard.co/J2PH8ye.png</a></p>

ahmed yousry
<p>When you're using Jenkins Kubernetes Deployment plugin, you have to create two credentials.</p>

<ol>
<li>Kind -> Secret file. Here you have to provide your kube config file. It'll be    used in Cloud -> Kubernetes section to connect to Kubernetes cluster.</li>
<li>Kind -> Kubernetes configuration(kubeconfig). Here you've to paste your kube config content or set path of kube config file. <strong>This need to be called in pipeline</strong> as <code>kubeconfigId</code>.</li>
</ol>
