Describe the bug
We switched from using lifecycle.preStop.exec to sleep in a shell to using the native lifecycle.preStop.sleep that became GA in Kubernetes 1.34.
But robusta shows this as
- RobustaDeployment.spec.template.spec.containers[0].lifecycle.preStop.exec: ExecAction(command=['sleep', '10']) ➡️ None
To Reproduce
Steps to reproduce the behavior:
- Run Kubernetes 1.34
- Have a deployment with
lifecycle:
preStop:
exec:
command:
- sleep
- "10"
- Change to
lifecycle:
preStop:
sleep:
seconds: 10
- See the message in your notification channel
Expected behavior
See something like
- RobustaDeployment.spec.template.spec.containers[0].lifecycle.preStop: exec: ExecAction(command=['sleep', '10']) ➡️ sleep: seconds: 10
Describe the bug
We switched from using
lifecycle.preStop.execto sleep in a shell to using the nativelifecycle.preStop.sleepthat became GA in Kubernetes 1.34.But robusta shows this as
To Reproduce
Steps to reproduce the behavior:
Expected behavior
See something like