Apply Traffic Routing Agent Configuration Changes
In a cloud native MATRIXX installation, Traffic Routing Agent (TRA) configuration is applied using a configuration source.
Procedure
-
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.
- Change directory to the kubernetes directory.
-
Build your custom configuration image.
docker build -t yourname-tra-config ./example-tra-config-sideloader
-
Apply a tag.
docker tag yourname-tra-config your_image_repository/yourname-tra-config:version-tag
-
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.
-
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
-
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