I'm trying to change my deployments name:
$ kubectl get deployments
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
analytics-rethinkdb 1 1 1 1 18h
frontend 1 1 1 1 6h
queue 1 1 1 1 6h
I tried editing the deployment file but it is not changing the name of it:
$ kubectl edit deployments/analytics-rethinkdb
error: metadata.name should not be changed
I know I can delete the deployment and then redeploy it with the changed name but still I think it should be possible to change its name.