Update cni spec to 0.4.0 for network plugin allowing it (#6053)
This commit is contained in:
parent
f6be326feb
commit
965fe1db94
4 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ metadata:
|
||||||
name: macvlan-conf
|
name: macvlan-conf
|
||||||
spec:
|
spec:
|
||||||
config: '{
|
config: '{
|
||||||
"cniVersion": "0.3.0",
|
"cniVersion": "0.4.0",
|
||||||
"type": "macvlan",
|
"type": "macvlan",
|
||||||
"master": "eth0",
|
"master": "eth0",
|
||||||
"mode": "bridge",
|
"mode": "bridge",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"cniVersion": "0.3.0",
|
"cniVersion": "0.4.0",
|
||||||
"name": "mynet",
|
"name": "mynet",
|
||||||
"type": "macvlan",
|
"type": "macvlan",
|
||||||
"master": "{{ macvlan_interface }}",
|
"master": "{{ macvlan_interface }}",
|
||||||
|
|
|
@ -6,5 +6,5 @@ multus_cni_run_dir_host: "/run"
|
||||||
multus_cni_conf_dir: "{{ ('/host', multus_cni_conf_dir_host) | join }}"
|
multus_cni_conf_dir: "{{ ('/host', multus_cni_conf_dir_host) | join }}"
|
||||||
multus_cni_bin_dir: "{{ ('/host', multus_cni_bin_dir_host) | join }}"
|
multus_cni_bin_dir: "{{ ('/host', multus_cni_bin_dir_host) | join }}"
|
||||||
multus_cni_run_dir: "{{ ('/host', multus_cni_run_dir_host) | join }}"
|
multus_cni_run_dir: "{{ ('/host', multus_cni_run_dir_host) | join }}"
|
||||||
multus_cni_version: "0.3.1"
|
multus_cni_version: "0.4.0"
|
||||||
multus_kubeconfig_file_host: "{{ (multus_cni_conf_dir_host, '/multus.d/multus.kubeconfig') | join }}"
|
multus_kubeconfig_file_host: "{{ (multus_cni_conf_dir_host, '/multus.d/multus.kubeconfig') | join }}"
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
- debug:
|
- debug:
|
||||||
var: nca_pod.stdout_lines
|
var: nca_pod.stdout_lines
|
||||||
failed_when: not nca_pod is success
|
failed_when: not nca_pod is success
|
||||||
run_once: true
|
when: inventory_hostname == groups['kube-master'][0]
|
||||||
|
|
||||||
- name: Get netchecker agents
|
- name: Get netchecker agents
|
||||||
uri:
|
uri:
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
name: macvlan-conf
|
name: macvlan-conf
|
||||||
spec:
|
spec:
|
||||||
config: '{
|
config: '{
|
||||||
"cniVersion": "0.3.0",
|
"cniVersion": "0.4.0",
|
||||||
"type": "macvlan",
|
"type": "macvlan",
|
||||||
"master": "eth0",
|
"master": "eth0",
|
||||||
"mode": "bridge",
|
"mode": "bridge",
|
||||||
|
|
Loading…
Reference in a new issue