> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/troubleshooting-and-resources/armory/general/debugging-deployment-errors.md).

# Debugging Deployment Errors

### Issue <a href="#issue" id="issue"></a>

When deploying to a new Kubernetes cluster for the first time, you might receive this error: `deployKubernetesManifest.deployKubernetesManifst.deployment.Error reading kind [deployment].`

### Cause <a href="#cause" id="cause"></a>

Typically this is caused by one of the following issues:

* Your kubeconfig for the cluster is not properly configured.\* The namespace used in the deployment manifest does not match the namespaces allowed as defined in your .hal/config.
