tschirmer
tschirmer
Getting this on 2.4.5-p2 as well. Any feedback on getting any of these patches in the core?
This is still broken in 2.4.5-p1. And doesn't look intentional. If it is by design, the designers need try using it. The workflow is like this: - Install Magento 2.4.5-p1...
I've had this too. I've found that when we've added a descheduler to the stack (https://github.com/kubernetes-sigs/descheduler) to balance nodes automatically, this kind of issue will disable the redis service frequently....
> @tschirmer I'm trying to work out why this would happen unless the `podManagementPolicy` of the STS is set to Parallel? > > Is this happening in either of your...
I like the idea of seperate stateful sets, I've been thinking of doing that and making a PR I suspect this is from preStop hooks not firing and completely successfully....
I found that there were a couple things wrong with my setup: - 1. because the permissions for the readonly config was set to 420, no preStop hooks were being...
specifically. In the stateful set the volume definitions here: from: ``` volumes: - configMap: defaultMode: 420 ####THIS ONE ensured that the preStop Hooks didn't have the permissions to run. Changed...
Also found that that preStopHook: /readonly-config/..data/trigger-failover-if-master.sh requires SENTINELAUTH, but it's not defined in the env for the redis container ``` echo "[K8S PreStop Hook] Start Failover." get_redis_role() { is_master=$( redis-cli...
^I'd modified the above so I could get some debug data. Along with this in the stateful set: ``` lifecycle: preStop: exec: command: - /bin/sh - '-c' - >- echo...
Found that running preStops would consistently fail. ``` running preStop [K8S PreStop Hook] Start Failover. [K8S PreStop Hook] Got redis role. [K8S PreStop Hook] This node is currently master, we...