If we remove a parameter / label from a local file on the already deployed pod, . . .

Sakthivel G:
If we remove a parameter / label from a local file on the already deployed pod, while apply the kubectl with updated image, will it also remove the label in the live configuration or keep it in the live configuration as it is present in json.

Mohamed Ayman:
There’s a way to edit a running POD using kubectl edit command so in this case the live configuration not present in the local file.

Also kubectl apply -f definition-file.yaml it creates the object if not exists and reconfigures it if it exists. you can use apply after changing the file or to create the object.