Changes in Kubernetes and Calico-CNI plugin config files

required for usage of Calico CNI plugin version 1.4.2
This commit is contained in:
Sergey Vasilenko 2016-10-06 13:06:19 +03:00
parent 9df4502909
commit c410680b34
2 changed files with 4 additions and 1 deletions

View file

@ -1,9 +1,11 @@
{ {
"name": "calico-k8s-network", "name": "calico-k8s-network",
"type": "calico", "type": "calico",
"etcd_authority": "{{ etcd_authority }}",
"log_level": "info", "log_level": "info",
"ipam": { "ipam": {
"type": "calico-ipam" "type": "calico-ipam"
},
"kubernetes": {
"kubeconfig": "{{ kube_config_dir }}/node-kubeconfig.yaml"
} }
} }

View file

@ -4,6 +4,7 @@ clusters:
- name: local - name: local
cluster: cluster:
certificate-authority: {{ kube_cert_dir }}/ca.pem certificate-authority: {{ kube_cert_dir }}/ca.pem
server: http://127.0.0.1:8080
users: users:
- name: kubelet - name: kubelet
user: user: