Trying to inject Linkerd proxy into kubernetes cron job but when the job is triggered I could see only one container in the POD. Since my mysqlrouter is injected with Linkerd and cronjob is not injected with Linkerd, the cronjob is not able to connect to DB. Is Linkerd side car supported for kubernetes cron job? Pls. help.
You should be able to inject a cronjob resource with linkerd, although there shutdown issues you should be aware of, as described in the docs. Note however that native sidecar containers (KEP 753) address those issues, which we support as of edge-23.11.4, but kubernetes won’t start supporting until v1.29.