Skip to content

v2.3.0-rc13: Fetch replicaset from etcd if not found in cache

Pre-release
Pre-release
Compare
Choose a tag to compare
@rancherio-gh-m rancherio-gh-m released this 08 Oct 01:31
· 9082 commits to main since this release
During workload rollback, for deployments under apps/v1, we need to get
replicaset spec.
The rollback handler was getting replicaset from cache, but for HA setups
sometimes the replicaset wasn't getting returned from cache.
This commit adds fallback logic to fetch the replicaset from etcd if fetching
from cache fails