Skip to content

Commit

Permalink
fix: expand readOnlyRootFilesystem answer
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Bowbeer <[email protected]>
  • Loading branch information
joebowbeer authored Jul 21, 2022
1 parent f74d66d commit 0d5cc78
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions data/faq20.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@ args:
- '--tls-cert-file=/certs/tls.crt'
- '--tls-private-key-file=/certs/tls.key'
```
It is also possible to run KEDA with `readOnlyRootFilesystem=true` by creating an emptyDir volume and mounting it to the path where,
by default, metrics server writes its generated cert. The corresponding helm command is:
```
helm install keda kedacore/keda --namespace keda \
--set 'volumes.metricsApiServer.extraVolumes[0].name=keda-volume' \
--set 'volumes.metricsApiServer.extraVolumeMounts[0].name=keda-volume' \
--set 'volumes.metricsApiServer.extraVolumeMounts[0].mountPath=/apiserver.local.config/certificates/' \
--set 'securityContext.metricServer.readOnlyRootFilesystem=true'
```
"""
type = "Features"

Expand Down

0 comments on commit 0d5cc78

Please sign in to comment.