• Kubernetes Submit Queue's avatar
    Merge pull request #32383 from sttts/sttts-sysctl-infra-only · 7d10cffc
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Only set sysctls for infra containers
    
    We did set the sysctls for each container in a pod. This opens up a way to set un-whitelisted sysctls during upgrade from v1.3:
    - set annotation in v1.3 with an un-whitelisted sysctl. Set restartPolicy=Always
    - upgrade cluster to v1.4
    - kill container process
    - un-whitelisted sysctl is set on restart of the killed container.
    7d10cffc
docker_manager.go 99.7 KB