• rajashree's avatar
    Fetch replicaset from etcd if not found in cache · 8695cbcc
    rajashree authored
    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
    8695cbcc