Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install CTK extensions at runtime #20

Open
dmartin35 opened this issue Mar 20, 2020 · 0 comments
Open

Install CTK extensions at runtime #20

dmartin35 opened this issue Mar 20, 2020 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@dmartin35
Copy link
Contributor

Currently, to use the CTK with extension, we need to create a new docker image that includes the desired plugins. This solution is not very flexible, unless creating a big image that contains all possible extensions.

Could we / would we provide a way to specify the list of CTK extensions to be used by the ChaosExperiment CRO ?

we could provide something like:

---
apiVersion: chaostoolkit.org/v1
kind: ChaosToolkitExperiment
metadata:
  name: my-chaos-exp
  namespace: chaostoolkit-crd
spec:
  pod:
    extensions:
    - chaostoolkit-slack
    - chaostoolkit-kubernetes

Can we do the pip install within an init-container ?

Drawback, dynamic extensions installation will be done at each runtime, will slow down the start of running the experiment. But this might not be very critical if we think extensions flexibility is a gain.

@dmartin35 dmartin35 added enhancement New feature or request question Further information is requested labels Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant