If you have a backup of your Azure Kubernetes Service (AKS) cluster, you can restore it using Azure Backup. Refer below URL to restore from Azure Backup
https://learn.microsoft.com/en-us/azure/backup/azure-kubernetes-service-cluster-restore
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How to recover Kubernetes namespace deleted in Azure AKS
If you have a backup of your Azure Kubernetes Service (AKS) cluster, you can restore it using Azure Backup. Refer below URL to restore from Azure Backup
https://learn.microsoft.com/en-us/azure/backup/azure-kubernetes-service-cluster-restore
I am sorry to hear that your namespace got accidentally deleted. Once it has been deleted the action cannot be reversed. You will need to restore from backup or recreate it.
------------------------------------If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.
If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.
Thank you for helping to improve Microsoft Q&A!