litmus
litmus copied to clipboard
Create litmus chaoslib utils chaos for kube-proxy
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/
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?
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)