Apply Traffic Routing Agent Configuration Changes

In a cloud native MATRIXX installation, Traffic Routing Agent (TRA) configuration is applied using a configuration source.

Procedure

  1. Update configuration files in the kubernetes/example-tra-config-sideloader/config/ directory to make configuration changes in the same way as you would make configuration changes in a non-containerized deployment.

    For more information, see the discussions about TRA configuration in MATRIXX Configuration.

  2. Change directory to the kubernetes directory.
  3. Build your custom configuration image.
    docker build -t yourname-tra-config ./example-tra-config-sideloader
  4. Apply a tag.
    docker tag yourname-tra-config your_image_repository/yourname-tra-config:version-tag
  5. Add the image to your image repository.
    docker push your_image_repository/yourname-tra-config:version-tag

    For more information, see the discussion about obtaining and hosting images.

  6. Update the global.configurationSources.name.docker.image property in your Helm values file with your image name and the new tag, similar to the following example:
    global:
      configurationSources:
     
        acme-tra-config:
          docker:
            image: yourname-tra-config:tag
            registry: your_image_repository
  7. Apply the changes in your Helm values file (and, by extension, the configuration source) with the helm upgrade command:
    helm upgrade installation_name chart -f helm_values_file.yaml