Skip to content

Commit ebe3b54

Browse files
committed
Rephrased readonlyrootfs docs.
Added ephemeral-storage limits/examples for standalone users.
1 parent ca0b1fa commit ebe3b54

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

content/en/docs/deployment/private-cloud/private-cloud-cluster/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -952,10 +952,10 @@ Some container runtimes or network configurations prevent a terminating pod from
952952

953953
### Read-only RootFS {#readonlyrootfs}
954954

955-
Mendix app container images are locked down quite well out of the box - they run as a non-root user, cannot request elevated permissions, and file ownership make all system and non-critical paths read-only.
955+
Mendix app container images are locked down reasonably well out of the box - they run as a non-root user, cannot request elevated permissions, and file ownership and permissions prevent modification of system and critical paths.
956956

957957
Kubernetes allows to lock down containers even further, by mounting the container filesystem as read-only - if the container's security context specifies [readOnlyRootFilesystem: true](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/).
958-
With this option enabled, any files and paths from the container image are impossible to modify by any user.
958+
With this option enabled, any files and paths from the container image cannot be modified by any user.
959959

960960
Starting from Mendix Operator version 2.21.0, all system containers and pods use `readOnlyRootFilesystem` by default, and it's possible to specify if an environment's app container should also have a read-only filesystem.
961961

@@ -969,7 +969,7 @@ In addition to internal Mendix Runtime paths, `/tmp` is mounted for any temporar
969969

970970
{{% alert color="info" %}}
971971
If your app works without issues when read-only root filesystem is enabled, it's best to enable it wherever possible.
972-
We recommend using a non-production environment to validate that your app keeps working correctly.
972+
We recommend using a non-production environment to validate that your app keeps working correctly with a read-only RootFS.
973973
{{% /alert %}}
974974

975975
### GKE Autopilot Workarounds {#gke-autopilot-workarounds}

content/en/docs/deployment/private-cloud/private-cloud-operator.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,11 @@ spec:
7979
limits: # Upper limit - process will be stopped if it tries to use more
8080
cpu: 500m # 500 millicores - half of a vCPU
8181
memory: 512Mi # 512 megabytes - suitable for small-scale non-production apps
82+
ephemeral-storage: 256Mi # 256 megabytes - for temporary files such as generated Excel documents
8283
requests: # Lower limit - needs at least these resources
8384
cpu: 250m
8485
memory: 256Mi
86+
ephemeral-storage: 256Mi
8587
runtimeDeploymentPodAnnotations: # Optional, can be omitted : set custom annotations for Mendix Runtime Pods
8688
# example: inject the Linkerd proxy sidecar
8789
linkerd.io/inject: enabled

0 commit comments

Comments
 (0)