kompose

作者: shangyaqi | 来源:发表于2019-01-09 09:55 被阅读33次

kompose 是一个将docker-compose 转化成kubernetes的工具

操作案例:

kompose convert -f docker-compose.yaml
INFO Kubernetes file "frontend-service.yaml" created
INFO Kubernetes file "redis-master-service.yaml" created
INFO Kubernetes file "redis-slave-service.yaml" created
......

安装

curl -L https://github.com/kubernetes/kompose/releases/download/v1.17.0/kompose-linux-amd64 -o kompose

chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose

yum 安装

yum install epel-release
yum -y install kompose

相关文章

网友评论

      本文标题:kompose

      本文链接:https://www.haomeiwen.com/subject/vylwrqtx.html