diff --git a/olaris-api/api-template.yaml b/olaris-api/api-template.yaml index ced1468..63d6ae9 100644 --- a/olaris-api/api-template.yaml +++ b/olaris-api/api-template.yaml @@ -41,6 +41,14 @@ spec: ports: - containerPort: 5000 name: api + readinessProbe: + tcpSocket: + port: api + initialDelaySeconds: 1 + periodSeconds: 2 + timeoutSeconds: 1 + failureThreshold: 3 + successThreshold: 1 env: - name: "APIHOST" value: "${SYS_API_HOSTNAME:-localhost}" @@ -63,4 +71,4 @@ spec: - name: api port: 5000 selector: - app: nuvolaris-system-api \ No newline at end of file + app: nuvolaris-system-api