toxiproxy icon indicating copy to clipboard operation
toxiproxy copied to clipboard

Automate setup with Kubernetes operator

Open miry opened this issue 4 years ago • 5 comments

Deploy toxiproxy to existing environment and modify the resource to route traffic through it.

Requirements:

  • Deploy Toxiproxy server
  • Create Toxiproxy server config base on CRD
  • Modify the deployment pods to have /etc/hosts pointed to Toxiproxy + SNIProxy depends on protocol
  • Allow to propogate the same command to all Toxiproxy instances (if there is more than one)

miry avatar Oct 15 '21 08:10 miry

Hi @miry, I would be interested in working on this. Has any progress been made so far?

fhke avatar Aug 21 '22 11:08 fhke

@fhke It was created private kubernetes operator by @neufeldtech. I don't know if it could be ported.

@neufeldtech Can you share some documentation or architecture decisions to create a new open source kuberenetes operator for toxiproxy?

miry avatar Aug 22 '22 10:08 miry

@miry the one that I've built is leveraging a custom framework that's not open source, so I cannot really share any details on that front.

neufeldtech avatar Aug 26 '22 20:08 neufeldtech

Something that I think we can use https://github.com/spotahome/kooper for creating custom operators.

Also check how https://chaos-mesh.org is working.

miry avatar Aug 30 '22 15:08 miry

@miry https://github.com/operator-framework/operator-sdk is another option that is very popular

neufeldtech avatar Aug 30 '22 16:08 neufeldtech