My key points
I was trying this template:
|
|
Do you see a simple stress cpu experiment.
Running Chaos Mesh on minikube taught me 4 lessons.
- Containerd vs Docker
Chaos Mesh requires containerd. Docker runtime thorws
expected containerd:// but got docker:// and blocks the injection of the cpu stress silently.
- cgroup attribution
XYZ-ng workers inject succesfully but CPU never appears in metrics. Minikb’s cgroup accounting does not attribute consuptiom to the pod correctly.
- Always describe your chaos
kubectl describe stresschaos mychaos is your truth. AllInjected: True means it worked. Failed or Warning events mean your runtime is wrong.
- Metrics server is everything
without it your HPA is blind. It means no scaling ever happens, regardless of how much chaos is inject.
Conclusion
I searched solution for the error in github and then i got many issues opened so I will move to another tool to prove the autoscaling and cpu stress experiment and then see the result.
Offtopic
Lastly, if you have a dog, please remember to take good care of them.🐶