-
I have the following scenario: my team has a background worker app, it's a .NET 8 console app, NOT a web app nor service. It does not define end web endpoint. It is running in Kubernetes and I need to implement a liveliness probe. In the past (before we moved to the Ubuntu Chiseled distroless base image), we had a simple probe that would observe for a file. The probe used the "find" command. The probe will not work anymore, as the distroless image doesn't have "find" nor bash. What's the recommended way to implement a probe for this kind of apps? I did a search on the web and in discussion section and the only related topic was this: #4296 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you implement a custom app that would be used to run your probe logic, can't it replicate what you were doing before without using Bash? That's effectively what the response to #4296 is suggesting. |
Beta Was this translation helpful? Give feedback.
AFAIK,
command
doesn't rely on Bash. So if you had a custom tool installed in your container, as was previously suggested, you could target that tool executable directly with yourcommand
configuration here.