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 5bc74d2 commit 05c3e59
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 25 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
6 changes: 4 additions & 2 deletions helm/mockserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ spec:
containerPort: {{ .Values.app.serverPort }}
protocol: TCP
readinessProbe:
tcpSocket:
httpGet:
path: /status
port: serviceport
initialDelaySeconds: 2
periodSeconds: 2
successThreshold: 1
failureThreshold: 10
livenessProbe:
tcpSocket:
httpGet:
path: /status
port: serviceport
initialDelaySeconds: 10
periodSeconds: 5
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 05c3e59

Please sign in to comment.