Hi PunyWoodpecker71 , what are you trying to do?
Do you have K8s?
Or are you just trying to run clearml-agent?
CostlyOstrich36 Hi John, I'm trying to test if I can run the agent docker image to connect it to my clearml server. If I can run the image then I can config it to deploy to my k8s cluster.
maybe SuccessfulKoala55 might have some input here. But this docker image is designed to be run from k8s glue from my understanding. To run it standalone you have to play with it a bit I think. Maybe try adding -it and /bin/bash
at the end
To test the agent you don't need to use the k8s docker image for it. Is there a reason you're not testing the agent as a package?
oh, I did test the agent. I also built a docker image from https://github.com/allegroai/clearml-agent/tree/master/docker/k8s-glue/glue-build-aws
and got it to connect to my server.
I'm just trying the official docker image to see if I can run it directly and get it to connect. So I can write deployment to my k8s cluster using that image without having to build my own image.
I don't really understand the glue thing. So I'm just doing it the way it is easier for me to understand
Hi PunyWoodpecker71 , the k8s glue is basically an agent variable running and scheduling tasks to dun as pods in the k8s cluster
Regarding the image you asked about, how are you trying to run it?
I pull from dockerhub and then run docker run allegroai/clearml-agent-k8s:aws-latest-1.21.2
That won't work - there are a lot of environment variables required by the entrypoint, which are taken care of by the helm chart (see the entrypoint here: https://github.com/allegroai/clearml-agent/blob/ec9d02767865ec3d42dcb5d713be03646f4d1a07/docker/k8s-glue/build-resources/entrypoint.sh )