Kubernetes上的CVAT安装

问题描述 投票:0回答:1

使用来自GitHub存储库(https://github.com/opencv/cvat)的v0.5.1,我已在本地将其拉下,对其进行了构建和标记,并将其推到本地docker注册表中。

当我尝试从注册表将其部署到kubernetes实例上时,在pod日志中出现以下错误:

错误:格式化字符串'%(ENV_HOME)s / wait-for-it.sh db:5432 -t 0-bash -ic \\ n“ / usr / bin / python3〜/ manage.py migration && \\ n / usr / bin / python3〜/ manage.py collectstatic-无输入&& \\ nexec / usr / bin / python3 $ HOME / manage.py runmodwsgi --log-to-terminal --port 8080 \\ n- -limit-request-body 1073741824 --log级信息--include-file〜/ mod_wsgi.conf \\ n%(ENV_DJANGO_MODWSGI_EXTRA_ARGS)s --locale%(ENV_LC_ALL)s''for'program:runserver.command'包含名称('ENV_DJANGO_MODWSGI_EXTRA_ARGS')无法扩展。可用名称:ENV_CUDA_SUPPORT,ENV_CVAT_PORT,ENV_CVAT_PORT_8080_TCP,ENV_CVAT_PORT_8080_TCP_ADDR,ENV_CVAT_PORT_8080_TCP_PORT,ENV_CVAT_PORT_8080_TCP_PROTO,ENV_CVAT_PORT_8443_TCP,ENV_CVAT_PORT_8443_TCP_ADDR,ENV_CVAT_PORT_8443_TCP_PORT,ENV_CVAT_PORT_8443_TCP_PROTO,ENV_CVAT_SERVICE_HOST,ENV_CVAT_SERVICE_PORT,ENV_CVAT_SERVICE_PORT_8080_TCP,ENV_CVAT_SERVICE_PORT_8443_TCP,ENV_DB2_PORT,ENV_DB2_PORT_50000_TCP,ENV_DB2_PORT_50000_TCP_ADDR,ENV_DB2_PORT_50000_TCP_PORT,ENV_DB2_PORT_50000_TCP_PROTO,ENV_DB2_PORT_55000_TCP,ENV_DB2_PORT_55000_TCP_ADDR,ENV_DB2_PORT_55000_TCP_PORT,ENV_DB2_PORT_55000_TCP_PROTO,ENV_DB2_PORT_60006_TCP ,ENV_DB2_PORT_60006_TCP_ADDR,ENV_DB2_PORT_60006_TCP_PORT,ENV_DB2_PORT_60006_TCP_PROTO,ENV_DB2_PORT_60007_TCP,ENV_DB2_PORT_60007_TCP_ADDR,ENV_DB2_PORT_60007_TCP_PORT,ENV_DB2_PORT_60007_TCP_PROTO,ENV_DB2_SERVICE_HOST,ENV_DB2_SERVICE_PORT,ENV_DB2_SERVICE_PORT_50000_TCP,ENV_DB2_SERVICE_PORT_55000_TCP,ENV_DB2_SERVICE_PORT_60006_TCP,ENV_DB2_SERVIC E_PORT_60007_TCP,ENV_DEXTR_MODEL_DIR,ENV_DJANGO_CONFIGURATION,ENV_HOME,ENV_HOSTNAME,ENV_KUBERNETES_PORT,ENV_KUBERNETES_PORT_443_TCP,ENV_KUBERNETES_PORT_443_TCP_ADDR,ENV_KUBERNETES_PORT_443_TCP_PORT,ENV_KUBERNETES_PORT_443_TCP_PROTO,ENV_KUBERNETES_PORT_53_TCP,ENV_KUBERNETES_PORT_53_TCP_ADDR,ENV_KUBERNETES_PORT_53_TCP_PORT,ENV_KUBERNETES_PORT_53_TCP_PROTO,ENV_KUBERNETES_PORT_53_UDP,ENV_KUBERNETES_PORT_53_UDP_ADDR,ENV_KUBERNETES_PORT_53_UDP_PORT,ENV_KUBERNETES_PORT_53_UDP_PROTO,ENV_KUBERNETES_SERVICE_HOST,ENV_KUBERNETES_SERVICE_PORT,ENV_KUBERNETES_SERVICE_PORT_DNS,ENV_KUBERNETES_SERVICE_PORT_DNS_TCP,ENV_KUBERNETES_SERVICE_PORT_HTTPS,ENV_LANG,ENV_LC_ALL, ENV_NGINX_REVERSEPROXY_PORT,ENV_NGINX_REVERSEPROXY_PORT_8080_TCP,ENV_NGINX_REVERSEPROXY_PORT_8080_TCP_ADDR,ENV_NGINX_REVERSEPROXY_PORT_8080_TCP_PORT,ENV_NGINX_REVERSEPROXY_PORT_8080_TCP_PROTO,ENV_NGINX_REVERSEPROXY_PORT_8443_TCP,ENV_NGINX_REVERSEPROXY_PORT_8443_TCP_ADDR,ENV_NGINX_REVERSEPROXY_PORT_8443_TCP_PO RT,ENV_NGINX_REVERSEPROXY_PORT_8443_TCP_PROTO,ENV_NGINX_REVERSEPROXY_SERVICE_HOST,ENV_NGINX_REVERSEPROXY_SERVICE_PORT,ENV_NGINX_REVERSEPROXY_SERVICE_PORT_8080_TCP,ENV_NGINX_REVERSEPROXY_SERVICE_PORT_8443_TCP,ENV_OPENVINO_TOOLKIT,ENV_PATH,ENV_REID_MODEL_DIR,ENV_TERM,ENV_TEST_UI_PORT,ENV_TEST_UI_PORT_8080_TCP,ENV_TEST_UI_PORT_8080_TCP_ADDR,ENV_TEST_UI_PORT_8080_TCP_PORT,ENV_TEST_UI_PORT_8080_TCP_PROTO,ENV_TEST_UI_SERVICE_HOST,ENV_TEST_UI_SERVICE_PORT,ENV_TEST_UI_SERVICE_PORT_8080_TCP,ENV_TF_ANNOTATION,ENV_TF_ANNOTATION_MODEL_PATH,ENV_TZ,ENV_USER,ENV_WITH_DEXTR,ENV_http_proxy,ENV_https_proxy, ENV_no_proxy,ENV_socks_proxy,group_name,在此,“ program:runserver”部分中的host_node_name,process_num,program_name(文件:“ supervisord.conf”)]

要获得帮助,请使用/ usr / bin / supervisord -h

但是我可以在本地运行它,没有问题。

非常感谢任何见识。

django docker kubernetes supervisord
1个回答
0
投票

我已经使用kompose将docker-compose转换为helm图表,并在kubernetes上成功安装了cvat。尽管在查找cvat网站的入口时有一些小问题。

© www.soinside.com 2019 - 2024. All rights reserved.