Add liveness probe and loadbalancer
This commit is contained in:
@@ -24,3 +24,9 @@ spec:
|
||||
name: minipaste-server
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
livenessProbe:
|
||||
failureThreshold: 2
|
||||
periodSeconds: 15
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
|
@@ -8,3 +8,4 @@ spec:
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: minipaste-server
|
||||
type: LoadBalancer
|
Reference in New Issue
Block a user