Topic 1 Question 135
You are developing your microservices application on Google Kubernetes Engine. During testing, you want to validate the behavior of your application in case a specific microservice should suddenly crash. What should you do?
Add a taint to one of the nodes of the Kubernetes cluster. For the specific microservice, configure a pod anti-affinity label that has the name of the tainted node as a value.
Use Istio's fault injection on the particular microservice whose faulty behavior you want to simulate.
Destroy one of the nodes of the Kubernetes cluster to observe the behavior.
Configure Istio's traffic management features to steer the traffic away from a crashing microservice.
ユーザの投票
コメント(17)
Answer is B. application crash, not node.
👍 36TotoroChina2021/07/01I think that c) is not the correct answer. I am not a GKE or Kubernetes expert, so maybe I am wrong. My understanding is, that in Kubernetes a microservice can run on pods on different nodes and one node can contain pods running differend microservices - so to kill one node will not kill a microservice but several pods running on that node. Please correct me if I am wrong.
👍 17XDevX2021/06/30- 正解だと思う選択肢: B👍 4brvinod2022/03/28
シャッフルモード