调用网络延迟模块出现异常,无法成功
yaml文件
kind: NetworkChaos
apiVersion: chaos-mesh.org/v1alpha1
metadata:
name: pd-delay-1
namespace: default
annotations:
experiment.chaos-mesh.org/pause: ‘true’
kubectl.kubernetes.io/last-applied-configuration: >
{“apiVersion”:“chaos-mesh.org/v1alpha1",“kind”:“NetworkChaos”,“metadata”:{“annotations”:{},“name”:“pd-delay-1”,“namespace”:“default”},“spec”:{“action”:“delay”,“delay”:{“correlation”:“100”,“jitter”:“0ms”,“latency”:“10ms”},“mode”:“one”,“selector”:{“namespaces”:[“001”],“pods”:{“001”:["xuyang-chaosmesh-pd-0”]}}}}
spec:
selector:
namespaces:
- ‘001’
pods:
‘001’:
- xuyang-chaosmesh-pd-0
mode: one
action: delay
delay:
latency: 10ms
correlation: ‘100’
jitter: 0ms
direction: to
出现如下错误:
- pd-delay-1
Failed to apply chaos: unable to set tcs for pod xuyang-chaosmesh-pd-0
6分钟前
- pd-delay-1
Failed to apply chaos: unable to set tcs for pod xuyang-chaosmesh-pd-0
8分钟前
- pd-delay-1
Failed to apply chaos: unable to set tcs for pod xuyang-chaosmesh-pd-0