TMAegisBeta
openshift için daha fazla kural

Red Hat OpenShift

TMA-OPENSHIFT-5.7.1

Create administrative boundaries between resources using namespaces

DüşükDüzey 1Manuel incelemeopenshift

Açıklama

Use namespaces to isolate your Kubernetes objects. The benchmark marks this recommendation Manual.

Nasıl denetlenir

Denetim yöntemi: Manuel inceleme

Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.

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.

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

Follow the documentation and create namespaces for objects in your deployment as you need them.

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
openshiftpolicies
Referans
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.7.1 Create administrative boundaries between resources using namespaces