Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

httpGet liveness and readiness probes in helm-chart deployment #1903

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.1</version>
<configuration>
<rules>
<dependencyConvergence/>
Expand Down