Skip to content

Commit

Permalink
close #91
Browse files Browse the repository at this point in the history
  • Loading branch information
robjuz committed Oct 20, 2024
1 parent 94dd934 commit 038258c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
2 changes: 1 addition & 1 deletion charts/nominatim/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# 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: 4.2.0
version: 4.2.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
Expand Down
35 changes: 14 additions & 21 deletions charts/nominatim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,27 +202,20 @@ Note: The command above may differ a little depending the k8s cluster version yo

### Nominatim Initialisation Deployment parameters

| Name | Description | Value |
|-------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
| `initJob.resources` | Define resources requests and limits for the init container | `{}` |
| `initJob.persistence.enabled` | Enable persistence using Persistent Volume Claims | `false` |
| `initJob.persistence.storageClass` | Persistent Volume storage class | `nil` |
| `initJob.persistence.accessModes` | Persistent Volume access modes | `[ReadWriteOnce]` |
| `initJob.persistence.size` | Persistent Volume size | `100Gi` |
| `initJob.persistence.dataSource` | Custom PVC data source | `{}` |
| `initJob.persistence.existingClaim` | The name of an existing PVC to use for flatnode | `nil` |
| `initJob.persistence.selector` | Selector to match an existing Persistent Volume for Nominatim data PVC | `{}` |
| `initJob.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
| `initJob.resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production). | `micro` |
| `initJob.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `updates.podSecurityContext.enabled` | Enabled Nominatim pods' Security Context | `true` |
| `updates.podSecurityContext.fsGroup` | Set Nominatim pod's Security Context fsGroup | `101` |
| `updates.podSecurityContext.seccompProfile.type` | Set Nominatim container's Security Context seccomp profile | `RuntimeDefault` |
| `updates.containerSecurityContext.enabled` | Enabled Nominatim containers' Security Context | `false` |
| `updates.containerSecurityContext.runAsUser` | Set Nominatim container's Security Context runAsUser | `1001` |
| `updates.containerSecurityContext.runAsNonRoot` | Set Nominatim container's Security Context runAsNonRoot | `true` |
| `updates.containerSecurityContext.allowPrivilegeEscalation` | Set Nominatim container's privilege escalation | `false` |
| `updates.containerSecurityContext.capabilities.drop` | Set Nominatim container's Security Context runAsNonRoot | `["ALL"]` |
| Name | Description | Value |
|-------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
| `initJob.resources` | Define resources requests and limits for the init container | `{}` |
| `initJob.persistence.enabled` | Enable persistence using Persistent Volume Claims | `false` |
| `initJob.persistence.storageClass` | Persistent Volume storage class | `nil` |
| `initJob.persistence.accessModes` | Persistent Volume access modes | `[ReadWriteOnce]` |
| `initJob.persistence.size` | Persistent Volume size | `100Gi` |
| `initJob.persistence.dataSource` | Custom PVC data source | `{}` |
| `initJob.persistence.existingClaim` | The name of an existing PVC to use for flatnode | `nil` |
| `initJob.persistence.selector` | Selector to match an existing Persistent Volume for Nominatim data PVC | `{}` |
| `initJob.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
| `initJob.resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production). | `micro` |
| `initJob.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `initJob.continue` | Select init step to continue from | `nil` `[ load-data \| indexing \| db-postprocess ]` |

### Nominatim Updates Configuration parameters
| Name | Description | Value |
Expand Down
2 changes: 1 addition & 1 deletion charts/nominatim/templates/initJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ spec:
nominatim import --osm-file data.osm.pbf --threads $THREADS
else
echo "Continuing initialization from step: '$CONTINUE'."
nominatim import --continue $CONTINUE --osm-file data.osm.pbf --threads $THREADS
nominatim import --continue $CONTINUE --threads $THREADS
fi
nominatim index --threads $THREADS
Expand Down

0 comments on commit 038258c

Please sign in to comment.