Skip to content

mukrishn/labf5-setup

Repository files navigation

labf5-setup

Note: set BIGIP password in all places, grep and replace changepwd Doc - https://docs.google.com/document/d/1F5ytk1IKkrEAyrQFb83BSAKwGlHJ4vOWuxu9xKdMf1g/edit#heading=h.87va3vb0uof7

Provisioner

  1. Configure Provision node for BIGIP mgmt VLAN - run nmcli commands to create interface with IPs. - sudo bash 00-provnode-setup.sh

Operators

  1. Install SRIOV operator - oc apply -f 10-sriov-op.yaml
  2. Install CNV Operator - oc apply -f 11-cnv-op.yaml

BIGIP

  1. Create 2 new namespaces - oc apply -f 20-namespace.yaml
  2. Once the worker are ready, set up Host path provisioner for VMs - oc apply -f 30-hpp-setup.yaml
  3. Patch few cluster configs and upload required secrets - bash 31-oc-patches-1.sh
  4. Wait untill worker are ready
  5. Configure Sriov Network Node policy - oc apply -f 40-sriov-nnp.yml
  6. Configure Sriov Network - oc apply -f 41-sriov-net.yml
  7. Wait untill workers are ready
  8. Create Bridges and interface in workers - oc apply -f 50-f5bridges.yaml
  9. Add additional networks and few service account for BIGIP - bash 51-oc-patches-2.sh
  10. Create Data volumes for BIGIP VMs - oc apply -f 60-datavolume.yaml
  11. Wait untill the datavolume and persistent volume is ready
  12. Create BIGIP VMs - oc apply -f 70-vms.yml

BIGIP VM

  1. Wait untill VM mgmt IP is reachable from provisioner node and access F5 GUI from browser
  2. Run ansible play book to activate license and finish up ingress configuration - ansible-playbook -i ansible-host -e @ansible-input.yml ansible-playbook.yml

CIS Controller

  1. Deploy BIGIP CIS controller pods - oc apply -f 80-cis-deploy.yaml

Test setup

  1. Deploy test namespace, pods, service and as3 configmap - oc apply -f 90-hello-world.yaml
  2. Access BIGIP GUI and check virtual servers created under AS3 partition and curl against virtual IP from provisioner

License deactivation

  1. Run - ansible-playbook -i ansible-host ansible-revoke-playbook.yml

About

YAML definition for bigip setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published