Specifies an emptyDir volume in deployment.yml, needed because when Netty fails to load at least one netty_tcnative* lib variant, it generates one (to /tmp by default, but configurable at start-up through -Dio.netty.native.workdir). This can't be done in a read-only file system, such as one in pods under a restricted Pod Security Policy with ReadOnlyRootFilesystem: true in k8s.
Mounting this volume as an emptyDir should solve this, unless the PSP forbids all use of volumes, or allows read-only volumes alone.
Specifies an
emptyDir
volume in deployment.yml, needed because when Netty fails to load at least onenetty_tcnative*
lib variant, it generates one (to/tmp
by default, but configurable at start-up through-Dio.netty.native.workdir
). This can't be done in a read-only file system, such as one in pods under a restricted Pod Security Policy withReadOnlyRootFilesystem: true
in k8s.Mounting this volume as an
emptyDir
should solve this, unless the PSP forbids all use of volumes, or allows read-only volumes alone.