Skip to content

Instantly share code, notes, and snippets.

@larsks
Created July 14, 2020 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/68b61d61721e46e839f10993e4995c94 to your computer and use it in GitHub Desktop.
Save larsks/68b61d61721e46e839f10993e4995c94 to your computer and use it in GitHub Desktop.
apiVersion: nmstate.io/v1alpha1
kind: NodeNetworkConfigurationPolicy
metadata:
name: br1-ens4-policy
spec:
nodeSelector:
node-role.kubernetes.io/worker: ""
desiredState:
interfaces:
- name: br1
description: Linux bridge with ens4 as a port
type: linux-bridge
state: up
ipv4:
dhcp: true
enabled: true
bridge:
options:
stp:
enabled: false
port:
- name: ens4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment