Issue
I made a change to sysctl net.ipv4.tcp_keepalive_time via init container. But i can see the changes to container under POD.How does this changes in initcontainer[BusyBox] affects container of a differenent image [Linux]?
Expectation is how Kubernetes init container sysctl changes affecting containers under the POD
Solution
The value net.ipv4.tcp_keepalive_time will be same between the init container and main container inside pod as it will share network namespace. For more details please refer documentation on network namespace perspective
Answered By - Nataraj Medayhal Answer Checked By - Gilberto Lyons (WPSolving Admin)