In etcdctl v3 the ls command isn't present anymore, it has to be changed to etcdctl get --keys-only --prefix