在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):kubernetes/kompose开源软件地址(OpenSource Url):https://github.com/kubernetes/kompose开源编程语言(OpenSource Language):Go 69.3%开源软件介绍(OpenSource Introduction):Kompose (Kubernetes + Compose)
Use CaseConvert $ 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
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. Installation methods:
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: # Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.26.1/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.26.1/kompose-darwin-amd64 -o kompose
chmod +x kompose
sudo mv ./kompose /usr/local/bin/kompose Windows: Download from GitHub and add the binary to your PATH. Shell autocompletionWe support Bash, Zsh and Fish autocompletion. # Bash (add to .bashrc for persistence)
source <(kompose completion bash)
# Zsh (add to .zshrc for persistence)
source <(kompose completion zsh)
# Fish autocompletion
kompose completion fish | source Development and building of Kompose
Building with |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论