• 0 Posts
  • 14 Comments
Joined 18 days ago
cake
Cake day: December 4th, 2025

help-circle



  • The only thing why this is still the case is because microsoft is bundling everything in a single subscription and is also providing you with software that automatically keeps everything updated.

    The software is shit, but companies using the entire ecosystem probably save money. Sadly.




  • How do you notify yourself about the status of a container?

    I usually notice if a container or application is down because that usually results in something in my house not working. Sounds stupid, but I’m not hosting a hyper available cluster at home.

    Is there a “quick” way to know if a container has healthcheck as a feature.

    Check the documentation

    Does healthcheck feature simply depend on the developer of each app, or the person building the container?

    If the developer adds a healthcheck feature, you should use that. If there is none, you can always build one yourself. If it’s a web app, a simple HTTP request does the trick, just validate the returned HTML - if the status code is 200 and the output contains a certain string, it seems to be up. If it’s not a web app, like a database, a simple SELECT 1 on the database could tell you if it’s reachable or not.

    Is it better to simply monitor the http(s) request to each service? (I believe this in my case would make Caddy a single point of failure for this kind of monitor).

    If you only run a bunch of web services that you use on demand, monitoring the HTTP requests to each service is more than enough. Caddy being a single point of failure is not a problem because your caddy being dead still results in the service being unusable. And you will immediately know if caddy died or the service behind it because the error message looks different. If the upstream is dead, caddy returns a 502, if caddy is dead, you’ll get a “Connection timed out”







  • Eating a cigarette isn’t going to outright kill you, some worm having a happy meal in your stomach might, or at least incapacitate you enough to get killed by something - or someone.

    There’s lots of things in life that you shouldn’t do, but can help you in an emergency. There’s chlorine tablets - not exactly healthy, but can help with gut bacteria in a pinch. Cauterizing a wound is fucking painful and is not recommended by modern physicians - but it beats bleeding out or dying to an infection.

    Keep in mind that those are not “DIY at home” kind of tips, but "You got shot in the middle of nowhere and you’r close to dying. You will also find similar tips in most other army handbooks.