Convert Compose to Kubernetes
Kompose 1.16.0!
Here's what's new in Kompose:
deploy
label (https://github.com/kubernetes/kompose/pull/1041)Deploy label constraint:
For example, the below (from Docker Compose) will be successfully converted to Kubernetes
deploy:
placement:
constraints:
- node.labels.something == anything
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.16.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.16.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-1.16.0-1.x86_64.rpm | a65ad68597f1f235856a477379907425caf37e797270e2b7639647e36e65d47b |
kompose-1.16.0-1.x86_64.rpm.tar.gz | 30d6fe5b845dee9b6d91321601b62a7cf959b195e7f2458c1181e81ca9784b23 |
kompose_1.16.0_amd64.deb | 685d676c78320b4e49c9c5e9871c290cdf9b85a6d657104e417c30fad244d714 |
kompose_1.16.0_amd64.deb.tar.gz | 3caff96690ad1f3a0a2b597ca6a6130e922573b093347ef90f45e51ae22ffc30 |
kompose-darwin-amd64 | 1d8e7561604f313fb5273daebc64baa9ebd22ccbfd67cd8ab6eaf3fc8e5839e8 |
kompose-darwin-amd64.tar.gz | 66e0206f43e160a31325aef2c5343304ea18db7e401f0ce0f7819fc4233debfa |
kompose-linux-amd64 | 6c991e78f5d2fdd5f1fd9b3d044375d7dfec7443c4d5216ab6ad1d41aa4a4270 |
kompose-linux-amd64.tar.gz | de5940e74a22199c4eeb34d0b9fdae5ad65cce161e2607c7055899bc87c9c25b |
kompose-linux-arm | 6ccaceb0936e6301e314871870dc0bd65ddd579007225357f5a805ffc09879c0 |
kompose-linux-arm.tar.gz | bff03a2de1ed699576d108a1b0a845a38ee970d0733a2aee960deba6ecb31e53 |
kompose-windows-amd64.exe | 25e6d4de1d859f2617b2db1a247f0f1245578bb0d7a773b1ce071c05544fc7d8 |
kompose-windows-amd64.exe.tar.gz | 159d2568096e5a05959c4be8540ddd5f6e2611e1e388a51ddaa46446277fc266 |
Kompose 1.15.0!
Here's what's new!
Many thanks to those who've contributed to this months release!
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.15.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.15.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-1.15.0-1.x86_64.rpm | 53ceb5a7fb13e952b63ebd2bb6dac808035e6649b6bace8caeeb3c2383ff7072 |
kompose-1.15.0-1.x86_64.rpm.tar.gz | 64d42e7704dbf45352745cb5ea1716039703f9460cdafbbe2fc0f66364b71363 |
kompose_1.15.0_amd64.deb | b397fcc504142ba35ba41bb2a41c7dc600ff4d901ff516e4c28a8ef5b2ac42da |
kompose_1.15.0_amd64.deb.tar.gz | 365bc3e7f514cc7f2ae8eb182624e347b835077f351cb53e7e310fb84b129612 |
kompose-darwin-amd64 | 276bce129582f27338bab5c57c100e8124d3dd22e531c8000d098b9b67fd7143 |
kompose-darwin-amd64.tar.gz | 6fc74e16c84803698d40938e9f56fac145e5e5f2c90fbdd86a6a5067ee9f240d |
kompose-linux-amd64 | 5f6ab1318797b17c07766262cdde833ba36e153ca9cd6c52d7701ce25111f83b |
kompose-linux-amd64.tar.gz | 1ecf40b6d235f8bcf2655b412875f1369f347823cf68cd3370a6fe0e3dcdb3fc |
kompose-linux-arm | 926a999149054f50c38007fc9379dda11bc896aea7a2f8d0b3c49ae432c1f9b0 |
kompose-linux-arm.tar.gz | 9896e7c8e1be7f9933722aacc6542d44b403ced2a47224a7292d05b3b8af5c5c |
kompose-windows-amd64.exe | a106b5f9ef9118a26d11439e85e7e02a356d049141ff3778788d8e3edbb679d6 |
kompose-windows-amd64.exe.tar.gz | 6f414d81f3663fec45ee8f10061dad91eddfac4a53050e35714379b5c478069e |
Kompose 1.14.0!
Minor release this month that consists of some typo / test updates.
Thanks to all who've contributed in this months release!
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.14.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.14.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-1.14.0-1.x86_64.rpm | 0700cd1827baa910dea33d17a560e11f34a65dcce78a76d76ec16295cb390569 |
kompose-1.14.0-1.x86_64.rpm.tar.gz | 809953a56d396682710958c512eb48c0999a04b21a63127b5ae076a64dcd5196 |
kompose_1.14.0_amd64.deb | 853b3802ec909191906445755b11dd871ba9a0e12ecf5fe7e2582ea2982e9425 |
kompose_1.14.0_amd64.deb.tar.gz | 30dd9fe2bc2f4104121e028e55505fcbfbb6ef9eb653ed76755af9d9abea9fb1 |
kompose-darwin-amd64 | 078cb023855366381df71fe55752213da8814e8a9c16bdbe549e289e610c05c8 |
kompose-darwin-amd64.tar.gz | cea03ff4aa633e393941bc5b6e342d9f2fea137f76b98fa614e809a2d4e9602a |
kompose-linux-amd64 | 2b28c79e16ddff3bf14727ce5396567c6e9a0a5548385de65bc72f6cdfd611a1 |
kompose-linux-amd64.tar.gz | 1ec715a2165e91bde3733e7f27fd0f0c8efb5127498f5926351a3c2bf29ba3bf |
kompose-linux-arm | 3f83e0be68d9dd3ffb6b2093adeec47139eca13e57bf0d9d2f1126dc3903e339 |
kompose-linux-arm.tar.gz | 02f2036dab9490d09287aaff0598207b0e565e61403abbca79896d2a378f8283 |
kompose-windows-amd64.exe | 0d7c0fb9d97e370b9115b24868f15c857915eda281ca815465310a0f568857f8 |
kompose-windows-amd64.exe.tar.gz | 975a116c4d84c3fa6711b2fa952c4ca081ab3d22f967ac7d3a41c7587e7f3f2d |
Kompose 1.13.0
Here's what's new:
New labels:
You can now specify between: deployment, daemonset or replicationcontroller for kompose.controller.type
. Controlling what artifact type Kubernetes will generate.
For example:
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: password
restart: always
labels:
project.logs: /var/log/mysql
kompose.controller.type: daemonset
Many thanks to those who've contributed to this month's release!
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.13.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.13.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-1.13.0-1.x86_64.rpm | b1f3d951ae1b54927687a5e8fd1e91a5b7a42fa5ffcf168dccb9bb9718e1a7a3 |
kompose-1.13.0-1.x86_64.rpm.tar.gz | 830967f6ed2be7ca805da29eee7f9f22c7dd888832dcc22faf6cd271a9d5341c |
kompose_1.13.0_amd64.deb | c4dd53842402c491cb0d963c6f96a579dbcbb6ab66a2d2b046345e4aa4203554 |
kompose_1.13.0_amd64.deb.tar.gz | 14134d94a864ee604a91d4e0de3ba8ab3c588c95a1f3a4765743f2d15b8707ad |
kompose-darwin-amd64 | 403e28a9781800a4a4de2b590d77881088ba0b5819bf7f10c245172545549dca |
kompose-darwin-amd64.tar.gz | ab64a148385b16c1bcf37e4714fb53fb882b88ade1ff8e8b01bf226de5a30862 |
kompose-linux-amd64 | 2f8ef6fcef9bb736871e2f40f6011fce07b6c899421cec4f3a0602e7541b817e |
kompose-linux-amd64.tar.gz | d8af79b6565b1e3c7114afe1aa063f656fd69766049f3be9ff967dac0ea705a6 |
kompose-linux-arm | c77562ff83b309402c2be121afa691d336bd08492a947d1fcf5d93a0a0b30263 |
kompose-linux-arm.tar.gz | b9cd34ba9981835f42016fd9bbf2320c2254e6c3b743a2221991789d9bfc1bad |
kompose-windows-amd64.exe | fa321b045060e0c6a831c67dba1cf45da08ef6352e32bc5434316082a5b43e69 |
kompose-windows-amd64.exe.tar.gz | bed4e00227eb9d53da56722c41ee917bbc01c197e3635f4827661f06558fbcea |
1.12.0 of Kompose!
Lot's of changes happening in this month's release!
kompose.service.type: headless
as an option when deploying a headless service with Kompose (https://github.com/kubernetes/kompose/pull/979)domainname
and hostname
is now supported as a convertable key (https://github.com/kubernetes/kompose/pull/976)Headless service:
You can deploy a headless
service by specifying it within your docker-compose.yaml
file:
version: "3"
services:
nginx:
image: nginx
labels:
kompose.service.type: headless
This will deploy to Kubernetes as a headless service.
Domain name and hostname keys:
You may now specify domainname
as well as hostname
keys within your docker-compose.yaml
file.
version: "3"
services:
nginx:
image: nginx
domainname: foo.com
hostname: foo
Thanks to everyone who've contributed to this months release!
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.12.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.12.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-1.12.0-1.x86_64.rpm | d5852c41c5905101719c3d381dabbb498752a4ce809d8e7f47653c65c7412187 |
kompose-1.12.0-1.x86_64.rpm.tar.gz | 5f500aad8595340bf778cd134e49d62f3e158a3e935c7e58191ca6bd3cc374e6 |
kompose_1.12.0_amd64.deb | 7979f5a5d9506974c22065a46fe220c32d3b3a167ac87d78f3963aa8437854cc |
kompose_1.12.0_amd64.deb.tar.gz | 68f6187e6f7363791734884f6e578f714c1511f9b84de9911843e1b247337375 |
kompose-darwin-amd64 | f40e934a16db7ea55360a9e4c0d59ec1a6390d074162ac62f2690646a3940f1b |
kompose-darwin-amd64.tar.gz | 02df7430978fb4dcd1f9534c7f2987e72d032d8b1bcb9ccdb2d01e29c6b71af9 |
kompose-linux-amd64 | 589f8d53021584567cc2972a167d9016483088f0b69fad4a0e96d88a7f9d59f9 |
kompose-linux-amd64.tar.gz | ab5672ec6de1d359e416e40a7215fb8a726413a64a9779faf73dec678f14ba79 |
kompose-linux-arm | 021ed0db0540aeb33687a5f225c117c71a71d8def3b4146733d134dc3768bb39 |
kompose-linux-arm.tar.gz | deb012f9e662125b98cc92366a440af340244e2527edf8d2bfcaeb03406fe609 |
kompose-windows-amd64.exe | 0dfd6afbf23f09c1515ec474545dccff71993121d90b18080ffe138849124ef1 |
kompose-windows-amd64.exe.tar.gz | dd8254b5c141182b69239119d55619212aa76bd80763fd871908916ea8592aa4 |
1.11.0 of Kompose!
A lot of new features this release of Kompose:
I'd also like to welcome Hang Yan as one of our new core maintainers! (https://github.com/kubernetes/kompose/pull/963)
Thanks to everyone whose contributed in this month's release.
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.11.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.11.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-1.11.0-1.x86_64.rpm | d46a286f199caa18adc6af2d300e11d630a7a05651f26ac7911e3fae37e85290 |
kompose-1.11.0-1.x86_64.rpm.tar.gz | 5c35f995c3b9670fd4e4dee4f8c4fc78ddcc5c1e1fa0bc62c0b6eebe1f69676a |
kompose_1.11.0_amd64.deb | 1f36b5bc775033e91a2738971a3a3f7359192d25a04788ed8126af0d249302da |
kompose_1.11.0_amd64.deb.tar.gz | a261130653675755b61ca6ae6a444321e673283f4bacde902f69884d505039ab |
kompose-darwin-amd64 | 95c8ce19c7f15efa4f7fd8aa426eb32e67c722e568b2c19d254069e76d46c646 |
kompose-darwin-amd64.tar.gz | 9c9c1567259136b3128924d716c7111102f2698969826d3bfa005a07d121487d |
kompose-linux-amd64 | 8b4450085d5f7377bb32f570d0e88564e90aad429e0572cc41b36d9066f7da2d |
kompose-linux-amd64.tar.gz | f33a31114467dee25a83bcaf17cca0073bdd5cc042adfb7a5893148a624f22e1 |
kompose-linux-arm | 15740414dbf46a4c96fabeffc57f49dd56338ad808e9564b54a0dd92e914c4dd |
kompose-linux-arm.tar.gz | 43ae286f010cf509a3d68a4c7720b20e505d0b1fc129e39ae8ec151e0179a7bc |
kompose-windows-amd64.exe | 06b07de78c4dd90fc7bf1c89389d085fbae7a7d3ed9baf934a3f71c511a91248 |
kompose-windows-amd64.exe.tar.gz | 8c43b466ccc72eefdb79d0b9639a3f811627ea33621b5f37f9983a40ce598df1 |
1.10.0 of Kompose!
Here is what's new in this release:
Many thanks for those who've contributed to this months release and a big thanks to @hangyan for a lot of bug fixes.
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.10.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.10.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-darwin-amd64 | ae3baa6c88d142064be94c9c5dc30ac6b4d47dc62560372388fb3718caaee47b |
kompose-darwin-amd64.tar.gz | 102e09bc8db8697a11a5ee67d2c4eaf432fde0950124266e32a7e43136b66018 |
kompose-linux-amd64 | 254930040456f246ca3288cfe77c7f870c8e13498dcf16e65a3d81b1989aae19 |
kompose-linux-amd64.tar.gz | e1c0bfe214f7e928242922dcc45ea48ec636bc5b7b70b308153cffea98647b16 |
kompose-linux-arm | 3f0bebe411161ead51fa877238409307e9ad24cadba34f4f660d8ca30fd59bf4 |
kompose-linux-arm.tar.gz | dbf515391810e80b285e855f0b1cf079cb0295afae8e7ddff54ddc4243609687 |
kompose-windows-amd64.exe | 9160d1ad3d213f7a10bc9d3ca507922926d21c060b63c12673cb956bb49bb041 |
kompose-windows-amd64.exe.tar.gz | 4fa68ad5467b672efb0acb9d1c6a44dae4a6808ab60c92700ce46089c2167d6b |
1.9.0 of Kompose!
What's new in this release?
Thanks to everyone who've contributed to this months release!
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.9.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.9.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-darwin-amd64 | 9e2ee36b99c78860ff26c66c620d2634b1ebe9dce08b2773ac924a52df8b9931 |
kompose-darwin-amd64.tar.gz | b523a3c90e9f301fe89ef4d1088a1433118ec43d2ca0db02f7bdb35877c558c9 |
kompose-darwin-amd64.tar.gz.tar.gz | 6dd4ee675d4be8ceb229cd43298e28a5da8f338da23591b9a3af4800a133b788 |
kompose-linux-amd64 | cd0c795bebe0501e9e748b7a807d4ccccbc2607535a4eff81ca9915dd31c289e |
kompose-linux-amd64.tar.gz | ba38940e12169d17ccfc76f79aa3f3000dca7d8a102c35a8121c0048798953bd |
kompose-linux-amd64.tar.gz.tar.gz | 01a041a8ccce26077ad8722a5fa9295dcceb51f868d2313e4880051c6b3111fa |
kompose-linux-arm | a793a56ac0ba67996c81a2fa4a965fc2f32ba3cc7c911ce7a725a8277dcf77dc |
kompose-linux-arm.tar.gz | 7aa5a4ed8e4129175cb09f45c29adbe323db6007da2a87d08e78c2ef8aa6cb02 |
kompose-linux-arm.tar.gz.tar.gz | 452ba839055aaf991b904b47eb6a6ac5f6078f78e7b5a04f2f33682651c814c3 |
kompose-windows-amd64.exe | a70420aed62bdd5d5dca06cee6c86e4c0131254d135056d292d1383b8f271914 |
kompose-windows-amd64.exe.tar.gz | 43b3ca2be00256ae396940800cf8874430e5bc6e5044ecf3b63e7801f5b05aa9 |
kompose-windows-amd64.exe.tar.gz.tar.gz | e9c57f7881c197843129ca99695fc71b0fb6e28e22f34b9455382db120433a24 |
1.8.0 of Kompose!
Only minor documentation updates in this month's release, but download away!
Changes in this release:
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.8.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.8.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-darwin-amd64 | a0d779c6afa4c94259113fde658d944922475c665291dd8360a51847052e2506 |
kompose-darwin-amd64.tar.gz | d322657b44a0ca8a3b6e2789695ce87c037b111888b39cc882c0417dc9261526 |
kompose-linux-amd64 | 09844a011a6c69fb4fc3e30cc9421f33c0d92749957170688f9d3ad7b6fb72f4 |
kompose-linux-amd64.tar.gz | b1253686188a7815d7103933d8800e71ef3737c99441bcee8e11da23e05bc10e |
kompose-linux-arm | 8860cb82c06e4e52567a14d5622b87fa0eb7840e18d966f9eacd2a520601709d |
kompose-linux-arm.tar.gz | a019d5009ed1240495ff9b37dadc6cead2c4357f2962157cfa393febfe10d1b6 |
kompose-windows-amd64.exe | 8b7025b2de99dad5c0c4a29df523ee21da30cabdde3deef3ae2561dd82ba2815 |
kompose-windows-amd64.exe.tar.gz | 6abcb0afea9678d2eb4d53bd0c2eb6eed34e20ad86aa62ee317444e3c06475ed |
1.7.0 of Kompose!
Changes to this release:
build
(https://github.com/kubernetes/kompose/pull/895)kompose down
(https://github.com/kubernetes/kompose/pull/900)kompose.service.expose.tls-secret
has been added to the list of supported labels (https://github.com/kubernetes/kompose/pull/896) for more information, see: http://kompose.io/user-guide/#labels
Thanks to all who've contributed to this months release!
Linux and macOS:
# Linux
curl -L https://github.com/kubernetes/kompose/releases/download/v1.7.0/kompose-linux-amd64 -o kompose
# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.7.0/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.
Checksums:
Filename | SHA256 Hash |
---|---|
kompose-darwin-amd64 | 7810694432641452fb1327d40b7b04e2a7b71bb88b0c06947003141d619d3738 |
kompose-darwin-amd64.tar.gz | e145e4cce9bd0edca1cdf79b1547118e54b61ef84ba6619675a06bf0fdc7286c |
kompose-linux-amd64 | 92130af19a9f7f93983c10069e8cff36387a0b22a14dd6a96fd2137703be275a |
kompose-linux-amd64.tar.gz | 32623773ac7adbc82f2caaef88ad538b3df0dc859dbb2666bdebd8f99fe63e33 |
kompose-linux-arm | 2844379fae6b3031f235c4cf5422aff1e962524d87481a46bddd348acf952d51 |
kompose-linux-arm.tar.gz | 7d95551d37ef3c7b5cae268ece6becc0280967ee6f333a4bec61bd9371e73995 |
kompose-windows-amd64.exe | ea1775ffba33e26e15d25a9540c2b5d65a47b6593adccbe3687fc504f30f8d4c |
kompose-windows-amd64.exe.tar.gz | 321c6b9cc67034b92cdb46eb0d7126eb743648a06cc5cb4de662fb7e7d74fd50 |