This topic explains how to specify a custom Kubernetes namespace for
cert-manager.
In most cases, cert-manager runs in the cert-manager namespace. Some users may have
company policies restricting the creation of new Kubernetes namespaces or have policies requiring
cert-manager to be run in a different namespace, for example kube-system.
Verify that cert-manager installed correctly in the new namespace with the
kubectl get pods command:
kubectl get pods -n new-cert-manager-namespace
NAME READY STATUS RESTARTS AGE
cert-manager-1234567-abcde 1/1 Running 0 21s
cert-manager-cainjector-23456789a-bcdef 1/1 Running 0 22s
cert-manager-webhook-3456789ab-cdef0 1/1 Running 0 20s
If cert manager had previoiusly been running, delete the cert-manager instance in
the cert-manager namespace by following the instructions in
Uninstall
in the cert-manager documentation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[[["\u003cp\u003eThis document guides you through configuring cert-manager to operate within a custom Kubernetes namespace instead of the default \u003ccode\u003ecert-manager\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eYou must manually create the desired namespace, such as \u003ccode\u003enew-cert-manager-namespace\u003c/code\u003e, before installing cert-manager.\u003c/p\u003e\n"],["\u003cp\u003eModifications to the cert-manager installation manifests are necessary to deploy it into a custom namespace as detailed in the linked documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecertManager\u003c/code\u003e stanza in your overrides file should be updated to include the desired namespace, and the changes should be applied using the \u003ccode\u003eapigeectl init\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eIf cert-manager was previously running in the default namespace, you need to follow the cert-manager uninstallation steps before continuing.\u003c/p\u003e\n"]]],[],null,[]]