You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 03-path-application-development/310-chaos-engineering/readme.adoc
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,9 +209,20 @@ With your cluster running you will first need to ensure you populate the `WEBAPP
209
209
210
210
$ export WEBAPP_URL="http://$(kubectl get svc/webapp-service -o jsonpath={.status.loadBalancer.ingress[0].hostname})/"
211
211
212
+
[NOTE]
213
+
====
214
+
Amazon EKS uses a non-default Service Account for authenticating with the Kubernetes cluster. Until upstream `kubectl` supports the needed authentication mechanism, a Service Account with the required RBAC privileges needs to be created and configured in the context. This can be done using the script https://gist.github.com/mreferre/6aae10ddc313dd28b72bdc9961949978.
215
+
216
+
In addition, `chaos` CLI needs to pick up the right context by using the command:
217
+
218
+
export KUBERNETES_CONTEXT=user1-eks-cluster
219
+
220
+
More discussion on this topic at https://github.com/aws-samples/aws-workshop-for-kubernetes/issues/428.
221
+
====
222
+
212
223
Now you can run the link:./experiments/experiment.json[experiment] using the `chaos run` command:
213
224
214
-
$ chaos run experiment.json
225
+
$ chaos run experiments/experiment.json
215
226
[2018-03-10 14:42:38 INFO] Validating the experiment's syntax
216
227
[2018-03-10 14:42:38 INFO] Experiment looks valid
217
228
[2018-03-10 14:42:38 INFO] Running experiment: Terminate the greeting service should not impact users
0 commit comments