2015-12-11 10:32:13 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Config
|
|
|
|
clusters:
|
|
|
|
- name: local
|
|
|
|
cluster:
|
|
|
|
certificate-authority: {{ kube_cert_dir }}/ca.pem
|
2016-10-06 10:06:19 +00:00
|
|
|
server: http://127.0.0.1:8080
|
2015-12-11 10:32:13 +00:00
|
|
|
users:
|
|
|
|
- name: kubelet
|
|
|
|
user:
|
|
|
|
client-certificate: {{ kube_cert_dir }}/node.pem
|
|
|
|
client-key: {{ kube_cert_dir }}/node-key.pem
|
|
|
|
contexts:
|
|
|
|
- context:
|
|
|
|
cluster: local
|
|
|
|
user: kubelet
|
|
|
|
name: kubelet-{{ cluster_name }}
|
|
|
|
current-context: kubelet-{{ cluster_name }}
|