Skip to content

Commit

Permalink
httpGet liveness and readiness probes in helm-chart deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
gaal-dev authored and Andrey Gavrilin committed Sep 12, 2024
1 parent b607ad6 commit d627c34
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 27 deletions.
4 changes: 2 additions & 2 deletions helm/mockserver-config/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: mockserver-config
version: "5.15.0"
appVersion: "5.15.0"
version: "5.15.1"
appVersion: "5.15.1"
description: Chart to provide config to MockServer
keywords:
- mocking
Expand Down
4 changes: 2 additions & 2 deletions helm/mockserver/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: mockserver
version: "5.15.0"
appVersion: "5.15.0"
version: "5.15.1"
appVersion: "5.15.1"
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).
keywords:
- mocking
Expand Down
10 changes: 6 additions & 4 deletions helm/mockserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@ spec:
containerPort: {{ .Values.app.serverPort }}
protocol: TCP
readinessProbe:
tcpSocket:
port: serviceport
httpGet:
path: /status
port: 1080
initialDelaySeconds: 2
periodSeconds: 2
successThreshold: 1
failureThreshold: 10
livenessProbe:
tcpSocket:
port: serviceport
httpGet:
path: /status
port: 1080
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 1
Expand Down
17 changes: 0 additions & 17 deletions helm/mockserver/templates/service-test.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions helm/mockserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ service:
type: NodePort
port: 1080
nodePort: ""
test:
image: radial/busyboxplus:curl

ingress:
enabled: false
Expand Down

0 comments on commit d627c34

Please sign in to comment.