Sidecar ConfigMap

    Chaos Mesh runs a fuse-daemon server in for implementing file system IOChaos.

    In sidecar container, fuse-daemon needs to mount the data directory of application by fusermount before the application starts.

    1. Template config. The skeleton of each sidecar config is similar, in order to fulfill different requirements and make the configuration simplified, Chaos Mesh supports creating common templates to be used by different applications. For the details of template configuration, please refer to .

    Injection config defines some injection arguments for different applications, and it is based on the common template created beforehand.

    For fields defined in this config, we have some brief descriptions below:

    • name: injection config name, uniquely identifies a injection config in one namespace. However, you can have the same name in different namespaces so this is useful to implement multi-tenancy.
    • selector: is used to filter pods to inject sidecar.
    • arguments: the arguments you should define to be used in the template.

    See IOChaos Document.