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
I have tried with K8 pod delete experiment using argo workflow template. The pod is getting deleted and service is coming down but the run chaos fails with K8S_PROBE_ERROR
App Used: Small retail app having checkout, currency and cart service
Steps Followed: [Same Cluster used]
Installed Chaos center in my own GCP under namespace -litmus
Installed test app in my own GCP under namespace - default
{"errorCode":"K8S_PROBE_ERROR","phase":"PostChaos","reason":"unable to list the resources with matching selector, err: Pod is forbidden: User "system:serviceaccount:litmus:litmus-admin" cannot list resource "Pod" in API group "" in the namespace "default"","target":"{name: currencyService_PodDeleteProbe}"}**
I tried to debug the permission for litmus-admin
IT-$ kubectl auth can-i list pods --as=system:serviceaccount:litmus:litmus-admin -n default
yes
IT-$ kubectl auth can-i list pods --as=system:serviceaccount:litmus:litmus-admin -n litmus
yes
I am struck here and not able to proceed further
The text was updated successfully, but these errors were encountered:
I am setting up chaos engineering setup using Litmus , I have followed the installation and setup using
https://docs.litmuschaos.io/docs/getting-started/installation
I have tried with K8 pod delete experiment using argo workflow template. The pod is getting deleted and service is coming down but the run chaos fails with K8S_PROBE_ERROR
App Used: Small retail app having checkout, currency and cart service
Steps Followed: [Same Cluster used]
GROUP
VERSION : v1
RESOURCE:
NAMESPACE: default
RESOURCE NAMES
FIELD SELECTOR
LABEL SELECTOR:app=currencyservice
OPERATION: Present
**K8S_PROBE_ERROR
{"errorCode":"K8S_PROBE_ERROR","phase":"PostChaos","reason":"unable to list the resources with matching selector, err: Pod is forbidden: User "system:serviceaccount:litmus:litmus-admin" cannot list resource "Pod" in API group "" in the namespace "default"","target":"{name: currencyService_PodDeleteProbe}"}**
IT-$ kubectl auth can-i list pods --as=system:serviceaccount:litmus:litmus-admin -n default
yes
IT-$ kubectl auth can-i list pods --as=system:serviceaccount:litmus:litmus-admin -n litmus
yes
I am struck here and not able to proceed further
The text was updated successfully, but these errors were encountered: