diff --git a/deploy/k3s/sqlserver.yaml b/deploy/k3s/sqlserver.yaml index 7cab786..fda4a12 100644 --- a/deploy/k3s/sqlserver.yaml +++ b/deploy/k3s/sqlserver.yaml @@ -60,27 +60,25 @@ spec: memory: "768Mi" cpu: "1000m" livenessProbe: - exec: - command: - - /opt/mssql-tools/bin/sqlcmd - - -S - - localhost - - -U - - sa - - -P - - $(MSSQL_SA_PASSWORD) - - -Q - - SELECT 1 - initialDelaySeconds: 60 + tcpSocket: + port: 1433 + initialDelaySeconds: 90 periodSeconds: 30 - timeoutSeconds: 10 - failureThreshold: 5 + timeoutSeconds: 5 + failureThreshold: 3 readinessProbe: + tcpSocket: + port: 1433 + initialDelaySeconds: 45 + periodSeconds: 10 + timeoutSeconds: 5 + startupProbe: tcpSocket: port: 1433 initialDelaySeconds: 30 - periodSeconds: 15 - timeoutSeconds: 10 + periodSeconds: 10 + timeoutSeconds: 5 + failureThreshold: 18 volumes: - name: sqlserver-data persistentVolumeClaim: