toxiproxy
toxiproxy copied to clipboard
Automate setup with Kubernetes operator
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/hostspointed to Toxiproxy + SNIProxy depends on protocol - Allow to propogate the same command to all Toxiproxy instances (if there is more than one)
Hi @miry, I would be interested in working on this. Has any progress been made so far?
@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 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.
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 https://github.com/operator-framework/operator-sdk is another option that is very popular