Files
litmus-hub/charts/generic/k8-aws-ec2-terminate/Readme.md
sumit Nagal 3e50e15497 New AWS experiment and updated K8 experiment (#297)
* New experiment for AWS and update on K8

Signed-off-by: Sumit Nagal <sumit_nagal@intuit.com>
2020-08-19 11:59:39 +05:30

850 B

In Namespace Changes

This experiment assume that you are using AWS with kubernetes

This experiment assume your namespace has right role for aws to make aws api calls

This experiment also assume you are using Instance group for your name space or aware that if you are using share

node group, it will impact other pods running on this ec2 instance

  • Apply experiments for k8 - kubectl apply -f experiments.yaml
  • Validate the experiments for k8 - kubectl get chaosexperiment
  • Setup RBAC - for pod delete RBAC - kubectl apply -f rbac.yaml
  • Create pod Experiment - for health experiment -kubectl create -f engine.yaml
  • Validate experiment - kubectl get pods -o wide
  • Validate logs - kubectl logs -f <delete pod>
  • Clean up chaosexperiment -kubectl delete -f engine.yaml
  • Clean up rbac -kubectl delete -f rbac.yaml