readOnlyRootFilesystem

1 개요[ | ]

readOnlyRootFilesystem
spec.containers.securitContext.readOnlyRootFilesystem
  • 컨테이너가 루트 파일시스템에 쓸 수 있게 할지를 통제하는 파라미터
yaml
Copy
apiVersion: v1  
kind: Pod  
metadata:  
  name: hello-world  
spec:  
  containers:  
  # specification of the pod’s containers  
  # ...  
  securityContext:  
    readOnlyRootFilesystem: true

2 같이 보기[ | ]

3 참고[ | ]