k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
479 B
18 lines
479 B
apiVersion: v1
|
|
kind: Config
|
|
clusters:
|
|
- name: local
|
|
cluster:
|
|
certificate-authority: {{ kube_cert_dir }}/ca.pem
|
|
server: {{ kube_apiserver_endpoint }}
|
|
users:
|
|
- name: kubelet
|
|
user:
|
|
client-certificate: {{ kube_cert_dir }}/node-{{ inventory_hostname }}.pem
|
|
client-key: {{ kube_cert_dir }}/node-{{ inventory_hostname }}-key.pem
|
|
contexts:
|
|
- context:
|
|
cluster: local
|
|
user: kubelet
|
|
name: kubelet-{{ cluster_name }}
|
|
current-context: kubelet-{{ cluster_name }}
|