litmus icon indicating copy to clipboard operation
litmus copied to clipboard

Create litmus chaoslib utils chaos for kube-proxy

Open ksatchit opened this issue 5 years ago • 1 comments

Is this a BUG REPORT or FEATURE REQUEST?

FEATURE REQUEST

What happened:

Litmus chaoslib currently supports "K8s infrastructure chaos" via utils to drain a K8s node, force eviction of pods via taints & simulate service chaos on kubelet/docker.

kube-proxy is a K8s component that plays an important role in routing service traffic to the right pods. Injection chaos on kube-proxy can have impact on accessibility to critical storage components, as in the case of the iSCSI target/controller pod. We need to create the utils to achieve this.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

good learning reference: https://learnk8s.io/blog/kubernetes-chaos-engineering-lessons-learned/

ksatchit avatar Apr 03 '19 04:04 ksatchit

Hi @ksatchit is this feature still relevant? If so I'd really like to contribute! Can you elaborate a little bit more on what would be the expected output?

dbgoytia avatar May 27 '22 14:05 dbgoytia

With recent developments, litmus supports chaos against any workloads residing on specific nodes (using NODE_LABEL env). It also supports selection of specific pods using the TARGET_PODS env.

The tests mentioned in the description can be achieved using these tunables, w/o increasing blast radius and impacting litmus tool traffic (which was one of the earlier concerns around using litmus against system pods like kube-proxy)

ksatchit avatar Sep 26 '22 09:09 ksatchit