diff --git a/testing/deployment.yml b/testing/deployment.yml index 19c6826..766927f 100644 --- a/testing/deployment.yml +++ b/testing/deployment.yml @@ -24,3 +24,9 @@ spec: name: minipaste-server ports: - containerPort: 8080 + livenessProbe: + failureThreshold: 2 + periodSeconds: 15 + httpGet: + path: / + port: 8080 diff --git a/testing/svc.yml b/testing/svc.yml index dd89cd4..3e83fe7 100644 --- a/testing/svc.yml +++ b/testing/svc.yml @@ -7,4 +7,5 @@ spec: - port: 80 targetPort: 8080 selector: - app: minipaste-server \ No newline at end of file + app: minipaste-server + type: LoadBalancer \ No newline at end of file