hi i am useing shell-operator for my k8s cluster ,It's a cool tool.
I use this config to get k8s events
{ "onKubernetesEvent":[
{"kind":"Event",
"event":["add"]
}
]
}
LEVEL=kubectl -n $ns get event/$eventName -o json | jq .type
when $LEVEL is warning ,will send alerts。but i found the alerts always have some delay.
What's the reason for this. Is there a problem with the my configuration.
Thanks
hi i am useing shell-operator for my k8s cluster ,It's a cool tool.
I use this config to get k8s events
{ "onKubernetesEvent":[
{"kind":"Event",
"event":["add"]
}
]
}
LEVEL=
kubectl -n $ns get event/$eventName -o json | jq .typewhen $LEVEL is warning ,will send alerts。but i found the alerts always have some delay.
What's the reason for this. Is there a problem with the my configuration.
Thanks