• Kubernetes Submit Queue's avatar
    Merge pull request #47599 from yujuhong/restart-init · 4bfe9b1a
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 46317, 48922, 50651, 50230, 47599)
    
    Rerun init containers when the pod needs to be restarted
    
    Whenever pod sandbox needs to be recreated, all containers associated
    with it will be killed by kubelet. This change ensures that the init
    containers will be rerun in such cases.
    
    The change also refactors the compute logic so that the control flow of
    init containers act is more aligned with the regular containers. Unit
    tests are added to verify the logic.
    
    This fixes #36485
    4bfe9b1a
Name
Last commit
Last update
..
api Loading commit data...
apimachinery/tests Loading commit data...
apis Loading commit data...
auth Loading commit data...
bootstrap/api Loading commit data...
capabilities Loading commit data...
client Loading commit data...
cloudprovider Loading commit data...
controller Loading commit data...
credentialprovider Loading commit data...
features Loading commit data...
fieldpath Loading commit data...
generated Loading commit data...
hyperkube Loading commit data...
kubeapiserver Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
master Loading commit data...
printers Loading commit data...
probe Loading commit data...
proxy Loading commit data...
quota Loading commit data...
registry Loading commit data...
routes Loading commit data...
security Loading commit data...
securitycontext Loading commit data...
serviceaccount Loading commit data...
ssh Loading commit data...
util Loading commit data...
version Loading commit data...
volume Loading commit data...
watch Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...