Skip to content
a9d05d5
Compare
Choose a tag to compare

Minor update to fix an issue with the OpenShift implementation.

Installation

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.

Checksums:

Filename SHA256 Hash
kompose-1.26.1-1.x86_64.rpm 9643dceb8d30959a9e751861902358e31ba191388d219b889c3fa4c771b3e971
kompose-1.26.1-1.x86_64.rpm.tar.gz 87fef843531515ba0cee3daffcf9262ed2aabb814e51f956c26a51b0663ac252
kompose_1.26.1_amd64.deb abe1386b097028a52e5da41694220803bd422e27ac2529edbceac37576442a02
kompose_1.26.1_amd64.deb.tar.gz 000c1c98824117a79be095b759a8eac2d0b465f5aeb04b260c0041aa61b5b3b9
kompose-darwin-amd64 2ab10f22cd2649ed02d617d8dc3040a0c8bb483ea02151a870fdf2235553f45a
kompose-darwin-amd64.tar.gz b8725f78647b8a1670d96e34da954a05d148da7e5e5a798bff8532df45e21dc0
kompose-darwin-arm64 99223c2291b3abb9916717d41ddf17cc6403d020908a8b50fd15f1e3f560385c
kompose-darwin-arm64.tar.gz 98d402b2c564fa95554a8808845d599ee2c7652cbaa004307b949ed1cb7d7dd1
kompose-linux-amd64 cd85b8c205dc63985e9bde4911b15c8556029e09671599919ed81bff8453a36f
kompose-linux-amd64.tar.gz ed5edd999ddb92c49afab748101a73277f31a23596c4f35d4d4cfab4bad5c9eb
kompose-linux-arm cddeef617c566492cb68e7807403454d3b961d970d7c4a700bd9e1a2595949d9
kompose-linux-arm64 3c0173417a0ab9dd695ff198cf8342bb85111604cfbe9a52c0c5c28d36bc0d48
kompose-linux-arm64.tar.gz 9c18cf09b9db0726fc5e88bee630288397723f66b3a6b51aafa8468a5f7ebd21
kompose-linux-arm.tar.gz 77d4a3a84ab5f7b46809970187b9feb433d93f4c63526bd1fa0d14e249f4f3c0
kompose-windows-amd64.exe 5d6923f1ddffcf08d8194d8ce6f7e74792d63f25fee4a4140f5ab552ff40cd6e
kompose-windows-amd64.exe.tar.gz a2e69051341445aa0e14a631777b3b89791333f9df91ed7d95098a03efe1663c
SHA256_SUM f531d30d39a5da2a52a1c5a9b1da7eeeafabd420db8a267629598216d952209f
40646f4
Compare
Choose a tag to compare

v1.26.0 is here, a little ahead of schedule. In this release, we have per service volume type support and statefulset support, both are long-missing features for kompose. Other hightlight features are:

  • tcp/http liveness/readiness probe support
  • placement preferences support

Also ,we have arm64 support for darwin (mac M1/M2)

Thanks @sbs2001 @ichxxx

Closed issues:

  • checksums don't match on v1.25 for kompose-linux-amd64 #1454
  • StatefulSet Controller #1429
  • HTTP/TCP liveness/readiness probe generation #1427
  • Support the platform of darwin/arm64? #1416
  • Support multiple types of volumes #1400
  • --build that requires private registry does not authenticate #1387
  • Add StatefulSet #698
  • support adding kompose label for bundle file #276

