pods get recreated daily #466
Replies: 8 comments 24 replies
-
EDITED in short: microos tumbleweed means daily updates + kured => autopatching microos tumbleweed means daily updates => https://ftp.gwdg.de/pub/opensuse/tumbleweed/appliances/ |
Beta Was this translation helpful? Give feedback.
-
Ok, that makes sense. If i have multiple replicas of my pods, will the service be available while updating or is there a short downtime? |
Beta Was this translation helpful? Give feedback.
-
This also concerns me. We are moving our services to this and the downtime is a bad thing for us. |
Beta Was this translation helpful? Give feedback.
-
hopefully it should not be problem otherwise you need to check why it is a problem for your services in best practise world it shouldn't be a problem because only one node after one is rebooting |
Beta Was this translation helpful? Give feedback.
-
I have the same issue, but in particular in combination with Hashicorp Vault (one of the most popular secret stores): After being restarted, the vault gets automatically sealed. And for security purposes, the unseal process must be manual. Meaning, our corporate secret store (vault) would required manual intervention every day to stay functional. Any idea what I can do instead? Could we do manual, scheduled upgrades of MicroOS instead? If so, how? edit vault has an auto-unseal option. But it requires either AWS, GCP or Azure AD which I want to avoid. Or another self-hosted vault cluster. Chicken-Egg problem.. p.s. @mrhein What postgres operator are you using? Are you satisfied? I'm currently not sure if I'll go with bitnami or zalando. |
Beta Was this translation helpful? Give feedback.
-
from architecture perspective you can solve it with a management cluster running rockylinux or simlar with your vault harbor and so on and your application cluster in a more updated way the problem is than you have 2 setups to manage and a more vulnerable platform maybe hetzner will plugin one of this YubiHSM 2 if we ask them (atleast for metal server), because vault says...
so or so the kured config should be edited that should help you out maybe update times only 3 days in row in middle of the week 9 to 11 am p.s. @maaft there are only one solution on the market that is great and that ist zalando => postgres opertor which spawns patroni => spilo for you |
Beta Was this translation helpful? Give feedback.
-
@mrhein Exactly. This is by design. When an update comes, microOS applies in a new snapshot, then signals it to kured, which in turn drains the node and reboots to apply the new snapshot. If you are running in HA, >= 3 control planes, and > 2 agents, you should have 0 downtime. Now @mkreuzmayr @maaft Note that you can disable this behavior if you choose so, there are variables for that, also see the manual way in the readme. |
Beta Was this translation helpful? Give feedback.
-
@mysticaltech I have got 3 control planes with control plane scheduling enabled, will it still be HA? |
Beta Was this translation helpful? Give feedback.
-
I don´t know if this has to do someting with kube-hetzner in particular but I noticed the following today and I cannot think of what happened. Somehow every day all of my pods get recreated with the exception of some in the pods kube-system namespace, they only get restarted.
I have got three nodes and they are all up since 25d. My hetzner control panel also does not show any activities concerning node creation/deletion. It only shows service updates and volume/attach detaches.
I already inspected logs and events in kubernetes or if I have any jobs or tasks that could lead to that.
Beta Was this translation helpful? Give feedback.
All reactions