> 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/kubernetes-service-name-change-creates-a-new-service-old-service-not-deleted.md).

# Kubernetes Service Name Change Creates A New Service (old service not deleted)

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

When modifying the k8s manifest to change the service name, a new service is getting generated. The old service is not getting deleted automatically. Manual service delete needs to be done.

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

This is working as expected. Kubernetes does not delete the old service as it is a function that can break other functions elsewhere. It will rely on a manual judgement from the user to complete the "cleanup"