Merged pull requests:

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.26.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
SHA256_SUM e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
kompose-1.26.0-1.x86_64.rpm 5b67fd093218d6bb9c92557a394d96d41fde0574b797d85c5a9e405edbd6c9c1
kompose-1.26.0-1.x86_64.rpm.tar.gz a05387f8f8546732a4c25bd60bbf6d999a46561cbc4a69bdafc6e9c7f3cb2824
kompose-darwin-amd64 e811ebd35cc1d6c2daab1967daeb6c77378ef99f5215b224b15a095751ee9bbe
kompose-darwin-amd64.tar.gz 23aad48856b7b756932075832960d2edafee9539e446f053c9f5a68ae530eaf7
kompose-darwin-arm64 2d4a692fba71d62d458e1dab8bd841c6d3d1e42fb5bc11569d2f9387cedd36af
kompose-darwin-arm64.tar.gz 5d7226505368f9fb9244f10c6d28383ad2e0cb8f0b1918cced4cdb734e0e9ce6
kompose-linux-amd64 8c6c47073a95a52487a760f69a79669e2786c7aa3ba6e3007095efd524593253
kompose-linux-amd64.tar.gz ee2d8e15b0887b22fb4e0ac59db9d787d7670d4c424d7765c85ab1595f840674
kompose-linux-arm 795d5553d1ab7cc19544ad89aaaaa464c7c6c7ca49c69ac6b8798c9751006641
kompose-linux-arm.tar.gz 7ffe66aaf851da0f544db7cec39b25fc4c3e7a66a6d0158f9e22c8e2e0522e00
kompose-linux-arm64 4e806e432df4a195ecfe0af0f25230a0c35bf3eb87065d328e2aff48319f028e
kompose-linux-arm64.tar.gz 4d91017a44175ec278cb154093ca221f105cdc74e234e83648da33b55d8cd4cb
kompose-windows-amd64.exe 64653e48ec4164541aa42d362273e4e72d83a69ec1e217766c0bdd689e9e9a89
kompose-windows-amd64.exe.tar.gz 5c20fb0788786c747dd50c026f9cbf8f7276380d6dac36efcbfae105a367ae96
kompose_1.26.0_amd64.deb e6dd384296bb2d276eeaf8c635fe3fbb5b70577f63d445603d6c12f1d5ce62a0
kompose_1.26.0_amd64.deb.tar.gz 45d45e13919d15684da7e43a3e5907836803ecff1b00b5b1a5ce9e9cc259e8a2
fe720df
Compare
Choose a tag to compare

Great Thanks @sbs2001

Features Highlights:

Support group service by shared volumes, use kompose convert --help to checkout the new flags

Merged Pull Requests:

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.25/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
SHA256_SUM e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
kompose-1.25-1.x86_64.rpm fcb73107188bd50424df9443b4203bd4144458525a38d848f7fc11b926ea3c2e
kompose-1.25-1.x86_64.rpm.tar.gz 96289705e3c44f580e539a8a9e3b02caddb5b5e84adefc7aa28baaef89306769
kompose-darwin-amd64 129e43c378b11d1a23a200945b66b8091fb72f742ff910b325bca5712ef0fcdf
kompose-darwin-amd64.tar.gz 0a969c7ae5ae188968a14df38bf4b939873983140c5e054f98c70528547c6098
kompose-linux-amd64 997091b92812e483c4454c49a71a0d0b5eb7605763ee07db99de1d99fac648b1
kompose-linux-amd64.tar.gz f1a4b2fbd5992d58ada809d9d67b9441a4eddef0ec6ff068714f43c95a225f9e
kompose-linux-arm a1e1fd6f667602c523f6b23ace72a7eaf091e363edfaac9dc2af83eb1717873a
kompose-linux-arm.tar.gz b0d732c006f895d5a94fb425784a8b9896311af74334b72e6f7049fce1987edc
kompose-linux-arm64 d4f1edea757d69a24dc4a78b1ac5993cda16f83e323ad43c4f92070fa4067b58
kompose-linux-arm64.tar.gz b9902434f84f33b2a41f8e6236472845aa59f11ae3d6ba590646c732952a1202
kompose-windows-amd64.exe ec03588110256e87967355ef6e0506b25eac9595d70a6fb01decc79480db9b6a
kompose-windows-amd64.exe.tar.gz f7233e18ad7283a0f073305fc58525fb706d67846f893050adfd1d18276469fb
kompose_1.25_amd64.deb 7709ac582e914f7548cc6f14ef12536733b377f2af940e3f97bc83ba0cba9977
kompose_1.25_amd64.deb.tar.gz 48d4f4508aa94f0250025bc99c76ce76a034aebf7f0f2353a0bd508809db26a7
7c62953
Compare
Choose a tag to compare

