-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.yaml
65 lines (63 loc) · 1.73 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
options:
image-registry:
default: rocks.canonical.com:443/cdk
type: string
description: |
Source registry of Multus CNI images.
By setting to a value, each image listed in the releases manifest
has its image-registry replaced.
release:
default: v3.9.1
description: Version of Multus CNI to deploy
type: string
network-attachment-definitions:
type: string
default: ''
description: |
YAML definitions of NetworkAttachmentDefinitions to create in Kubernetes.
Multuple NetworkAttachmentDefinitions can be specified by separating them
with ---.
Example value:
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: flannel
namespace: default
spec:
config: |
{
"cniVersion": "0.3.1",
"plugins": [
{
"type": "flannel",
"delegate": {
"hairpinMode": true,
"isDefaultGateway": true
}
},
{
"type": "portmap",
"capabilities": {"portMappings": true},
"snat": true
}
]
}
---
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: sriov
namespace: default
annotations:
k8s.v1.cni.cncf.io/resourceName: intel.com/sriov
spec:
config: |
{
"type": "sriov",
"ipam": {
"type": "host-local",
"ranges": [[{
"subnet": "10.123.123.0/24"
}]]
}
}