Skip to main content

☸️ Namespaces

It is advised to create the Kubernetes namespaces in advance with the following command.

plane k8s-create-namespaces
note

This step is mandatory for now as some preliminary specs need to be applied before the Helm charts.

The below picture represents the requested namespaces and their responsibilities.

Delete Namespace​

In some cases, you may need to delete and ensure the namespace resource are full terminated.

If the deletion remain stuck, the following snippet will force delete the namespace datalayer-ceph.

export STUCK_NAMESPACE=datalayer-ceph
kubectl get namespace "${STUCK_NAMESPACE}" -o json \
| tr -d "\n" | sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" \
| kubectl replace --raw /api/v1/namespaces/${STUCK_NAMESPACE}/finalize -f -