mirror of
https://github.com/clearml/clearml-agent
synced 2025-01-31 09:06:52 +00:00
4c056a17b9
Strip docker container obtained from task in k8s apply
16 lines
358 B
Python
16 lines
358 B
Python
from threading import Thread
|
|
from clearml_agent.session import Session
|
|
|
|
|
|
class K8sDaemon(Thread):
|
|
|
|
def __init__(self, agent):
|
|
super(K8sDaemon, self).__init__(target=self.target)
|
|
self.daemon = True
|
|
self._agent = agent
|
|
self.log = agent.log
|
|
self._session: Session = agent._session
|
|
|
|
def target(self):
|
|
pass
|