Skip to content

Commit

Permalink
release new geoserver lb version with ressources parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Oct 17, 2024
1 parent 5ea4509 commit af07a34
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion geoserver-lb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ name: geoserver-lb
apiVersion: v2
description: A Helm chart for deploying geoserver loadbalanced
type: application
version: 0.6.4
version: 1.0.0
appVersion: "22.0.4"
3 changes: 2 additions & 1 deletion geoserver-lb/templates/geoserver-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ spec:
- containerPort: 8080
name: http-proxy
protocol: TCP
resources: {}
resources:
{{- toYaml .Values.geoserver.resources | nindent 10 }}
startupProbe:
failureThreshold: 5
periodSeconds: 40
Expand Down
7 changes: 1 addition & 6 deletions geoserver-lb/templates/geoserver-lb-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,7 @@ spec:
{{ .Values.geoserver.extra_volumeMounts | toYaml | nindent 10 }}
{{- end }}
resources:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "128Mi"
cpu: "500m"
{{- toYaml .Values.nginx.resources | nindent 10 }}
livenessProbe:
failureThreshold: 10
tcpSocket:
Expand Down
11 changes: 11 additions & 0 deletions geoserver-lb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ geoserver:
# This is the url to the service provided by the geOrchestra helm chart
master_svc_url: georchestra-geoserver-svc:8080
docker_image: registry.com/org/client-configuration/geoserver:22.0.4
resources:
requests:
memory: "2048Mi"
cpu: "100m"
limits:
memory: "8192Mi"
livenessProbe:
httpGet:
path: /geoserver/gwc/service/wmts?SERVICE=WMTS&REQUEST=GetCapabilities
Expand All @@ -29,6 +35,11 @@ geoserver:
claimName: georchestra-geoserver-datadir

nginx:
resources:
requests:
memory: "64Mi"
limits:
memory: "128Mi"
image:
repository: docker.io
name: nginx
Expand Down

0 comments on commit af07a34

Please sign in to comment.