Hi Team, 1) suppose if we want to get events only in some namespaces i.e more t . . .

Chaitanya Korupolu:
Hi Team,

suppose if we want to get events only in some namespaces i.e more than one namespace is there any command which work like

k get events -n in “(a,b)”

we can get events for all name space or for a specific name space,

a) k get events -A --for all name spaces
b) k get events -n name of namespace

can I search for a particular message in get events ?
For example in the below screen shot you can see that liveness probe failed

I want to search for that particular line liveness probe failed can i do that?

Fernando Jordan Silva:
1.No, you can filter by 1 single namespace
2. Yes, using “grep”: k get events -n <namespace> | grep -i <message>

Chaitanya Korupolu:
Thank you @Fernando Jordan Silva