set default value of name to "k8s-pod-network" (#8813)
Signed-off-by: cyclinder qifeng.guo@daocloud.iopull/8819/head
parent
5684610a55
commit
3eb0a4071a
|
@ -1,5 +1,9 @@
|
||||||
|
---
|
||||||
# see roles/network_plugin/calico/defaults/main.yml
|
# see roles/network_plugin/calico/defaults/main.yml
|
||||||
|
|
||||||
|
# the default value of name
|
||||||
|
calico_cni_name: k8s-pod-network
|
||||||
|
|
||||||
## With calico it is possible to distributed routes with border routers of the datacenter.
|
## With calico it is possible to distributed routes with border routers of the datacenter.
|
||||||
## Warning : enabling router peering will disable calico's default behavior ('node mesh').
|
## Warning : enabling router peering will disable calico's default behavior ('node mesh').
|
||||||
## The subnets of each nodes will be distributed by the datacenter router
|
## The subnets of each nodes will be distributed by the datacenter router
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
---
|
---
|
||||||
|
# the default value of name
|
||||||
|
calico_cni_name: k8s-pod-network
|
||||||
|
|
||||||
# Enables Internet connectivity from containers
|
# Enables Internet connectivity from containers
|
||||||
nat_outgoing: true
|
nat_outgoing: true
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "cni0",
|
"name": "{{ calico_cni_name }}",
|
||||||
"cniVersion":"0.3.1",
|
"cniVersion":"0.3.1",
|
||||||
"plugins":[
|
"plugins":[
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue