在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:kompose开源软件地址:https://gitee.com/AliyunContainerService/kompose开源软件介绍:Kompose (Kubernetes + Compose)
Use CaseConvert $ kompose convert -f docker-compose.yamlINFO Kubernetes file "frontend-service.yaml" created INFO Kubernetes file "redis-master-service.yaml" created INFO Kubernetes file "redis-slave-service.yaml" created INFO Kubernetes file "frontend-deployment.yaml" created INFO Kubernetes file "redis-master-deployment.yaml" created INFO Kubernetes file "redis-slave-deployment.yaml" created Other examples are provided in the examples directory. InstallationWe have multiple ways to install Kompose. Our preferred method is downloading the binary from the latest GitHub release. Our entire list of installation methods are located in our installation.md document. Binary installationKompose is released via GitHub on a three-week cycle, you can see all current releases on the GitHub release page. Linux and macOS: # Linuxcurl -L https://github.com/AliyunContainerService/kompose/releases/download/v0.0.3/kompose-linux-amd64 -o kompose# macOScurl -L https://github.com/AliyunContainerService/kompose/releases/download/v0.0.3/kompose-darwin-amd64 -o komposechmod +x komposesudo mv ./kompose /usr/local/bin/kompose Windows: Download from GitHub and add the binary to your PATH. Shell autocompletionWe support both Bash and Zsh autocompletion. # Bash (add to .bashrc for persistence)source <(kompose completion bash)# Zsh (add to .zshrc for persistence)source <(kompose completion zsh) Development and building of KomposeBuilding with |
请发表评论