geoserver

by prom3theu5

Helm chartv1.0.13App 2.23.1

Chart for GeoServer

About this chart

GeoServer

GeoServer is an open source server for sharing geospatial data.

The default install uses the kartoza/geoserver image, which has the following:

  • Default TLS enabled
  • Generate new datadir at startup if volume empty
  • Some plugins are shipped

Full list of options can be seen in: https://github.com/kartoza/docker-geoserver/

Parameters

ParameterDescription
image.registryDocker image registry
image.repositoryDocker image repository
image.tagDocker image tag
image.pullPolicyDocker image pull policy
nameOverrideAllow name override of service and contaioner (defaults to geoserver)
geoserverDataDirThe directory of GeoServer Data Dir inside the pod
geowebcacheCacheDirGeoServer have GeoWebCache support built in. This will be the location of the cache dir
geoserverUserGeoServer super user name
geoserverPasswordGeoServer password for super user. If you fill it, it will then stored in k8s secret.
existingSecret[tpl string] The name of the secret to get the geoserver password
extraPodEnv[tpl string] Provide extra environment that will be passed into pods. Useful for non default image.
extraSecret[tpl string] Provide extra secret that will be included in the pods. Useful for non default image.
extraConfigMap:[tpl string] Provide extra config map that will be included in the pods. Useful for non default image.
extraVolumeMounts[tpl string] Provide extra volume mounts declaration that will be included in the pods. Useful if you want to mount extra things.
extraVolume[tpl string] Configuration pair with extraVolumeMounts. Declare which volume to mount in the pods.
persistence.geoserverDataDir.enabledFor geoserverDataDir volume. Default to true. If set, it will make a volume claim.
persistence.geoserverDataDir.existingClaimFor geoserverDataDir volume. Default to false. If set, it will use an existing claim name provided.
persistence.geoserverDataDir.mountPathFor geoserverDataDir volume. The path where the volume will be in the pods. Make sure that it corresponds to your geoserverDataDir key
persistence.geoserverDataDir.subPathFor geoserverDataDir volume. The path inside the the volume to mount to. Useful if you want to reuse the same volume but mount the subpath for different services.
persistence.geoserverDataDir.sizeFor geoserverDataDir volume. Size of the volume
persistence.geoserverDataDir.accessModesFor geoserverDataDir volume. K8s Access mode of the volume.
persistence.geowebcacheCacheDir.enabledFor geowebcacheCacheDir volume. Default to true. If set, it will make a volume claim.
persistence.geowebcacheCacheDir.existingClaimFor geowebcacheCacheDir volume. Default to false. If set, it will use an existing claim name provided.
persistence.geowebcacheCacheDir.mountPathFor geowebcacheCacheDir volume. The path where the volume will be in the pods. Make sure that it corresponds to your geowebcacheCacheDir key
persistence.geowebcacheCacheDir.subPathFor geowebcacheCacheDir volume. The path inside the the volume to mount to. Useful if you want to reuse the same volume but mount the subpath for different services.
persistence.geowebcacheCacheDir.sizeFor geowebcacheCacheDir volume. Size of the volume
persistence.geowebcacheCacheDir.accessModesFor geoserverDataDir volume. K8s Access mode of the volume.
service.typeThe type of kubernetes service to be created. Leave it be for Headless service
service.loadBalancerIPOnly used if you use LoadBalancer service.type
service.externalIPsExternal IPs to use for the service
service.portExternal port to use/expose
ingress.enabledSwitch to true to enable ingress resource
ingress.hostThe host name/site name the ingress will serve
ingress.tls.enabledSet it to true to enable HTTPS
ingress.tls.secretNameProviding this will activate HTTPS ingress based on the provided certificate
probeAn override options for pod probe/health check

Deploy geoserver with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has geoserver on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgeoserver is pinned at v1.0.13 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply