Skip to content

Conversation

@andrew-farries
Copy link
Contributor

Description

Configure Toxiproxy using a configmap containing a toxiproxy configuration file.

The config file sets up an upstream for the mysql database.

Builds on:
#14359
#14423
#14430

Related Issue(s)

Part of #9198 .

Depends on #14423 and #14430.

How to test

  1. In the preview environment for this PR, port forward to the mysql Toxiproxy proxy:
kubectl port-forward svc/toxiproxy 3306:3306 
  1. Connect to the database through Toxiproxy with eg, mycli -u gitpod gitpod.

These two steps show that Toxiproxy has been configured to listen on port 3306 and proxy the upstream mysql instance.

Release Notes

NONE 

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-slow-database
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide
@andrew-farries andrew-farries requested a review from a team November 4, 2022 14:22
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-af-config-for-toxiproxy.8 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat added the size/M label Nov 4, 2022
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Nov 4, 2022
@andrew-farries
Copy link
Contributor Author

/hold for dependencies

Base automatically changed from af/toxiproxy-service to main November 4, 2022 14:43
@roboquat roboquat added size/L and removed size/M labels Nov 4, 2022
@andrew-farries andrew-farries force-pushed the af/config-for-toxiproxy branch from 8f93d44 to d7d2bb8 Compare November 4, 2022 14:47
@roboquat roboquat added size/M and removed size/L labels Nov 4, 2022
@andrew-farries andrew-farries force-pushed the af/config-for-toxiproxy branch from d7d2bb8 to 34bc457 Compare November 6, 2022 11:10
@roboquat roboquat merged commit 2b62b91 into main Nov 6, 2022
@roboquat roboquat deleted the af/config-for-toxiproxy branch November 6, 2022 11:22
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/M team: webapp Issue belongs to the WebApp team

4 participants