У меня есть сайт, работающий на Docker-Compose.Все работает хорошо, я использую Jenkins в качестве CI, и когда я фиксирую код, Jenkins управляет файлом docker-compose для запуска приложения.
Я хочу попробовать Kubernetes и хочу изучить это.Я не нашел хорошего решения для файлов docker-compose.Я видел Kompose, но он не работает для меня.Потом я увидел «Compose on Kubernetes» и выяснил, что это работает только для корпоративной версии.
Как вы переносите свои контейнеры в Kubernetes?Особенно docker-compose файлы.И как я могу решить ошибку Kompose?Как вы видите ниже в этом тексте, Kompose отклонил мой проект.
WARN Volume mount on the host "/home/fatih/Desktop/Django-DevOps-personal-website/pgdata" isn't supported - ignoring path on the host
WARN Volume mount on the host "/home/fatih/Desktop/Django-DevOps-personal-website/config/nginx" isn't supported - ignoring path on the host
WARN Volume mount on the host "/home/fatih/Desktop/Django-DevOps-personal-website/fatihkocnet" isn't supported - ignoring path on the host
INFO Kubernetes file "db-service.yaml" created
INFO Kubernetes file "nginx-ssl-proxy-service.yaml" created
INFO Kubernetes file "web-service.yaml" created
INFO Kubernetes file "db-deployment.yaml" created
INFO Kubernetes file "db-claim0-persistentvolumeclaim.yaml" created
INFO Kubernetes file "nginx-ssl-proxy-deployment.yaml" created
INFO Kubernetes file "nginx-ssl-proxy-claim0-persistentvolumeclaim.yaml" created
INFO Kubernetes file "nginx-ssl-proxy-claim1-persistentvolumeclaim.yaml" created
INFO Kubernetes file "web-deployment.yaml" created
INFO Kubernetes file "web-claim0-persistentvolumeclaim.yaml" created
Вы можете проверить мой исходный код с здесь.