Skip to content

Commit

Permalink
Update docs concerning Calico
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Shvedunov committed Sep 28, 2017
1 parent 502813b commit 83a4433
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The demo will start a test cluster, deploy Virtlet on it and then boot a [CirrOS
examples/vmssh.sh cirros@cirros-vm [command...]
```

By default, CNI bridge plugin is used for cluster networking. It's also possible to override this with `flannel` or `weave` plugin, e.g.:
By default, CNI bridge plugin is used for cluster networking. It's also possible to override this with `calico`, `flannel` or `weave` plugin, e.g.:
```
CNI_PLUGIN=flannel ./demo.sh
```
Expand Down
6 changes: 6 additions & 0 deletions docs/networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,11 @@ socket makes it possible to have all the network related code outside
`vmwrapper` and have `vmwrapper` just `exec` the emulator instead of
spawning it as a child process.

[Calico](https://www.projectcalico.org/) CNI plugin needs special treatment
as it tries to pass a routing configuration that cannot be passed
over DHCP. For it to work Virtlet patches Calico-provided CNI result,
replacing Calico's unreachable fake gateway with another fake gateway
with an IP address acquired from Calico IPAM.

**NOTE:** Virtlet doesn't support `hostNetwork` pod setting because it
cannot be impelemnted for VM in a meaningful way.

0 comments on commit 83a4433

Please sign in to comment.