You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: daemon/example/crd/multinic.fms.io_deviceclasses.yaml
+12-15Lines changed: 12 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,9 @@
1
-
2
1
---
3
2
apiVersion: apiextensions.k8s.io/v1
4
3
kind: CustomResourceDefinition
5
4
metadata:
6
5
annotations:
7
-
controller-gen.kubebuilder.io/version: v0.4.1
8
-
creationTimestamp: null
6
+
controller-gen.kubebuilder.io/version: v0.16.1
9
7
name: deviceclasses.multinic.fms.io
10
8
spec:
11
9
group: multinic.fms.io
@@ -22,14 +20,19 @@ spec:
22
20
description: DeviceClass is the Schema for the deviceclasses API
23
21
properties:
24
22
apiVersion:
25
-
description: 'APIVersion defines the versioned schema of this representation
26
-
of an object. Servers should convert recognized schemas to the latest
27
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23
+
description: |-
24
+
APIVersion defines the versioned schema of this representation of an object.
25
+
Servers should convert recognized schemas to the latest internal value, and
26
+
may reject unrecognized values.
27
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28
28
type: string
29
29
kind:
30
-
description: 'Kind is a string value representing the REST resource this
31
-
object represents. Servers may infer this from the endpoint the client
32
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30
+
description: |-
31
+
Kind is a string value representing the REST resource this object represents.
32
+
Servers may infer this from the endpoint the client submits requests to.
33
+
Cannot be updated.
34
+
In CamelCase.
35
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Copy file name to clipboardExpand all lines: daemon/example/crd/multinic.fms.io_ippools.yaml
+12-15Lines changed: 12 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,9 @@
1
-
2
1
---
3
2
apiVersion: apiextensions.k8s.io/v1
4
3
kind: CustomResourceDefinition
5
4
metadata:
6
5
annotations:
7
-
controller-gen.kubebuilder.io/version: v0.4.1
8
-
creationTimestamp: null
6
+
controller-gen.kubebuilder.io/version: v0.16.1
9
7
name: ippools.multinic.fms.io
10
8
spec:
11
9
group: multinic.fms.io
@@ -22,14 +20,19 @@ spec:
22
20
description: IPPool is the Schema for the ippools API
23
21
properties:
24
22
apiVersion:
25
-
description: 'APIVersion defines the versioned schema of this representation
26
-
of an object. Servers should convert recognized schemas to the latest
27
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23
+
description: |-
24
+
APIVersion defines the versioned schema of this representation of an object.
25
+
Servers should convert recognized schemas to the latest internal value, and
26
+
may reject unrecognized values.
27
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28
28
type: string
29
29
kind:
30
-
description: 'Kind is a string value representing the REST resource this
31
-
object represents. Servers may infer this from the endpoint the client
32
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30
+
description: |-
31
+
Kind is a string value representing the REST resource this object represents.
32
+
Servers may infer this from the endpoint the client submits requests to.
33
+
Cannot be updated.
34
+
In CamelCase.
35
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Copy file name to clipboardExpand all lines: daemon/example/crd/multinic.fms.io_multinicnetworks.yaml
+65-27Lines changed: 65 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,9 @@
1
-
2
1
---
3
2
apiVersion: apiextensions.k8s.io/v1
4
3
kind: CustomResourceDefinition
5
4
metadata:
6
5
annotations:
7
-
controller-gen.kubebuilder.io/version: v0.4.1
8
-
creationTimestamp: null
6
+
controller-gen.kubebuilder.io/version: v0.16.1
9
7
name: multinicnetworks.multinic.fms.io
10
8
spec:
11
9
group: multinic.fms.io
@@ -14,34 +12,43 @@ spec:
14
12
listKind: MultiNicNetworkList
15
13
plural: multinicnetworks
16
14
singular: multinicnetwork
17
-
scope: Namespaced
15
+
scope: Cluster
18
16
versions:
19
17
- name: v1
20
18
schema:
21
19
openAPIV3Schema:
22
20
description: MultiNicNetwork is the Schema for the multinicnetworks API
23
21
properties:
24
22
apiVersion:
25
-
description: 'APIVersion defines the versioned schema of this representation
26
-
of an object. Servers should convert recognized schemas to the latest
27
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23
+
description: |-
24
+
APIVersion defines the versioned schema of this representation of an object.
25
+
Servers should convert recognized schemas to the latest internal value, and
26
+
may reject unrecognized values.
27
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28
28
type: string
29
29
kind:
30
-
description: 'Kind is a string value representing the REST resource this
31
-
object represents. Servers may infer this from the endpoint the client
32
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30
+
description: |-
31
+
Kind is a string value representing the REST resource this object represents.
32
+
Servers may infer this from the endpoint the client submits requests to.
33
+
Cannot be updated.
34
+
In CamelCase.
35
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
33
36
type: string
34
37
metadata:
35
38
type: object
36
39
spec:
37
-
description: 'MultiNicNetworkSpec defines the desired state of MultiNicNetwork
38
-
MasterNetAddrs is network addresses of NIC members in the pool Subnet
39
-
is global subnet, default: 172.30.0.0/16 IPAM is ipam specification
40
-
MainPlugin is plugin specification Policy is general policy of the pool'
40
+
description: |-
41
+
MultiNicNetworkSpec defines the desired state of MultiNicNetwork
42
+
MasterNetAddrs is network addresses of NIC members in the pool
43
+
Subnet is global subnet, default: 172.30.0.0/16
44
+
IPAM is ipam specification
45
+
MainPlugin is plugin specification
46
+
Policy is general policy of the pool
41
47
properties:
42
48
attachPolicy:
43
-
description: AssignmentPolicy defines the policy to select the NICs
44
-
from the pool Strategy is one of None, CostOpt, PerfOpt, QoSClass
49
+
description: |-
50
+
AssignmentPolicy defines the policy to select the NICs from the pool
51
+
Strategy is one of None, CostOpt, PerfOpt, QoSClass
45
52
Target is target bandwidth in a format (d+)Gbps, (d+)Mbps, (d+)Kbps
0 commit comments