Kompose 1.24.0!

Changelog

v1.24.0 (2021-08-29)

Full Changelog

Closed issues:

  • Output as many yaml docs #1421
  • Building docker-compose file with absolute path fail #1410
  • Completion Support for fish #1403
  • Bad LoadBalancer service generation #1399
  • Change the default PVCRequestSize through command line argument / configuration file #1374
  • Kompose doesn't handle volumes #1368
  • Do you handle Dockerfile ? #1367
  • --build should not automatically push #1363
  • Adding storageClassName to persistent volume claim manifest #1362
  • Support for negated placement constraint docker-compose v3 #1132

Merged pull requests:

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.24.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
SHA256_SUM e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
kompose-1.24.0-1.x86_64.rpm 483b6256679ae2dd16ab6cf4e8ceecf9f7ea6389257bd32d0c4f45102916f31d
kompose-1.24.0-1.x86_64.rpm.tar.gz fdd5aec3f4be6b17f7e3b5878c8b1e0a0eaf9a73cf3aac91e7997e5824b7ffcd
kompose-darwin-amd64 c22b42e6dc28fb5fe833045442b45e08c76ce617f5d00b7e76931e4d5675a0bf
kompose-darwin-amd64.tar.gz 453d83658069737870e380c9a69b2d44808c7f5766decad24b8ada94f038e613
kompose-linux-amd64 15684b179756654d7eb6a0360bdf887bed906505dee821927b6f61920b962b83
kompose-linux-amd64.tar.gz 4e2f8710d66b175475aba0cae2a290bd93b6678b10191389728ddb05b75d4568
kompose-linux-arm 527b657a3d611632a1025ee9668ca8bca27bd5286b375535ae94029387d258a8
kompose-linux-arm.tar.gz 5999f4dae5d49a14d67efe448d3da070ebb858d08a17f6abfe38ef3cd992c59e
kompose-linux-arm64 7bffc2cc8f3d25a4a5917f9095268c556c901b2e5bed8a8df49a1d77eceb8ef4
kompose-linux-arm64.tar.gz 09cf5f5db87a104237fa11b2ce42d644932bb7302db1884b034918689809dce3
kompose-windows-amd64.exe 0baf4a66e5020455e06f27a56fd785e3a2f1e3bcb5dfa55c2b21c77a614ca2c8
kompose-windows-amd64.tar.gz 563a5210d168513f8388d1168d219f2bca5a5568768c5230a8de009bce89aa88
kompose_1.24.0_amd64.deb f401f249a08adf70b149974121e2948d26f8ab08448934cfd7c6ece130cef53e
kompose_1.24.0_amd64.deb.tar.gz 70772357de255bceb255cb89e9942d737794e0fcdefc37108dcb01d513b0d2eb
bc7d9f4
Compare
Choose a tag to compare

Kompose 1.23.0!

It has been a while since the last release.

Big 👍 to @hangyan for doing an awesome job on the project.

Changelog

v1.23.0 (2021-07-12)

Full Changelog

