Lab 1.2 - OpenShift POD 1 & 2 Configuration

VXLAN Config

  1. Create new OpenShift HostSubnet’s for bigip 1 & 2 on POD1.

    hs-bigip1-10.yaml

    apiVersion: v1
    kind: HostSubnet
    metadata:
      name: openshift-f5-bigip1-10
      annotations:
        pod.network.openshift.io/fixed-vnid-host: "0"
    host: openshift-f5-bigip1-10
    hostIP: 10.1.10.4
    subnet: "10.131.0.0/23"
    

    hs-bigip2-10.yaml

    apiVersion: v1
    kind: HostSubnet
    metadata:
      name: openshift-f5-bigip2-10
      annotations:
        pod.network.openshift.io/fixed-vnid-host: "0"
    host: openshift-f5-bigip2-10
    hostIP: 10.1.10.5
    subnet: "10.131.2.0/23"
    

    hs-bigip-float-10.yaml

    apiVersion: v1
    kind: HostSubnet
    metadata:
      name: openshift-f5-bigip-float-10
      annotations:
        pod.network.openshift.io/fixed-vnid-host: "0"
    host: openshift-f5-bigip-float-10
    hostIP: 10.1.10.60
    subnet: "10.131.4.0/23"
    

    Create the HostSubnet files to the OpenShift API server. Run the following commands from master1

    oc create -f hs-bigip1-10.yaml
    oc create -f hs-bigip2-10.yaml
    oc create -f hs-bigip-float-10.yaml
    
  2. Create new OpenShift HostSubnet’s for bigip 1 & 2 on POD2.

    hs-bigip1-20.yaml

    apiVersion: v1
    kind: HostSubnet
    metadata:
      name: openshift-f5-bigip1-20
      annotations:
        pod.network.openshift.io/fixed-vnid-host: "1"
    host: openshift-f5-bigip1-20
    hostIP: 10.1.10.4
    subnet: "10.131.0.0/23"
    

    hs-bigip2-20.yaml

    apiVersion: v1
    kind: HostSubnet
    metadata:
      name: openshift-f5-bigip2-20
      annotations:
        pod.network.openshift.io/fixed-vnid-host: "1"
    host: openshift-f5-bigip2-20
    hostIP: 10.1.10.5
    subnet: "10.131.2.0/23"
    

    hs-bigip-float-20.yaml

    apiVersion: v1
    kind: HostSubnet
    metadata:
      name: openshift-f5-bigip-float-20
      annotations:
        pod.network.openshift.io/fixed-vnid-host: "1"
    host: openshift-f5-bigip-float-20
    hostIP: 10.1.10.61
    subnet: "10.131.4.0/23"
    

    Create the HostSubnet files to the OpenShift API server. Run the following commands from master2

    oc create -f hs-bigip1-20.yaml
    oc create -f hs-bigip2-20.yaml
    oc create -f hs-bigip-float-20.yaml