We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ec7d9 commit 951ce80Copy full SHA for 951ce80
charts/sourcegraph/templates/gitserver/gitserver.StatefulSet.yaml
@@ -56,6 +56,14 @@ spec:
56
{{- end }}
57
{{- include "sourcegraph.openTelemetryEnv" . | nindent 8 }}
58
terminationMessagePolicy: FallbackToLogsOnError
59
+ # Temporary: when migrating from repo names to repo IDs on disk,
60
+ # gitserver can take a little while to start up. To avoid killing the
61
+ # pod because of a failed liveness probe, we give it 2 minutes to start up.
62
+ startupProbe:
63
+ tcpSocket:
64
+ port: rpc
65
+ failureThreshold: 120
66
+ periodSeconds: 1
67
livenessProbe:
68
initialDelaySeconds: 5
69
tcpSocket:
0 commit comments