Skip to main content
apiVersion: v1alpha1
kind: LinkAliasConfig
name: int0 # Alias for the link.
# Selector to match the link to alias.
selector:
    match: glob("00:1a:2b:*", mac(link.permanent_addr)) # The Common Expression Language (CEL) expression to match the link.
FieldTypeDescriptionValue(s)
namestringAlias for the link.

Don’t use system interface names like “eth0”, “ens3”, “enp0s2”, etc. as those may conflict
with existing physical interfaces.
selectorLinkSelectorSelector to match the link to alias.

Selector must match exactly one link, otherwise an error is returned.
If multiple selectors match the same link, the first one is used.

selector

LinkSelector selects a link to alias.
FieldTypeDescriptionValue(s)
matchExpressionThe Common Expression Language (CEL) expression to match the link.