Red Hat OpenShift
TMA-OPENSHIFT-5.7.1
Create administrative boundaries between resources using namespaces
낮음레벨 1수동 검토openshift
설명
Use namespaces to isolate your Kubernetes objects. The benchmark marks this recommendation Manual.
점검 방법
감사 방식: 수동 검토
이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.
OpenShift Projects wrap Kubernetes namespaces and are used by default in OpenShift 4. Run the following command to obtain a list of all non-default OpenShift and Kubernetes namespaces in the cluster. oc get namespaces -o json | jq '.items[] | select(.metadata.name|test("(?!default|kube-.|openshift.)^.*")) | .metadata.name' Ensure that these namespaces are the ones you need and are adequately administered as per your requirements.
조치 방법
조치 방식: 가이드 또는 인프라 패치
Follow the documentation and create namespaces for objects in your deployment as you need them.
속성
- 운영 체제
- 모두
- 태그
- openshiftpolicies
- 참고 자료
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.7.1 Create administrative boundaries between resources using namespaces