mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-19 05:31:14 +02:00
docs: update with new cni abilities
This PR updates the docs for cni Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
This commit is contained in:
parent
06d537b6ce
commit
c3deb3e439
@ -363,7 +363,8 @@ Examples:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
network:
|
network:
|
||||||
cni: flannel
|
cni:
|
||||||
|
name: flannel
|
||||||
dnsDomain: cluster.local
|
dnsDomain: cluster.local
|
||||||
podSubnets:
|
podSubnets:
|
||||||
- 10.244.0.0/16
|
- 10.244.0.0/16
|
||||||
@ -829,12 +830,23 @@ extraArgs:
|
|||||||
#### cni
|
#### cni
|
||||||
|
|
||||||
The CNI used.
|
The CNI used.
|
||||||
|
Composed of "name" and "url".
|
||||||
|
The "name" key only supports upstream bootkube options of "flannel" or "custom".
|
||||||
|
URLs is only used if name is equal to "custom".
|
||||||
|
URLs should point to a single yaml file that will get deployed.
|
||||||
|
Empty struct or any other name will default to bootkube's flannel.
|
||||||
|
|
||||||
Type: `string`
|
Type: `CNIConfig`
|
||||||
|
|
||||||
Valid Values:
|
Examples:
|
||||||
|
|
||||||
- `flannel`
|
```yaml
|
||||||
|
cni:
|
||||||
|
name: "custom"
|
||||||
|
urls:
|
||||||
|
- "https://www.mysweethttpserver.com/supersecretcni.yaml"
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
#### dnsDomain
|
#### dnsDomain
|
||||||
|
|
||||||
@ -879,6 +891,22 @@ serviceSubnets:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### CNIConfig
|
||||||
|
|
||||||
|
#### name
|
||||||
|
|
||||||
|
Name of CNI to use.
|
||||||
|
|
||||||
|
Type: `string`
|
||||||
|
|
||||||
|
#### urls
|
||||||
|
|
||||||
|
URLs containing manifests to apply for CNI.
|
||||||
|
|
||||||
|
Type: `array`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### Bond
|
### Bond
|
||||||
|
|
||||||
#### mode
|
#### mode
|
||||||
|
@ -194,7 +194,8 @@ type ClusterConfig struct {
|
|||||||
// examples:
|
// examples:
|
||||||
// - |
|
// - |
|
||||||
// network:
|
// network:
|
||||||
// cni: flannel
|
// cni:
|
||||||
|
// name: flannel
|
||||||
// dnsDomain: cluster.local
|
// dnsDomain: cluster.local
|
||||||
// podSubnets:
|
// podSubnets:
|
||||||
// - 10.244.0.0/16
|
// - 10.244.0.0/16
|
||||||
|
Loading…
x
Reference in New Issue
Block a user