Deleted k8s pods but its still showing in consul ui as running instance

i have a k8s deployment with 1 replica
when i deleted k8s pods, in consul UI is it showing 2 running instance. ( 1 is new and 2nd is deleted pod)

When I deregister 2nd pod in consul ( using consul services deregister --id cmdline) then it is not showing in consul UI.

is there anyway or any configuration to auto deregister service instance for the above issue.

consul-k8s-control-plane:0.42.0
consul-version:1.11.4

Hi, can you try again using 0.43.0 and Consul 1.12.0?