VRF

Overview

The VRF Custom Resource (CR) is used to create a Virtual Routing and Forwarding (VRF) instance, also known as a route domain.

Parameters

metadata

Parameter Description
name The unique name identifying the resource (Kubernetes object name). Max length: 15 characters.
namespace The Kubernetes namespace in which the resource is created.

spec

The CR spec parameters used for configuring strict isolation are:

Parameter Description Default
strictIsolation Enables strict isolation for the route domain. With strict isolation enabled, a route domain can forward traffic only within itself and to its parent route domain. Traffic forwarding between peer route domains is prevented unless strict isolation is disabled on at least one of the route domains involved. true

Sample CR

apiVersion: k8s.f5net.com/v1
kind: Vrf
metadata:
  name: rd-strict-1
  namespace: f5-bnk
spec:
  strictIsolation: true

Sample CR (strict isolation disabled)

apiVersion: k8s.f5net.com/v1
kind: Vrf
metadata:
  name: rd-open-1
  namespace: f5-bnk
spec:
  strictIsolation: false

Create and apply VRF CR

  1. Copy one of the sample CRs into a YAML <vrf.yaml> file.

  2. Apply the VRF CR:

    kubectl create -f vrf.yaml
    
  3. Verify the resource:

    kubectl get -f vrf.yaml