1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi
Two ways you can do it
- PVC with ReadOnly Access Mode: Create a separate PVC with accessModes: ["ReadOnly"] for the read-only pod.
https://aws.amazon.com/blogs/storage/persistent-storage-for-kubernetes/ Or 2. Pod Security Policies (PSPs):Enforce Read-Only Mounts: Create a PSP that restricts pods to read-only volume mounts. Annotate Read-Only Pods: Annotate pods requiring read-only access with a designated key-value pair.
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Contenus pertinents
- demandé il y a un an
- demandé il y a un jour
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans