Created
January 2, 2022 16:17
-
-
Save fclesio/8ac40fe33128f28461a1320e955e2a23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
labels: | |
test: liveness-ml-application | |
name: liveness-ml-application | |
spec: | |
containers: | |
- name: ml_application | |
image: internal_registry/ml_application | |
args: | |
- /bin/sh | |
- -c | |
- python app/ml_api.py | |
livenessProbe: | |
httpGet: | |
scheme: HTTP | |
path: /health | |
port: 8080 | |
initialDelaySeconds: 30 | |
periodSeconds: 30 | |
timeoutSeconds: 10 | |
successThreshold: 1 | |
failureThreshold: 5 | |
readinessProbe: | |
httpGet: | |
scheme: HTTP | |
path: /health | |
port: 8080 | |
initialDelaySeconds: 50 | |
periodSeconds: 30 | |
timeoutSeconds: 20 | |
successThreshold: 1 | |
failureThreshold: 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment