{"id":29827455,"url":"https://github.com/inseefrlab/marathon-to-kubernetes","last_synced_at":"2025-07-29T06:08:56.795Z","repository":{"id":102119911,"uuid":"228644092","full_name":"InseeFrLab/marathon-to-kubernetes","owner":"InseeFrLab","description":"A small library to convert marathon JSON to kubernetes YML","archived":false,"fork":false,"pushed_at":"2023-12-15T05:51:40.000Z","size":51,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T00:29:49.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InseeFrLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-12-17T15:18:34.000Z","updated_at":"2024-03-26T18:07:34.000Z","dependencies_parsed_at":"2023-05-03T10:31:09.107Z","dependency_job_id":null,"html_url":"https://github.com/InseeFrLab/marathon-to-kubernetes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/InseeFrLab/marathon-to-kubernetes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFrLab%2Fmarathon-to-kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFrLab%2Fmarathon-to-kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFrLab%2Fmarathon-to-kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFrLab%2Fmarathon-to-kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InseeFrLab","download_url":"https://codeload.github.com/InseeFrLab/marathon-to-kubernetes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InseeFrLab%2Fmarathon-to-kubernetes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267639011,"owners_count":24119766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-29T06:08:56.173Z","updated_at":"2025-07-29T06:08:56.775Z","avatar_url":"https://github.com/InseeFrLab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marathon to Kubernetes\n\nA small application that converts `marathon.json` contracts (used by [Marathon](https://github.com/mesosphere/marathon)) to `deployment.yml` files (used by [Kubernetes](https://kubernetes.io/).  \nSupport is quite minimal and was primarily tailored for our internal use at [Insee](https://insee.fr/) but you may find it handy for your usage. Feel free to contribute, issues \u0026 pull requests are welcome !\n\n[![Build Status](https://travis-ci.org/inseefrlab/marathon-to-kubernetes.svg?branch=master)](https://travis-ci.org/inseefrlab/marathon-to-kubernetes) [![Maintainability](https://api.codeclimate.com/v1/badges/18c5a167cf83d3778bd9/maintainability)](https://codeclimate.com/github/InseeFrLab/marathon-to-kubernetes/maintainability) [![Coverage Status](https://coveralls.io/repos/github/InseeFrLab/marathon-to-kubernetes/badge.svg?branch=master)](https://coveralls.io/github/InseeFrLab/marathon-to-kubernetes?branch=master)\n\n## Usage\n\n### Using API\n\nAPI can be run using either Java or Docker.  \nJava release is available in the [Github releases page](https://github.com/InseeFrLab/marathon-to-kubernetes/releases)\nYou can run the API using Java (version 11+ required) :  \n`java -jar marathon-to-kubernetes-web-version.jar`\n\nDocker release is available at [Dockerhub](https://hub.docker.com/r/inseefrlab/marathon-to-kubernetes)  \n`docker run -p 8080:8080 inseefrlab/marathon-to-kubernetes`\n\nAPI will then be accessible at  \n`http://localhost:8080/api/convert`  \nOpenAPI description is available at  \n`http://localhost:8080/api/`\n\n### Including it in your Java project\n\nThe core `jar` is not (yet ?) available on maven central. For now you have to manually include it in your project.  \nThe `jar` file can be downloaded from the [Github releases page](https://github.com/InseeFrLab/marathon-to-kubernetes/releases).  \nYou can then install it locally or within your organisation :\n\n```\nmvn install:install-file -Dfile=./marathon-to-kubernetes-web-version.jar -DgroupId=fr.insee.innovation -DartifactId=marathon-to-kubernetes-core -Dversion=version -Dpackaging=jar\n```\n\n### Using CLI\n\nCLI can be downloaded from the [Github releases page](https://github.com/InseeFrLab/marathon-to-kubernetes/releases)\nYou can run the converter using Java (version 11+ required) :  \n`java -jar marathon-to-kubernetes-cli-version.jar [-n=\u003cname\u003e] [-o=\u003coutputPath\u003e] \u003cinputFile\u003e`\n\n### Usage roadmap\n\nIn the future we intend to create a small web app with a JSON Editor (contributions welcome !)\n\n## Compatibility\n\n\n| Feature         | Status      | Comment                                                                           |\n| --------------- | ----------- | --------------------------------------------------------------------------------- |\n| Single app      | ✅          |                                                                                   |\n| Multiple apps   | ✅          |                                                                                   |\n| Group           | ⌛          | Need to decide how to properly map Marathon group to kubernetes pods / containers |\n| Instances       | ✅          |                                                                                   |\n| CPU / Mem       | ✅          | Resources are defined as \"resources requests\" not limits                          |\n| PORT_MAPPINGS   | ✅          |                                                                                   |\n| Env             | ✅          |                                                                                   |\n| HAPROXY_X_VHOST | ✅          |                                                                                   |\n| Fetch           | ⌛          |                                                                                   |\n| Healthcheck     | ✅          |                                                                                   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finseefrlab%2Fmarathon-to-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finseefrlab%2Fmarathon-to-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finseefrlab%2Fmarathon-to-kubernetes/lists"}