Problems getting elastic-agent 8.15.1 to enroll for fleet server from kubernetes on cloud hosted ELK 8.15.1

I am having problems getting agent to enroll with hosted elk version 8.15.1 using the kubernetes integration. The fleet server itself does index the logs from our bare metal ubuntu 24x running k8s however the kubernetes integration fails to enroll with the fleet server after running the manifest provided. The pod keeps cycling from CrashLoopBackoff and Error Status.

The error I keep seeing in the logs

Error: context canceled

Has anyone ran into this problem before and found a solution for it?