Changing the default load balancer image

By default, a load balancer is created by using the amphora image that is automatically added to the compute cluster when you enable the load balancing service. You can change the default image by creating a new one via the vinfra tool.

To change the default load balancer image

  1. Add a new amphora image to the compute cluster and specify a tag for it. For example, to create the myamphora image from the myamphora.qcow2 file with the custom_amphora tag, run:

    # vinfra service compute image create myamphora --file myamphora.qcow2 --tags custom_amphora
    
  2. Reconfigure the load balancing service to use the new image by default. For example, to use the image with the custom_amphora tag, run:

    # vinfra service compute lbaas configure --amp-image-tag custom_amphora

Once the load balancing service is reconfigured, new load balancers will be created from the myamphora image.