Open tanmaypandey7 opened 2 years ago
Hi, @tanmaypandey7, the directory structure has been changed for experiments, and the file you are looking for is now available in the litmus-ansible
repository, attaching the link to the file.
Ref: https://github.com/litmuschaos/litmus-ansible/blob/master/experiments/coredns/pod_delete/liveness-app.j2
You can raise a PR with a fix for this, thank you for raising this issue.
Hi @avaakash, i was going through the code and i see that CoreDNS is still available in litmus 2.14, but the experiment seems to be missing in the 2.14 documentation as checked from the source code in release page of 2.14. So, is it possible to run coreDNS using litmus 2.14?
Hi @tanmaypandey7 the experiment has been removed from the public chaoshub, as the same impact can be achieved using a combination of the pod-delete chaos experiment + the probes. The probes allow you to validate any custom condition via declarative definition on the ChaosEngine manifest, rather than having to burn the validation in - into the experiment binary itself.
The coredns experiment mainly focused on deleting the coredns pods, and performed a few additional validations to gauge the impact of chaos. Like I said, this can now be achieved via pod-delete + probes combination in the experiment manifest.
What happened: I am trying to run CoreDNS Pod Delete for K8s 1.22 using Litmus operator version 1.13.8. When i am running the test without internet, the test case fails, because it tries to pull
openebs/tests-custom-client:latest
for the podliveness-app
which has ImagePullPolicy set to Always.What you expected to happen: CoreDNS pod delete should run fine when I am not using internet.
Where can this issue be corrected? (optional)
From this PR i can see that I need to make a change here - experiments/coredns/pod_delete/liveness-app.j2, but I am unable to find this path in the current repo.
How to reproduce it (as minimally and precisely as possible):
kubectl describe pod liveness-app
to see the error.