Merged pull requests:

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.23.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
SHA256_SUM e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
kompose-1.23.0-1.x86_64.rpm fd68107fbacc0beb7faadd813c2aceae37ab1bbea493c23df0ed9b621c9a8679
kompose-1.23.0-1.x86_64.rpm.tar.gz d32817dddddf6c0e453dc1536c66a3080778ef2623a6cd74d2dfa94fadf680d4
kompose-darwin-amd64 ec2649806023729f7afd0e36bfee6ef5cc46b69177023e7e705e1e667a37c968
kompose-darwin-amd64.tar.gz 5bc66b987b4964e7fee8b818852261ad0b5767a1976e83507120ded44b0196cf
kompose-linux-amd64 7934ba2f06c1818191bac27a237b85df2edad4c5a74f590f80d6a69045944428
kompose-linux-amd64.tar.gz 1baeb1775630dbabbf8dd721ea4239eb91c926fa2d528ca48cdde54fcb3ffec4
kompose-linux-arm 6b1f85083f351dcfa70284f42f9115b8593a105444df5d658feca3ebd3befd9b
kompose-linux-arm.tar.gz cc4c5d0f6bf3ef13e46cb6fa8444383e161fe511ded8a555a425767b1d2b572d
kompose-linux-arm64 f555720e89573304904663f1ffd7de5b971a57ccbbb29e0c575866533d444e48
kompose-linux-arm64.tar.gz de7f0ad5b81f5dd22c1aabdec7fe364c711beca6847a3f1488f2fd1699caad06
kompose-windows-amd64.exe 9bff1773780a3282db1e1e46664d7565cbe2f0de886a93961135d299bd987ce4
kompose-windows-amd64.tar.gz 3c53c129f5d21ed0a6e01bf8f2267e56d02514138d15bfafcbdc46c83021743e
kompose_1.23.0_amd64.deb 437f43c430fe5ada19b22c93813ae7a114393982eb4750b51e611d5b790f97b5
kompose_1.23.0_amd64.deb.tar.gz e9bfdcb76f4333f83ceb8ead191637b23f6ba22c25137cea618196ad94c37996
955b781
Compare
Choose a tag to compare

Kompose 1.22.0!

