Created
October 16, 2025 19:10
-
-
Save johnsimcall/6762cad2d58df8c561e6570b47d2609e to your computer and use it in GitHub Desktop.
Trilio net-attach-def
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| apiVersion: k8s.cni.cncf.io/v1 | |
| kind: NetworkAttachmentDefinition | |
| metadata: | |
| name: trilio-macvlan-ens36-vlan18 | |
| namespace: trilio-system | |
| spec: | |
| config: |- | |
| { | |
| "cniVersion": "0.3.1", | |
| "name": "trilio-macvlan-ens36-vlan18", | |
| "type": "macvlan", | |
| "master": "ens36", | |
| "mode": "bridge", | |
| "ipam": { | |
| "type": "dhcp" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see sample:
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
annotations:
k8s.V1.cni.cncf.io/resourceName: bridge.network.kubevirt.io/br1
creationTimestamp: "2024-09-20T14:00:05Z"
generation: 1
name: backup-network
namespace: trilio-system
resourceVersion: "192473"
uid: 63dce9e8-feb9-4361-a690-6065f09efc
spec:
config: '{
"name": "backup-network",
"type": "bridge",
"cniVersion": "0.3.1",
"bridge": "br1",
"macspoofchk": false,
"ipam": {},
"preserveDefaultVlan": false
}'