canonical / mysql-k8s-operator

A Charmed Operator for running MySQL on Kubernetes
https://charmhub.io/mysql-k8s
Apache License 2.0
8 stars 15 forks source link

safeguard against pod eviction and OOM kill #334

Open paulomach opened 11 months ago

paulomach commented 11 months ago

Guaranteed QoS Class requirements (docs):

BestEffort (current) is the first class to be evicted, followed by Burstable and Guaranteed

Method:

  1. Patch statefulset at the charm initialization
    1. allow rolling update of pods before any initialization
    2. allow set of other desirable/unrelated statefulset values, e.g:
      1. terminationGracePeriodSeconds to 24hs
    3. Allow testing k8s cluster access ASAP (trust enabled or not)

Problem:

Proposal:

Catches:

github-actions[bot] commented 11 months ago

https://warthogs.atlassian.net/browse/DPE-2918