mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 20:48:11 +00:00
Review CNI
This commit is contained in:
committed by
Denise Schannon
parent
422951d2c8
commit
664ab859df
@@ -15,7 +15,7 @@ For more information visit [CNI GitHub project](https://github.com/containernetw
|
||||
|
||||
### What Network Models are Used in CNI?
|
||||
|
||||
CNI providers implement their network fabric using either an encapsulated network model such as Virtual Extensible Lan ([VXLAN](https://github.com/coreos/flannel/blob/master/Documentation/backends.md#vxlan)) or an unencapsulated network model such as Border Gateway Protocol ([BGP](https://en.wikipedia.org/wiki/Border_Gateway_Protocol)).
|
||||
CNI network providers implement their network fabric using either an encapsulated network model such as Virtual Extensible Lan ([VXLAN](https://github.com/coreos/flannel/blob/master/Documentation/backends.md#vxlan)) or an unencapsulated network model such as Border Gateway Protocol ([BGP](https://en.wikipedia.org/wiki/Border_Gateway_Protocol)).
|
||||
|
||||
#### What is an Encapsulated Network?
|
||||
|
||||
@@ -23,11 +23,11 @@ This network model provides a logical Layer 2 (L2) network encapsulated over the
|
||||
|
||||
In simple terms, this network model generates a kind of network bridge extended between Kubernetes workers, where pods are connected.
|
||||
|
||||
This network model is used when an extended L2 bridge is preferred. This network model is sensible for L3 network latencies of the Kubernetes workers. If datacenters are in distinct geolocations, be sure to have low latencies between them to avoid eventual network segmentation.
|
||||
This network model is used when an extended L2 bridge is preferred. This network model is sensitive to L3 network latencies of the Kubernetes workers. If datacenters are in distinct geolocations, be sure to have low latencies between them to avoid eventual network segmentation.
|
||||
|
||||
CNI providers using this network model include Flannel, Canal, and Weave.
|
||||
CNI network providers using this network model include Flannel, Canal, and Weave.
|
||||
|
||||

|
||||

|
||||
|
||||
#### What is an Unencapsulated Network?
|
||||
|
||||
@@ -35,23 +35,23 @@ This network model provides an L3 network to route packets between containers. T
|
||||
|
||||
In simple terms, this network model generates a kind of network router extended between Kubernetes workers, which provides information about how to reach pods.
|
||||
|
||||
This network model is used when a routed L3 network is preferred. This mode dynamically updates routes at the OS level for Kubernetes workers. It's less sensible to latency.
|
||||
This network model is used when a routed L3 network is preferred. This mode dynamically updates routes at the OS level for Kubernetes workers. It's less sensitive to latency.
|
||||
|
||||
CNI providers using this network model include Calico and Romana.
|
||||
CNI network providers using this network model include Calico and Romana.
|
||||
|
||||

|
||||

|
||||
|
||||
### What CNI Providers are Provided by Rancher?
|
||||
|
||||
Out-of-the-box, Rancher provides three different CNI providers for Kubernetes clusters: Canal, Flannel, and Calico. You can choose your CNI when you create new Kubernetes clusters from Rancher.
|
||||
Out-of-the-box, Rancher provides the following CNI network providers for Kubernetes clusters: Canal, Flannel, Calico and Weave (Weave is available as of v2.2.0). You can choose your CNI network provider when you create new Kubernetes clusters from Rancher.
|
||||
|
||||
#### Canal
|
||||
|
||||

|
||||
|
||||
Canal is a CNI provider that gives you the best of Flannel and Calico. It allows users to easily deploy Calico and Flannel networking together as a unified networking solution, combining Calico’s network policy enforcement with the rich superset of Calico (unencapsulated) and/or Flannel (encapsulated) network connectivity options.
|
||||
Canal is a CNI network provider that gives you the best of Flannel and Calico. It allows users to easily deploy Calico and Flannel networking together as a unified networking solution, combining Calico’s network policy enforcement with the rich superset of Calico (unencapsulated) and/or Flannel (encapsulated) network connectivity options.
|
||||
|
||||
In Rancher, Canal is the default CNI provider combined with Flannel and VXLAN encapsulation.
|
||||
In Rancher, Canal is the default CNI network provider combined with Flannel and VXLAN encapsulation.
|
||||
|
||||
Kubernetes workers should open UDP port `8472` (VXLAN) and TCP port `9099` (healthcheck). See [Port Requirements]({{< baseurl >}}/rancher/v2.x/en/installation/references/) for more details.
|
||||
|
||||
@@ -65,7 +65,7 @@ For more information, see the [Canal GitHub Page](https://github.com/projectcali
|
||||
|
||||
Flannel is a simple and easy way to configure L3 network fabric designed for Kubernetes. Flannel runs a single binary agent named flanneld on each host, which is responsible for allocating a subnet lease to each host out of a larger, preconfigured address space. Flannel uses either the Kubernetes API or etcd directly to store the network configuration, the allocated subnets, and any auxiliary data (such as the host's public IP). Packets are forwarded using one of several backend mechanisms, with the default encapsulation being [VXLAN](https://github.com/coreos/flannel/blob/master/Documentation/backends.md#vxlan).
|
||||
|
||||
Encapsulated traffic is unencrypted by default. Threfore, flannel provides an experimental backend for encryption, [IPSec](https://github.com/coreos/flannel/blob/master/Documentation/backends.md#ipsec), which makes use of [strongSwan](https://www.strongswan.org/) to establish encrypted IPSec tunnels between Kubernetes workers.
|
||||
Encapsulated traffic is unencrypted by default. Therefore, flannel provides an experimental backend for encryption, [IPSec](https://github.com/coreos/flannel/blob/master/Documentation/backends.md#ipsec), which makes use of [strongSwan](https://www.strongswan.org/) to establish encrypted IPSec tunnels between Kubernetes workers.
|
||||
|
||||
Kubernetes workers should open UDP port `8472` (VXLAN) and TCP port `9099` (healthcheck). See [Port Requirements]({{< baseurl >}}/rancher/v2.x/en/installation/references/) for more details.
|
||||
|
||||
@@ -81,7 +81,7 @@ Calico enables networking and network policy in Kubernetes clusters across the c
|
||||
|
||||
Calico also provides a stateless IP-in-IP encapsulation mode that can be used, if necessary. Calico also offers policy isolation, allowing you to secure and govern your Kubernetes workloads using advanced ingress and egress policies.
|
||||
|
||||
Kubernetes workers should open TCP port `179` (BGP).
|
||||
Kubernetes workers should open TCP port `179` (BGP). See [Port Requirements]({{< baseurl >}}/rancher/v2.x/en/installation/references/) for more details.
|
||||
|
||||

|
||||
|
||||
@@ -95,26 +95,19 @@ For more information, see the following pages:
|
||||
|
||||

|
||||
|
||||
_Available as of v2.2.0_
|
||||
|
||||
Weave enables networking and network policy in Kubernetes clusters across the cloud. Additionally, it support encrypting traffic between the peers.
|
||||
|
||||
To enable encryption, `WEAVE_PASSWORD` has to be set as a network plugin parameter. Rancher UI automatically generates the password when weave CNI plugin is selected. You can change the default password by editing the cluster YAML from the UI:
|
||||
Kubernetes workers should open TCP port `6783` (control port), UDP port `6783` and UDP port `6784` (data ports). See [Port Requirements]({{< baseurl >}}/rancher/v2.x/en/installation/references/) for more details.
|
||||
|
||||
```yaml
|
||||
network:
|
||||
plugin: "weave"
|
||||
weave_network_provider:
|
||||
password: "Q]SZOQ5wp@n$oijz"
|
||||
```
|
||||
|
||||
Kubernetes workers should open TCP port 6783 and UDP 6783/6784.
|
||||
|
||||
Weave is available as a CNI plugin in Rancher as of version 2.2, For more information, see the following pages:
|
||||
For more information, see the following pages:
|
||||
|
||||
- [Weave Net Official Site](https://www.weave.works/)
|
||||
|
||||
### CNI Features by Provider
|
||||
|
||||
The following table summarizes the different features available for each CNI provider provided by Rancher.
|
||||
The following table summarizes the different features available for each CNI network provider provided by Rancher.
|
||||
|
||||
| Provider | Network Model | Route Distribution | Network Policies | Mesh | External Datastore | Encryption | Ingress/Egress Policies |
|
||||
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
|
||||
@@ -125,13 +118,13 @@ The following table summarizes the different features available for each CNI pro
|
||||
|
||||
- Network Model: Encapsulated or unencapsulated. For more information, see [What Network Models are Used in CNI?](#what-network-models-are-used-in-cni)
|
||||
|
||||
- Route Distribution: An exterior gateway protocol designed to exchange routing and reachability information on the Internet. BGP can assist with pod-to-pod networking between clusters. This feature is a must on unencapsulated CNI providers, and it is typically done by BGP. If you plan to build clusters split across network segments, route distribution is a feature that's nice-to-have.
|
||||
- Route Distribution: An exterior gateway protocol designed to exchange routing and reachability information on the Internet. BGP can assist with pod-to-pod networking between clusters. This feature is a must on unencapsulated CNI network providers, and it is typically done by BGP. If you plan to build clusters split across network segments, route distribution is a feature that's nice-to-have.
|
||||
|
||||
- Network Policies: Kubernetes offers functionality to enforce rules about which services can communicate with each other using network policies. This feature is stable as of Kubernetes v1.7 and is ready to use with certain networking plugins.
|
||||
|
||||
- Mesh: This feature allows service-to-service networking communication between distinct Kubernetes clusters.
|
||||
|
||||
- External Datastore: CNI providers with this feature need an external datastore for its data.
|
||||
- External Datastore: CNI network providers with this feature need an external datastore for its data.
|
||||
|
||||
- Encyption: This feature allows cyphered and secure network control and data planes.
|
||||
|
||||
@@ -143,16 +136,18 @@ The following table summarizes different GitHub metrics to give you an idea of e
|
||||
|
||||
| Provider | Project | Stars | Forks | Contributors |
|
||||
| ---- | ---- | ---- | ---- | ---- |
|
||||
| Canal | https://github.com/projectcalico/canal | 536 | 75 | 19 |
|
||||
| flannel | https://github.com/coreos/flannel | 3.279 | 774 | 107 |
|
||||
| Calico | https://github.com/projectcalico/calico | 572 | 225 | 82 |
|
||||
| Weave | https://github.com/weaveworks/weave/ | 5446 | 498 | 63 |
|
||||
| Canal | https://github.com/projectcalico/canal | 580 | 84 | 20 |
|
||||
| flannel | https://github.com/coreos/flannel | 3980 | 987 | 123 |
|
||||
| Calico | https://github.com/projectcalico/calico | 953 | 305 | 101 |
|
||||
| Weave | https://github.com/weaveworks/weave/ | 5457 | 501 | 63 |
|
||||
|
||||
<br/>
|
||||
### Which CNI Provider Should I Use?
|
||||
|
||||
It depends on your project needs. There are many different providers, which each have various features and options. There isn't one provider that meets everyone's needs. At the moment, Rancher v2.0 provides the 3 most versatile CNI providers.
|
||||
It depends on your project needs. There are many different providers, which each have various features and options. There isn't one provider that meets everyone's needs.
|
||||
|
||||
As of Rancher v2.0.7, Canal is the default CNI provider. We recommend it for most use cases. It provides encapsulated networking for containers with Flannel, while adding Calico network policies that can provide project/namespace isolation in terms of networking.
|
||||
As of Rancher v2.0.7, Canal is the default CNI network provider. We recommend it for most use cases. It provides encapsulated networking for containers with Flannel, while adding Calico network policies that can provide project/namespace isolation in terms of networking.
|
||||
|
||||
All of 3 solutions are capable CNI providers and will likely suit your needs.
|
||||
### How can I configure a CNI network provider?
|
||||
|
||||
Please see [Cluster Options]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/) on how to configure a network provider for your cluster. For more advanced configuration options, please see how to configure your cluster using a [Config File](/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#config-file) and the options for [Network Plug-ins]({{< baseurl >}}/rke/v0.1.x/en/config-options/add-ons/network-plugins/).
|
||||
|
||||
@@ -45,8 +45,8 @@ The `canal_flannel_backend_type` option allows you to specify the type of [flann
|
||||
network:
|
||||
plugin: flannel
|
||||
options:
|
||||
flannel_iface: eth1
|
||||
flannel_backend_type: vxlan
|
||||
flannel_iface: eth1
|
||||
flannel_backend_type: vxlan
|
||||
```
|
||||
|
||||
#### Flannel Interface
|
||||
@@ -59,30 +59,10 @@ The `flannel_backend_type` option allows you to specify the type of [flannel bac
|
||||
```yaml
|
||||
network:
|
||||
plugin: calico
|
||||
calico_cloud_provider: aws
|
||||
options:
|
||||
calico_cloud_provider: aws
|
||||
```
|
||||
|
||||
### Weave Network Plug-in Options
|
||||
|
||||
```yaml
|
||||
network:
|
||||
plugin: "weave"
|
||||
```
|
||||
|
||||
#### Weave encryption
|
||||
|
||||
Weave encryption can be enabled by passing a string password to the network provider config.
|
||||
|
||||
### Weave Network Plug-in Options
|
||||
|
||||
```yaml
|
||||
network:
|
||||
plugin: "weave"
|
||||
weave_network_provider:
|
||||
password: "Q]SZOQ5wp@n$oijz"
|
||||
```
|
||||
|
||||
#### Cloud Provider
|
||||
#### Calico Cloud Provider
|
||||
|
||||
Calico currently only supports 2 cloud providers, AWS or GCE, which can be set using `calico_cloud_provider`.
|
||||
|
||||
@@ -90,3 +70,16 @@ Calico currently only supports 2 cloud providers, AWS or GCE, which can be set u
|
||||
|
||||
- `aws`
|
||||
- `gce`
|
||||
|
||||
### Weave Network Plug-in Options
|
||||
|
||||
```yaml
|
||||
network:
|
||||
plugin: weave
|
||||
weave_network_provider:
|
||||
password: "Q]SZOQ5wp@n$oijz"
|
||||
```
|
||||
|
||||
#### Weave encryption
|
||||
|
||||
Weave encryption can be enabled by passing a string password to the network provider config.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
@@ -1,109 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xl="http://www.w3.org/1999/xlink" version="1.1" viewBox="150.5 130.5 767.5 446.10666" width="767.5pt" height="446.10666pt" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<metadata> Produced by OmniGraffle 7.4.3
|
||||
<dc:date>2018-07-27 08:48:50 +0000</dc:date>
|
||||
</metadata>
|
||||
<defs>
|
||||
<font-face font-family="Helvetica Neue" font-size="16" panose-1="2 0 5 3 0 0 0 2 0 4" units-per-em="1000" underline-position="-100" underline-thickness="50" slope="0" x-height="517" cap-height="714" ascent="951.9958" descent="-212.99744" font-weight="500">
|
||||
<font-face-src>
|
||||
<font-face-name name="HelveticaNeue"/>
|
||||
</font-face-src>
|
||||
</font-face>
|
||||
</defs>
|
||||
<g stroke="none" stroke-opacity="1" stroke-dasharray="none" fill="none" fill-opacity="1">
|
||||
<title>Canvas 1</title>
|
||||
<rect fill="white" width="767.5" height="446.10666"/>
|
||||
<g>
|
||||
<title>Layer 1</title>
|
||||
<line x1="201.40945" y1="575.10666" x2="869.126" y2="575.10666" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<rect x="177.5" y="161.63496" width="296" height="332" fill="#0174a8"/>
|
||||
<rect x="177.5" y="161.63496" width="296" height="332" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(182.5 166.63496)" fill="#a5a5a5">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" fill="#a5a5a5" x="0" y="15" textLength="78.512">k8s worker</tspan>
|
||||
</text>
|
||||
<rect x="200.80567" y="205.83552" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="200.80567" y="205.83552" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(205.80567 214.2739)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="13.142329" y="15" textLength="79.104">workload 1</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.0.2</tspan>
|
||||
</text>
|
||||
<rect x="271.30567" y="372.33552" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="271.30567" y="372.33552" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(276.30567 380.7739)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="24.54233" y="15" textLength="8.288">fl</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="32.83033" y="15" textLength="48.016">anneld</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.0.1</tspan>
|
||||
</text>
|
||||
<rect x="334.80567" y="205.83552" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="334.80567" y="205.83552" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(339.80567 214.2739)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="13.142329" y="15" textLength="79.104">workload 2</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.0.3</tspan>
|
||||
</text>
|
||||
<rect x="271.30567" y="465.3355" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="271.30567" y="465.3355" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(276.30567 482.9979)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="1.5423287" y="15" textLength="102.304">192.168.34.10</tspan>
|
||||
</text>
|
||||
<rect x="271.30567" y="296.44916" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="271.30567" y="296.44916" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(276.30567 314.11152)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="23.50233" y="15" textLength="58.384">docker0</tspan>
|
||||
</text>
|
||||
<line x1="373.65864" y1="259.60825" x2="347.84136" y2="296.44916" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="279.41836" y1="259.60825" x2="308.08164" y2="296.44916" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="329" y1="350.2219" x2="329" y2="372.33552" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="329.2452" y1="519.10825" x2="329.7559" y2="575.10666" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="329" y1="465.3355" x2="329" y2="426.10825" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<rect x="597" y="163.49378" width="296" height="332" fill="#0174a8"/>
|
||||
<rect x="597" y="163.49378" width="296" height="332" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(602 168.49378)" fill="#a5a5a5">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" fill="#a5a5a5" x="0" y="15" textLength="78.512">k8s worker</tspan>
|
||||
</text>
|
||||
<rect x="620.3057" y="207.69434" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="620.3057" y="207.69434" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(625.3057 216.1327)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="13.142329" y="15" textLength="79.104">workload 1</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.1.2</tspan>
|
||||
</text>
|
||||
<rect x="690.8057" y="374.19434" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="690.8057" y="374.19434" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(695.8057 382.6327)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="24.54233" y="15" textLength="8.288">fl</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="32.83033" y="15" textLength="48.016">anneld</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.1.1</tspan>
|
||||
</text>
|
||||
<rect x="754.3057" y="207.69434" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="754.3057" y="207.69434" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(759.3057 216.1327)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="13.142329" y="15" textLength="79.104">workload 2</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.1.3</tspan>
|
||||
</text>
|
||||
<rect x="690.8057" y="467.19434" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="690.8057" y="467.19434" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(695.8057 484.8567)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="1.5423287" y="15" textLength="102.304">192.168.34.11</tspan>
|
||||
</text>
|
||||
<rect x="690.8057" y="298.30797" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="690.8057" y="298.30797" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(695.8057 315.97034)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="23.50233" y="15" textLength="58.384">docker0</tspan>
|
||||
</text>
|
||||
<line x1="793.1586" y1="261.46707" x2="767.3414" y2="298.30797" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="698.9184" y1="261.46707" x2="727.5816" y2="298.30797" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="748.5" y1="352.0807" x2="748.5" y2="374.19434" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="748.8122" y1="520.96707" x2="749.44094" y2="575.10666" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="748.5" y1="467.19434" x2="748.5" y2="427.96707" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<path d="M 393.5 398.5 L 404.5 375 L 404.5 386.75 L 672.5 386.75 L 672.5 375 L 683.5 398.5 L 672.5 422 L 672.5 410.25 L 404.5 410.25 L 404.5 422 Z" fill="white"/>
|
||||
<path d="M 393.5 398.5 L 404.5 375 L 404.5 386.75 L 672.5 386.75 L 672.5 375 L 683.5 398.5 L 672.5 422 L 672.5 410.25 L 404.5 410.25 L 404.5 422 Z" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(398.5 389.276)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" fill="black" x="90.064" y="15" textLength="99.872">encapsulation</tspan>
|
||||
</text>
|
||||
<path d="M 151 131 L 917.5 131 L 917.5 448.5 L 151 448.5 Z" stroke="#ff2600" stroke-linecap="round" stroke-linejoin="round" stroke-width="1" stroke-dasharray="4,4"/>
|
||||
<text transform="translate(156 136)" fill="#ff2600">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" fill="#ff2600" x="0" y="15" textLength="210.432">Overlay network 10.42.0.0/16</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
@@ -1,105 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xl="http://www.w3.org/1999/xlink" version="1.1" viewBox="177 161.13496 716.5 415.4717" width="716.5pt" height="415.4717pt" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||
<metadata> Produced by OmniGraffle 7.4.3
|
||||
<dc:date>2018-07-27 09:12:19 +0000</dc:date>
|
||||
</metadata>
|
||||
<defs>
|
||||
<font-face font-family="Helvetica Neue" font-size="16" panose-1="2 0 5 3 0 0 0 2 0 4" units-per-em="1000" underline-position="-100" underline-thickness="50" slope="0" x-height="517" cap-height="714" ascent="951.9958" descent="-212.99744" font-weight="500">
|
||||
<font-face-src>
|
||||
<font-face-name name="HelveticaNeue"/>
|
||||
</font-face-src>
|
||||
</font-face>
|
||||
</defs>
|
||||
<g stroke="none" stroke-opacity="1" stroke-dasharray="none" fill="none" fill-opacity="1">
|
||||
<title>Canvas 1</title>
|
||||
<rect fill="white" width="716.5" height="415.4717"/>
|
||||
<g>
|
||||
<title>Layer 1</title>
|
||||
<line x1="201.40945" y1="575.10666" x2="869.126" y2="575.10666" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<rect x="177.5" y="161.63496" width="296" height="332" fill="#0174a8"/>
|
||||
<rect x="177.5" y="161.63496" width="296" height="332" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(182.5 166.63496)" fill="#a5a5a5">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" fill="#a5a5a5" x="0" y="15" textLength="78.512">k8s worker</tspan>
|
||||
</text>
|
||||
<rect x="200.80567" y="205.83552" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="200.80567" y="205.83552" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(205.80567 214.2739)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="13.142329" y="15" textLength="79.104">workload 1</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.0.2</tspan>
|
||||
</text>
|
||||
<rect x="271.30567" y="372.33552" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="271.30567" y="372.33552" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(276.30567 389.9979)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="11.494329" y="15" textLength="37.936">bgp r</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="49.14233" y="15" textLength="44.752">outing</tspan>
|
||||
</text>
|
||||
<rect x="334.80567" y="205.83552" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="334.80567" y="205.83552" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(339.80567 214.2739)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="13.142329" y="15" textLength="79.104">workload 2</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.0.3</tspan>
|
||||
</text>
|
||||
<rect x="271.30567" y="465.3355" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="271.30567" y="465.3355" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(276.30567 482.9979)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="1.5423287" y="15" textLength="102.304">192.168.34.10</tspan>
|
||||
</text>
|
||||
<rect x="271.30567" y="296.44916" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="271.30567" y="296.44916" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(276.30567 314.11152)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="23.50233" y="15" textLength="58.384">docker0</tspan>
|
||||
</text>
|
||||
<line x1="373.65864" y1="259.60825" x2="347.84136" y2="296.44916" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="279.41836" y1="259.60825" x2="308.08164" y2="296.44916" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="329" y1="350.2219" x2="329" y2="372.33552" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="329.2452" y1="519.10825" x2="329.7559" y2="575.10666" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="329" y1="465.3355" x2="329" y2="426.10825" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<rect x="597" y="163.49378" width="296" height="332" fill="#0174a8"/>
|
||||
<rect x="597" y="163.49378" width="296" height="332" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(602 168.49378)" fill="#a5a5a5">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" fill="#a5a5a5" x="0" y="15" textLength="78.512">k8s worker</tspan>
|
||||
</text>
|
||||
<rect x="620.3057" y="207.69434" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="620.3057" y="207.69434" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(625.3057 216.1327)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="13.142329" y="15" textLength="79.104">workload 1</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.1.2</tspan>
|
||||
</text>
|
||||
<rect x="690.8057" y="374.19434" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="690.8057" y="374.19434" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(695.8057 391.8567)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="11.494329" y="15" textLength="37.936">bgp r</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="49.14233" y="15" textLength="44.752">outing</tspan>
|
||||
</text>
|
||||
<rect x="754.3057" y="207.69434" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="754.3057" y="207.69434" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(759.3057 216.1327)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="13.142329" y="15" textLength="79.104">workload 2</tspan>
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="19.334329" y="33.448" textLength="66.72">10.42.1.3</tspan>
|
||||
</text>
|
||||
<rect x="690.8057" y="467.19434" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="690.8057" y="467.19434" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(695.8057 484.8567)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="1.5423287" y="15" textLength="102.304">192.168.34.11</tspan>
|
||||
</text>
|
||||
<rect x="690.8057" y="298.30797" width="115.38866" height="53.77273" fill="white"/>
|
||||
<rect x="690.8057" y="298.30797" width="115.38866" height="53.77273" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(695.8057 315.97034)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" x="23.50233" y="15" textLength="58.384">docker0</tspan>
|
||||
</text>
|
||||
<line x1="793.1586" y1="261.46707" x2="767.3414" y2="298.30797" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="698.9184" y1="261.46707" x2="727.5816" y2="298.30797" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="748.5" y1="352.0807" x2="748.5" y2="374.19434" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="748.8122" y1="520.96707" x2="749.44094" y2="575.10666" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="748.5" y1="467.19434" x2="748.5" y2="427.96707" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<path d="M 505.25 429.95 L 505.25 377.55 C 505.25 373.9344 518.69 371 535.25 371 C 551.81 371 565.25 373.9344 565.25 377.55 L 565.25 429.95 C 565.25 433.5656 551.81 436.5 535.25 436.5 C 518.69 436.5 505.25 433.5656 505.25 429.95" fill="white"/>
|
||||
<path d="M 505.25 429.95 L 505.25 377.55 C 505.25 373.9344 518.69 371 535.25 371 C 551.81 371 565.25 373.9344 565.25 377.55 L 565.25 429.95 C 565.25 433.5656 551.81 436.5 535.25 436.5 C 518.69 436.5 505.25 433.5656 505.25 429.95 M 505.25 377.55 C 505.25 381.1656 518.69 384.1 535.25 384.1 C 551.81 384.1 565.25 381.1656 565.25 377.55" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<text transform="translate(510.25 397.801)" fill="black">
|
||||
<tspan font-family="Helvetica Neue" font-size="16" font-weight="500" fill="black" x="4.112" y="15" textLength="41.776">ETCD</tspan>
|
||||
</text>
|
||||
<line x1="386.69433" y1="400.48854" x2="505.25" y2="403.09137" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
<line x1="690.8057" y1="401.80288" x2="565.25" y2="403.3745" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
Reference in New Issue
Block a user