Namespace Requirements
TOC
Creating a namespace with kubectlCreating a namespace via the Alauda Container Platform web consoleCreating a namespace with kubectl
There are no special requirements for namespaces created with kubectl at this time. You can create a namespace using the following command:
Creating a namespace via the Alauda Container Platform web console
When creating a namespace from the Alauda Container Platform Projects → Namespace page, you must set the Pod Security Admission setting to a mode that the injected sidecar satisfies:
- If the
Istioresource setsspec.values.global.proxy.seccompProfile.typetoRuntimeDefault, you can leave theEnforcesecurity mode set toRestricted. - Otherwise, the
Enforcesecurity mode must not be set toRestricted; it is recommended to change it toBaseline.
For more information, see Pod Security Admission.