Skip to content

Commit 1fa5eaa

Browse files
committed
Add crio dependency for ipsec.service
We noticed pluto is tearing down established IPsec connections in parallel with crio stopping all pod containers which includes stopping api server pod container. It happens when node reboot initiated for rendering new machine configs at the time of OCP upgrade. This creates api connection disruptions in the cluster, these disruptions are generating events, caught by origin monitor tests and failing IPsec upgrade CI lane and it may also cause noticeable temporary pod traffic failure during upgrade for IPsec enabled cluster. Hence this commit adds Before=crio.service dependency on the ipsec.service so that pluto daemon is stopped after the shutdown of crio service, all pod containers are stopped on the node. This gives enough room for clients to gracefully move to another control plane node for API connections. Signed-off-by: Periyasamy Palanisamy <[email protected]>
1 parent 2417566 commit 1fa5eaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/common/_base/units/ipsec.service.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ dropins:
44
contents: |
55
[Unit]
66
After=ovs-configuration.service
7+
Before=crio.service

0 commit comments

Comments
 (0)