Here's the new features in 1.22.0:

  • Added support for pushing an image with --build local (#1257)

Breaking changes:

  • kompose up and kompose down have been REMOVED in favour of kompose convert (#1297)

Bug fixes:

  • Fixed printing docker buid output if -v is given (#1255)
  • Fixed stop_grace_period in v3 of docker compose (#1300)
  • Remove networkpolicy duplication (#1302)
  • Added missing pod annotation (#1303)
  • Updated networkpolicy version (#1307)
  • Updated conversion for command and entrypoint (#1279)
  • Fixed missing annotations for ingress (#1248)

Developmental changes:

  • We have now moved to go mod (#1305)

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.22.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.21.0-1.x86_64.rpm 2697238545d1a5801172c40f3e5a863a50f979fdb805c47deae66a2ed190d9d4
kompose-1.21.0-1.x86_64.rpm.tar.gz 19798ad8d5090541fcf5112cd59c68b7f35b510d909c6c0b0b91feb32203a5ca
kompose-1.21.0-1.x86_64.rpm.tar.gz.tar.gz 4de580808241bf3e9fbe53e815e3ab4a30ac5207eac6b48af77189a02f8983e7
kompose_1.21.0_amd64.deb 5210fbae874c1695aea0b80eea0d89621e3f84389e9680ccb6605dadca7a5abf
kompose_1.21.0_amd64.deb.tar.gz 15d021917bba699854182807509175371ef63be57fe31d7918aed34cc05cceb1
kompose_1.21.0_amd64.deb.tar.gz.tar.gz 19ce17f154cddec8a8dbaee26f7e2bfe14162e076fd771d2f439bca0a98bbfa0
kompose-1.22.0-1.x86_64.rpm d8c3cdc41179114859ebbd5d9b93784eb3ce1b8923886ef9635287423dc5de77
kompose-1.22.0-1.x86_64.rpm.tar.gz df2cbfcdbd6248810d01a55e690490e9362cf2ce4305c5a7a9b18e09f408c548
kompose_1.22.0_amd64.deb e10775f8e34d54da0c424a644af26087ee3bc4a47f76fb9eee2ddffa328644d1
kompose_1.22.0_amd64.deb.tar.gz 15ffe723424756f8260c34bdcbb7970865a5189e558a4be5a03e46517f7d6c42
kompose-darwin-amd64 7a51863acb1dd957e5015457260194d35feecf09d84ff2ec6ac07927e0c397d1
kompose-darwin-amd64.tar.gz ce35cec930f907ca49358ca4572ed92822908f91294e5ae203a5f78d9e90e25b
kompose-darwin-amd64.tar.gz.tar.gz c47f556e36b4ea43e4abf49315aa01423180ec1b81758c9bd291f9e69850b465
kompose-linux-amd64 6203d67263886bbd455168f59309496d486fc3a6df330b7ba37823b283bd9ea5
kompose-linux-amd64.tar.gz a695319ed141a522b4e8f82636fc7afb81c8956a71aa1c8aca19403130241126
kompose-linux-amd64.tar.gz.tar.gz 53ed3899c17605a365cb091f5a1ce048802243e7bd614a41441f2a030574be5f
kompose-linux-arm af9a549e07a546d37ee855b172136417388764afd44b901789d9b8e70d2de086
kompose-linux-arm64 022a04becbf05ad3edac7ac9175d414007b409f2b4fd5190af2a90649ec64b94
kompose-linux-arm64.tar.gz 9b07389ad2392ecefda3f284bf8ab3cb0b27afcb465841c240d3aab75594e17c
kompose-linux-arm.tar.gz c23fb85061b7cd4008420489ffb026036304661b77fec7362ab120673aa55d08
kompose-linux-arm.tar.gz.tar.gz 074145667b2df6b677cb0555acdc5878149b00ad8b762e7a23df7ff9dc1489d0
kompose-windows-amd64 4f8eaa7e1c586ec33aebbb4090a3c5448b1208760e4431cc16159ded9677085b
kompose-windows-amd64.exe 0a01f3eb0cb810b61a4d7aaa5b59824e829f2e9042f061ff27f3c419822f08d3
kompose-windows-amd64.exe.tar.gz 9b18cc215be35858ab30c6930e19a79320d191e8106632cad55562fe7ab2c3e8
kompose-windows-amd64.exe.tar.gz.tar.gz 7496ba0c4c12708526fc1bd9ce59fbc643b913861fc9538198c0f6eec0820e23
kompose-windows-amd64.tar.gz 849eff26402d7d684205e3687e360596d014c4e9c067ee899f8588d38d1b4564
SHA256_SUM cb6116a9e25925a75d54543f05681f92c241eaeabc37a5f6321ab713dc1dfff7
SHA256_SUM.tar.gz 0087d0e9c41f2a42ddf124df80c052fc419da672b0dde5fb1872e512a1cb61fe
992df58
Compare
Choose a tag to compare

Kompose 1.21.0!

Here's the new features in 1.21.0:

  • Ingress path names are now supported (#1245)
  • V2 restart unless-stopped is not supported (#1244)
  • You're now able to provide an external apiserver for Kubernetes (#1243)
  • MacPorts support has been added to the documentation (#1242)
  • deploy.update_config will now convert to rolling update within Kubernetes (#1232)
  • Deployment labels are now supported (#1231)
  • Config short syntax bug fixes (#1230)
  • Code refactoring (#1228)
  • Support port expose (#1227)
  • Updated documentation regarding push image (#1225)
  • Fix duplicate in container spec (#1223)
  • Fixed v3 hostpath path error (#1222)
  • Fixed hostpath path translate error (#1221)
  • Added notes regarding windows (#1220)
  • Fixed YAML indentation (#1219)
  • Dep update (#1218)
  • Added support for configmap as a volume (#1216)
  • Fixed configmap name case error (#1215)
  • Merge will include deploy resources (#1214)
  • User a service name when image name is empty when built (#1213)
  • Fixed build (#1212)
  • Support assign nodeport port in labels (#1212)
  • Use new go version for build (#1209)
  • Add flag to support store manifest when using kompose up (#1208)
  • Updated API versioning (#1207)
  • Removed duplicated entries of configmap (#1206)
  • Fixed chart lint (#1205)
  • Modify default kubernetes client apiserver URL (#1204)

Providing an external apiserver for Kubernetes

With this release, you're now able to supply what server to be used when deploying.

For example:

kompose up --server https://127.0.0.1:6443

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.21.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.21.0-1.x86_64.rpm 2697238545d1a5801172c40f3e5a863a50f979fdb805c47deae66a2ed190d9d4
kompose-1.21.0-1.x86_64.rpm.tar.gz 8baf2195b36dfaab248f98e6ce19afc4627eed75cf54ffcf6d340304150f60c8
kompose_1.21.0_amd64.deb 5210fbae874c1695aea0b80eea0d89621e3f84389e9680ccb6605dadca7a5abf
kompose_1.21.0_amd64.deb.tar.gz 1e4698c06c258d98e31e053e8caf1cede13a255230becadf13b82286d4cc262e
kompose-darwin-amd64 894e1d9e350d12b69501349e0610c1cde68ddae5dd92a0cbdba748ec059ed9ef
kompose-darwin-amd64.tar.gz 9384e5233859d1bdc676c3ff80f2609e084a23fd5993e81a0a54e9976d18adf1
kompose-linux-amd64 488d786fce0fab4e0c6c0668bfe6229cce58b2d3635936ba33cae7ab702bd0d7
kompose-linux-amd64.tar.gz 88cac7b503cce5a4f83d3ac7690311307bc62a380e29b22a6557581c2b4c6d4d
kompose-linux-arm 2f1b39d288bb9c6c29406bc056ad17053885e9fc8bf868e6595456b14bff0d1e
kompose-linux-arm.tar.gz 62acb45751ba8b2e6c787882b944a2b2f8aa7ca5390e876a439c13763b0b30e8
kompose-windows-amd64.exe 0a01f3eb0cb810b61a4d7aaa5b59824e829f2e9042f061ff27f3c419822f08d3
kompose-windows-amd64.exe.tar.gz 06e1a70d11c9e9e03fbd95883ffb8b0a2a83ce4d16cf37b4321e40d653693e17
SHA256_SUM 71c9df33690b3b0ddcaa1a3e6ba8100ee6bfd70dc1922054bc7143b2cec09fb6
f3d54d7
Compare
Choose a tag to compare

Kompose 1.20.0!

Here's the new features of 1.20.0:

  • Added flag to push an imaging when using kompose up (#1147)
  • Top level non-service keys are now merged in correctly when converting (#1187)
  • networks is now an officially supported key (#1195)
  • Added support for file based secrets (#1159)
  • Multiple tests have been fixed (#1175) (#1197) (#1198)
  • Updated documentation on endpoint_mode (#1151)
  • Updated OWNERS (#1177)
  • Fixed golint error (#1178)
  • Binaries are now statically built (#1193)

Pushing an image with kompose up:

You can now push an image when using kompose up.

kompose up --push-image true

Networks are now supported:

The networks key is now officially supported.

For example:

version: '3'
networks:
 app:
  external:
  name: app-network
 web:
  external:
  name: web-network
services:
 appFoo:
   image: foo:latest
   command: sh -c "echo Hello Foo"
   networks:
    app: {}
    web: {}

Will now convert to the equivilant matchLabels selector: "io.kompose.network/web-network": "true" on each pod.

Added support for file based secrets:

Secrets will now convert when going from docker-compose.yaml to Kubernetes.

For example:

version: "3.1"
services:
  redis:
    image: redis:latest
    deploy:
      replicas: 1
    secrets:
      - source: my_secret
        target: redis_secret
        uid: '103'
        gid: '103'
        mode: 0440
secrets:
  my_secret:
    file: ./my_secret.txt
  my_other_secret:
    external: true

Will generate and create the kubernetes equivalent.

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.20.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.20.0-1.x86_64.rpm 9cd911d3486564fe8104d8056efe5972228ff2c8f0597249963632b987338b6a
kompose-1.20.0-1.x86_64.rpm.tar.gz 77cb6ed345617ab32771c87dc4a922d867c0a6dea44883b80cfbb7f32b16b5d1
kompose_1.20.0_amd64.deb b4a8b0aa53a9d6e07c2758f99364c81b36a3b441a362035620733af8623c59b5
kompose_1.20.0_amd64.deb.tar.gz 40e3802902f34eb1f72073f08499f5ff92fcecfa9f3e2bbf1bd79ada01fbfb43
kompose-darwin-amd64 41c703e70eda6e0ece3dec30d36802829512d4d0c8d339b55ed621362baa6d35
kompose-darwin-amd64.tar.gz 66d9652ee3b0953e3e2a7793534d8bd454305a3780b010f8721e6e8a0b4dabaf
kompose-linux-amd64 449ad5ccd5e0ead98d3efab57b0dc427e5825d1260139025d3a3b8696cf36831
kompose-linux-amd64.tar.gz 66b8785fec6113a36d120c5b171bbef9346e7d801b712a9e2d12e15f3e4b9741
kompose-linux-arm 023b5fef033c828dfa5c59c00c1a08449c8a7c0f82f1d6132af9c55cf67ad23e
kompose-linux-arm.tar.gz d4d6449637976c6740c941ef26a41d2120d91be3d2df7c08aa0cf91963e80462
kompose-windows-amd64.exe b62c28ffb79ab2c42e0ab7da74824b1aa43dc97e775198c9e744fd89a3cd2b84
kompose-windows-amd64.exe.tar.gz 504fa68dafbb0b5ecf4c0ef63d9ae90b4a5da8f03f4c42eacce9ca6d62707896
SHA256_SUM bdef2fc70afc1d9f1be54f81668117c9f61a28cfe2aca3d6a31d21065bf31931
f63a961
Compare
Choose a tag to compare

Kompose 1.19.0!

Here's the new features of 1.19.0:

  • Updated dependencies for Docker Compose 3.5+ (#1120)
  • Fixed parser bug (#1121)
  • Made Kompose go get-able again (#1139)
  • Bug fix for container name (#1141)
  • Includes the ability to build a Snap (#1153)
  • Added Dockerfile (#1101)
  • Copied Service Labels to Deployment Pod Spec thanks to @alanjds (#1166)
  • Binaries are now statically built (#1169)
  • Updated help output for kompose convert (#1171)

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.19.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.19.0-1.x86_64.rpm 72e053a38b25df8987cf6b4da6e149ae55ff6a80abccfba0b48d4974ddf113d2
kompose-1.19.0-1.x86_64.rpm.tar.gz f57d22d78b22d290dce387287a2dbf874db1675b54f137e62cd470137f955835
kompose_1.19.0_amd64.deb 8d2c719cb10937cbb2fd5d09c37eae28a1fa229da74e8fbb0c19c2f31bc8c3c2
kompose_1.19.0_amd64.deb.tar.gz 5ff4e699c260dd52fe00ec261a2735bf32f793b7ccc1e7833a8010cfe6ef18e5
kompose-darwin-amd64 d097721a4a9038d5bf0b7680dbe7a795c075b68a3224e488250b8921fc85bdcc
kompose-darwin-amd64.tar.gz b0ed20139708ad35aeda433189efc07346c82dc33080e6b304e7127422d64ae5
kompose-linux-amd64 d73aa4242102884bc5589e7a6777461b7b2e0ddc20b63f2812bfbfcbaa4659d9
kompose-linux-amd64.tar.gz fbef96ee334ae63c12332d5c6edfcc601ff8ad104cf01c6f946e37a5ab44e692
kompose-linux-arm 5c550461769ed5b29b31aa6bcf5bc2dba5a1c2a8dd39474e9c0f0af91765452f
kompose-linux-arm.tar.gz b8c8271a1881bcca61661bcdd745e22f55b3f78293278b8141a1349874df0b92
kompose-windows-amd64.exe 5752161a0c5ff6fdaca31bdec80cba8f8cbd3698ed46f90e1b888b8f8774d1b1
kompose-windows-amd64.exe.tar.gz 5b419fee56d6b1fe7122be1cb2550e29162eda12bd29d04f25caad53c1cc06cd
SHA256_SUM d9be1c65a12efb802edc51b4ea7bc4f735052805da7816260bd0011a8cf8cc70
06a2e56
Compare
Choose a tag to compare

Kompose 1.18.0!

Here's what's new in this release of Kompose:

  • Added support for pulling secrets (#1091)
  • You can now define multiple hostnames within the kompose.service.expose label (#1092)
  • Added label support for volumes (#1083)

Pulling secrets:

You can now tell Kompose to pull secrets by defining a secret name. This uses the new label kompose.image-pull-secret.

kompose.image-pull-secret defines a kubernetes secret name for imagePullSecrets podspec field.

For example:

version: '2'

services:
 tm-service:
  image: premium/private-image
  labels:
   kompose.image-pull-secret: "example-kubernetes-secret"

Multiple hosts:

You can now define multiple hosts by using comma's.

For example:

labels:
 kompose.service.expose: "counter.example.com,foobar.example.com"

Label support for volumes:

Two new labels have been added for volume label support!

  • kompose.volume.selector - Add selector.matchLabels to kubernetes PVC for volume binding
  • kompose.volume.size - Change kubernetes supported volume size for docker named volumes

For example:

volumes:
 database-vol:
  labels:
   kompose.volume.selector: database-vol-dev
   kompose.volume.size: 500Mi

Installation

Linux and macOS:

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

# macOS
curl -L https://github.com/kubernetes/kompose/releases/download/v1.18.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.18.0-1.x86_64.rpm d7326abde1d9e95999584c56b99323e3f533a795b901ad6941cdb0e213c82028
kompose-1.18.0-1.x86_64.rpm.tar.gz 4416553829b4570bdb7690274b208a8afd67b5b1d5dd766ba16500f153821b2a
kompose_1.18.0_amd64.deb ce345689054dc9ce3ebb6c27e5acf22e6b078590e3980d8bbdb12a664a4005aa
kompose_1.18.0_amd64.deb.tar.gz 4b45eae50bba64a3e36bfe6c38cd39e27f2002d2551fa1fbb6b51acecf95b9d4
kompose-darwin-amd64 72ed3547767c605b163004276e59f7b8e6b4598573a6acc130765172d4e8553f
kompose-darwin-amd64.tar.gz 32769b7d8cbe5b1033bcff3d870678493d9b3589d78cb7dcf65c366ea6450ac7
kompose-linux-amd64 4675f1a580b2775d021f3d1777f060ffd44b5f540f956c3b68f092480af9caf4
kompose-linux-amd64.tar.gz d24d6e9f74c543925af142fafde22ed97849d215b589ab6ff2010bbbb3995fb7
kompose-linux-arm 97103e8f9e8bd4d6857ae99f05d2dc8f97c70457910c8146014bb86093c72640
kompose-linux-arm.tar.gz 96091fd267ef7040f2b71258dca6ce390a658ee06001de6b58c60bfec5a95cc5
kompose-windows-amd64.exe 410f9a074dacb0007a5da7619ef27a9f2715b2ea6b591a68dba617938efb47a0
kompose-windows-amd64.exe.tar.gz 80dd69352fb9fdafc7f17e7fa18e00c73de743bb31783da856417d2dabac9d9b