Elastic Agent configuration for creating new index based on kubernetes namespace

I am using fleet managed elastic-agent. Can you point me to some relevant links ?