Skip to content

Commit

Permalink
fix: add kube-ovn-cni prob timeout
Browse files Browse the repository at this point in the history
When node load is high, the nc probe may take more than the default 1 second and lead prob failed.
  • Loading branch information
oilbeater committed Dec 9, 2021
1 parent 6221579 commit fafd555
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2046,6 +2046,7 @@ spec:
- 127.0.0.1
- "10665"
periodSeconds: 3
timeoutSeconds: 5
livenessProbe:
exec:
command:
Expand All @@ -2057,6 +2058,7 @@ spec:
initialDelaySeconds: 30
periodSeconds: 7
failureThreshold: 5
timeoutSeconds: 5
resources:
requests:
cpu: 100m
Expand Down
2 changes: 2 additions & 0 deletions yamls/kube-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ spec:
- 127.0.0.1
- "10665"
periodSeconds: 3
timeoutSeconds: 5
livenessProbe:
exec:
command:
Expand All @@ -209,6 +210,7 @@ spec:
- "10665"
initialDelaySeconds: 30
periodSeconds: 7
timeoutSeconds: 5
failureThreshold: 5
resources:
requests:
Expand Down

0 comments on commit fafd555

Please sign in to comment.