Skip to content

Commit

Permalink
Updated probe checks due to geoserver upgrade (#20)
Browse files Browse the repository at this point in the history
* Updated probs checks due to geoserver upgrade

* Updated chart

* added failureThreshold and periodseconds variable to read0ness and liveness prob
  • Loading branch information
ywkim312 authored Nov 19, 2024
1 parent 686414e commit 46aa401
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
8 changes: 3 additions & 5 deletions charts/geoserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ description: An open source server for sharing geospatial data.
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.0
version: 1.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 2.23.1
appVersion: 2.25.2

# List of people that maintain this helm chart.
maintainers:
Expand All @@ -35,6 +35,4 @@ annotations:
- name: Helm Chart
url: https://github.com/ncsa/charts
artifacthub.io/changes: |
- Added extra configuration option for setting Java memory heap size.
- Fixed bugs in the chart
- Port name changed to 'geoserver' from 'http'
- Updated probe checks for the deployment due to the geoserver version update
3 changes: 3 additions & 0 deletions charts/geoserver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ $ helm install --set persistence.existingClaim=PVC_NAME geoserver

## ChangeLog

### 1.1.1
- Updated probe checks for the deployment due to the geoserver version update

### 1.1.0

- Added extra configuration option for setting Java memory heap size.
Expand Down
10 changes: 7 additions & 3 deletions charts/geoserver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,22 @@ spec:
mountPath: /opt/geoserver_data
startupProbe:
httpGet:
path: /geoserver/web
path: /geoserver/
port: geoserver
failureThreshold: {{ .Values.startup.failureThreshold }}
periodSeconds: {{ .Values.startup.periodSeconds }}
livenessProbe:
httpGet:
path: /geoserver/web
path: /geoserver/
port: geoserver
failureThreshold: {{ .Values.startup.failureThreshold }}
periodSeconds: {{ .Values.startup.periodSeconds }}
readinessProbe:
httpGet:
path: /geoserver/web
path: /geoserver/
port: geoserver
failureThreshold: {{ .Values.startup.failureThreshold }}
periodSeconds: {{ .Values.startup.periodSeconds }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
Expand Down

0 comments on commit 46aa401

Please sign in to comment.