Skip to content

Commit 6047a1d

Browse files
gaal-devAndrey Gavrilin
authored and
Andrey Gavrilin
committed
httpGet liveness and readiness probes in helm-chart deployment
1 parent b607ad6 commit 6047a1d

File tree

4 files changed

+10
-25
lines changed

4 files changed

+10
-25
lines changed

Diff for: helm/mockserver-config/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: mockserver-config
3-
version: "5.15.0"
4-
appVersion: "5.15.0"
3+
version: "5.15.1"
4+
appVersion: "5.15.1"
55
description: Chart to provide config to MockServer
66
keywords:
77
- mocking

Diff for: helm/mockserver/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: mockserver
3-
version: "5.15.0"
4-
appVersion: "5.15.0"
3+
version: "5.15.1"
4+
appVersion: "5.15.1"
55
description: Chart to deploy MockServer to Kubernetes. MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).
66
keywords:
77
- mocking

Diff for: helm/mockserver/templates/deployment.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,17 @@ spec:
4545
containerPort: {{ .Values.app.serverPort }}
4646
protocol: TCP
4747
readinessProbe:
48-
tcpSocket:
49-
port: serviceport
48+
httpGet:
49+
path: /status
50+
port: 1080
5051
initialDelaySeconds: 2
5152
periodSeconds: 2
5253
successThreshold: 1
5354
failureThreshold: 10
5455
livenessProbe:
55-
tcpSocket:
56-
port: serviceport
56+
httpGet:
57+
path: /status
58+
port: 1080
5759
initialDelaySeconds: 10
5860
periodSeconds: 5
5961
successThreshold: 1

Diff for: helm/mockserver/templates/service-test.yaml

-17
This file was deleted.

0 commit comments

Comments
 (0)