Kubetier
← Permission Reference
T2

update replicasets/scale

Updating the scale subresource of a ReplicaSet is on its own a sufficient trigger to roll a poisoned pod template onto a fresh pod, with no update on the full ReplicaSet and no delete on pods.

API Group
apps
Scope
namespaced
Audit Level
Request

Escalation Paths

  1. Patch or update an existing ReplicaSet or ReplicationController pod template

  2. The change does not affect already-running pods.

    ReplicaSet/RC only apply the template to pods they create afterward

  3. Wait for or force pod replacement, using manual scale, pod deletion, node eviction, or voluntary disruption

  4. The replacement pod is created from the poisoned template and inherits the workload's existing SA

  5. Update alone forces replacement by scaling replicas (0 then 1).

    Delete on pods is not required, it only makes replacement immediate without changing the replica count

Additional rights needed:

none
K8s docs ↗
K8s docs ↗