Submit

Back to the channels

#primate

  1. * jreicher joined #primate
  2. * jreicher joined #primate
  3. * phaleth joined #primate
  4. blue hi phaleth
  5. bot <discord:phaleth> hi blue
  6. phaleth I'm trying to figure out how to pass args to postgres
  7. phaleth looks like yet another limitation of the API
  8. phaleth more work for podman exec
  9. phaleth podman service taking 677M of memory is too much
  10. blue the postgres one?
  11. phaleth nope, the podman TCP service
  12. blue oh, each one of them consumes 677M?
  13. phaleth the other one did, it just went down after a day
  14. blue wait, why did it go down, we need it
  15. phaleth heh, I mean down in terms of lower memory usage
  16. blue ● podman-api-containernetwork.service - Podman API Service
  17. blue Loaded: loaded (/etc/systemd/system/podman-api-containernetwork.service; enabled; preset: disabled)
  18. blue Active: active (running) since Sun 2026-06-28 17:07:47 CEST; 1 day 1h ago
  19. blue oh
  20. phaleth I think we should try to deploy on freebsd
  21. blue btw, I was gonna ask you, we need repopack to configure systemd jobs for the containers, so they're auto-restarted on reboot? or can we just have podman do it
  22. blue because I'd hate configuring a systemd job for every container, that's gonna turn into hell very quickly
  23. blue yeah, I don't mind getting another vps for freebsd
  24. phaleth there is a service called podman-restart.service, the unit files is written by podman people for the most part, but for some reason it sometimes fails to start all containers
  25. blue damn
  26. phaleth also btw, the problem yesterday with certs not being renewed was cause of systemd-networkd
  27. phaleth I think systemd has problems
  28. blue yeah
  29. blue an alternative to the podman-restart service, is repopack gradually putting containers online
  30. blue so I told you, I'm aiming for full redundancy of all systems
  31. blue so that we can update every vps at any time
  32. phaleth yeah, if repopack can bring it up, but what can bring up repopack
  33. blue that'd be pid1
  34. blue but then pid1 would only need to start the repopack containers
  35. phaleth repopack will need to run on freebsd machine that'd never need to reboot or so heh
  36. blue never need to reboot isn't a good plan
  37. blue sometimes needs to reboot, and how we solve that, is a better plan
  38. blue redundancy is key here, but it's a bit complicated to achieve
  39. blue if something doesn't require a db, like primate website, it's straightforward
  40. phaleth back in old days of no bots poking around I had debian VPS running for two years without an update all exposed to the interwebz
  41. blue yeah but updates are expected in software, it's just part of it. if you get a kernel vulnerability, you have to update
  42. blue we have to work around that
  43. blue I'd prefer a "we do it as if we constantly need to update" mindset
  44. blue even if we don't end up constantly updating/rebooting, it's good to have the infrastructure gracefully take that
  45. blue the only problem is how to switch over the containers
  46. phaleth switch over the containers?
  47. blue yes
  48. phaleth like to another server?
  49. blue you have vps1 and vps2, now you wanna update vps1, so you switch all running containers to vps2. you start them on vps2, and point your dns resolver or whatever resolves stuff to vps2
  50. blue then you finish updating vps1, you move back to it, then you update vps2
  51. blue the only choke point becomes the dns resolver
  52. phaleth I think in the end there should be one haproxy VPS doing all the load balancing
  53. phaleth and behind it two repopacks switching
  54. blue ya
  55. blue but even that should be load-balanced/provided with redundancy
  56. phaleth and then a bunch of cheap VPSes with containers being constantaly brought up and down however repopack sees fit
  57. blue ya
  58. phaleth constantly*
  59. blue technically you can enter several ips for one dns
  60. phaleth too complicated and DNS takes a moment to update
  61. blue and if you have an api for your dns server, then you use that
  62. phaleth haproxy is a good single point of failure
  63. phaleth but anyway, end of next month should be good to start messing around with freebsd
  64. blue there's no good single point of failure
  65. blue ya
  66. blue can we run our own dns server?
  67. phaleth not sure, how do dns servers get to list like this https://public-dns.info/nameserver/de.html
  68. nevet DNS servers in Germany
  69. phaleth lot of contabo ones there
  70. blue good q
  71. blue dreamreal: don't you think nevet should at least say like: "Title: %s" or smth?
  72. blue right now he doesn't come off as a bot, but as a rambler :P3~
  73. dreamreal sure, why not
  74. dreamreal I'll file an issue
  75. blue thx

Search posts