Git Product home page Git Product logo

Comments (4)

shihhaoli avatar shihhaoli commented on May 27, 2024

I think I maybe confused with the selector and target selector. If I want to inject some delay for all traffic sent to pod-A. Do I define the selector for pod-A under spec or under target? If the former, do I need to define something in the selector under target? I assume the direction is "to". Is that right? Thanks!

from chaos-mesh.

STRRL avatar STRRL commented on May 27, 2024

inject some delay for all traffic sent to pod-A.

Unfortunately, we could not make that: "all traffic sent to Pod A" or in other word, inject network delay to "ingressing traffic."

All the delay is applied on the outgoing traffic, so for your expected situation, you could declare the both selector and targetSelector clearly with direction: to.

That's kind of limitation of NetworkChaos with action delay.

If you have any other idea, feel free to share with us. Thanks!

from chaos-mesh.

shihhaoli avatar shihhaoli commented on May 27, 2024

All the delay is applied on the outgoing traffic, so for your expected situation, you could declare the both selector and targetSelector clearly with direction: to.

Thanks for the reply. In your suggestion, did you mean declare both selector and targetSelector as Pod-A?
In my case, traffic sent to Pod-A could be from external sites. Thanks!

from chaos-mesh.

shihhaoli avatar shihhaoli commented on May 27, 2024

Just want to confirm. If I define selector as Pod-A, direction to, and empty targetSelector, does this mean adding delay to all traffic sent out from Pod-A? Thanks!

from chaos-mesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.