<p>we have .config file to see our azure kubernetes but I want to modify my personel kubernetes environment in my local machine.So I decided to add my personel cluster info in ".config" file. My cluster name is "grpccluster" . I have 2 config file content below . First one is orginal . Second one is my modification. Buti it is notworking also I don't know I will effect my company kubernetes structure. 
Original :</p>

<pre><code>apiVersion: v1
clusters:
- cluster:
    certificate-authority-data:xxx
    server: https://xxxxxxxx.io:443
  name: xxxmaincluster
contexts:
- context:
    cluster: xxxmaincluster
    user: clusteruser1
  name: xxxmaincluster
current-context: xxxmaincluster
kind: Config
preferences: {}
users:
- name: clusteruser1
  user:
    client-certificate-data: xxxxxxxx
    client-key-data: xxxxxxxxxxx
    token: xxxxxx


</code></pre>

<p>Modified : </p>

<pre><code>apiVersion: v1
clusters:
- cluster:
   certificate-authority-data:xxx
   server: https://xxxxxxxx.io:443
 name: xxxmaincluster
- cluster:
   certificate-authority-data: DATA+OMITTED
   server: 127.0.0.1
 name: grpcluster
contexts:
- context:
   cluster: grpcluster
   namespace: rancher
   user: user-qkvpz
 name: grpcluster
- context:
   cluster: xxxmaincluster
   user: clusteruser1
 name: xxxmaincluster
current-context: xxxmaincluster
kind: Config
preferences: {}
users:
- name: clusteruser1
 user:
   client-certificate-data: xxxxxxxx
   client-key-data: xxxxxxxxxxx
   token: xxxxxx
</code></pre>

<p>But I want to learn this is correct or not? And How can I produce crt file for kubernetes. Can you help me for these questions? </p>

<p>Here's relevant documentation: <a href="https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/" rel="nofollow noreferrer">Configure Access to Multiple Clusters</a></p>
