{"id":20574669,"url":"https://github.com/llefranc/42_ft_services","last_synced_at":"2026-04-22T13:31:06.273Z","repository":{"id":151135518,"uuid":"270958705","full_name":"llefranc/42_ft_services","owner":"llefranc","description":"School project: set a cluster with several services using Docker and Kubernetes.","archived":false,"fork":false,"pushed_at":"2020-11-25T15:14:34.000Z","size":1948,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T10:54:21.801Z","etag":null,"topics":["42","42born2code","42paris","42school","alpine","docker","ft-services","kubernetes","minikube"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/llefranc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-09T09:26:10.000Z","updated_at":"2025-03-05T09:03:55.000Z","dependencies_parsed_at":"2024-03-09T06:01:05.908Z","dependency_job_id":null,"html_url":"https://github.com/llefranc/42_ft_services","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/llefranc/42_ft_services","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/llefranc","download_url":"https://codeload.github.com/llefranc/42_ft_services/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llefranc%2F42_ft_services/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32139059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T13:27:12.868Z","status":"ssl_error","status_checked_at":"2026-04-22T13:26:44.791Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["42","42born2code","42paris","42school","alpine","docker","ft-services","kubernetes","minikube"],"created_at":"2024-11-16T05:36:34.962Z","updated_at":"2026-04-22T13:31:06.255Z","avatar_url":"https://github.com/llefranc.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ft_services (@42Paris)\n\n\"System administration and networking project\"\n\n![Alt text](https://github.com/lucaslefrancq/42_ft_services/blob/master/ft_services_example.png)\n\n## About\n\nFt_services is a project of the mandatory part of the cursus.\nIt's about using kubernetes and docker to run a cluster with several services.\nWe had to create our own dockerfiles on Alpine for each services, and then create\na kubernetes-pod and a kubernetes-service for each service.\n\n- The different services are :\n    - A web server (Nginx) that can be access in http / https / ssh\n\t- A FTPS server\n    - Phpmyadmin, Mysql and Wordpress all working together\n    - Grafana, influxDB and Telegraf all working together\n\n- Here is the [subject][1]\n\n`Requirement for running this project : Docker and Minikube`\n\n### Building and running the project\n\n1. Install [Docker][2] and [Minikube][3]\n\n2. Download/Clone this repo\n\n        git clone https://github.com/lucaslefrancq/42_ft_services.git\n\n2. `cd` into the root directory, and run `setup.sh`. This will start `minikube`, link docker to minikube, build all\n\tthe docker images and creates all the pods in the kubernetes cluster.\n\n        cd 42_ft_services\n        ./setup.sh\n\n## Sources\n\n- [Full tutorial for Docker and Kubernetes][4]\n- [Comprendre le clustering et load balancing (FR)][5]\n- [Cours sur kubernetes (FR)][6]\n- [Use local images in kubernetes from Docker][7]\n- [Use local images in kubernetes from Docker (2)][8]\n- [Deploying PHP-FPM and NGINX in kubernetes][9]\n- [Deploying PHP/Mysql in kubernetes][10]\n- [Examples of containers build with Alpine][11]\n- [Using php as web server][12]\n- [Using MetalLB as loadbalancer][13]\n- [Launching ft_services with VM (for 42 students during covid-19 pandemy)][14]\n\n[1]: https://github.com/lucaslefrancq/42_ft_services/blob/master/ft_services.en.subject.pdf\n[2]: https://docs.docker.com/get-docker/\n[3]: https://kubernetes.io/fr/docs/tasks/tools/install-minikube/\n[4]: https://www.youtube.com/watch?v=jPdIRX6q4jA\u0026list=PLy7NrYWoggjwPggqtFsI_zMAwvG0SqYCb\u0026ab_channel=TechWorldwithNana\n[5]: https://www.youtube.com/watch?v=9EoqLdmZCTU\u0026ab_channel=Cookieconnect%C3%A9\n[6]: https://devopssec.fr/article/cours-complet-apprendre-orchestrateur-kubernetes-k8s\n[7]: https://stackoverflow.com/questions/40144138/pull-a-local-image-to-run-a-pod-in-kubernetes\n[8]: https://stackoverflow.com/questions/53714508/is-possible-to-use-local-image-into-pods-yaml-in-kubernetes\n[9]: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-php-application-with-kubernetes-on-ubuntu-16-04\n[10]: https://medium.com/faun/deploy-your-first-scaleable-php-mysql-web-application-in-kubernetes-33ed7ab66595\n[11]: https://github.com/container-examples\n[12]: https://www.php.net/manual/en/features.commandline.webserver.php\n[13]: https://medium.com/@shoaib_masood/metallb-network-loadbalancer-minikube-335d846dfdbe\n[14]: https://www.notion.so/Ft_services-VM-852d4f9b0d9a42c1a2de921e4a2ac417","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllefranc%2F42_ft_services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllefranc%2F42_ft_services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllefranc%2F42_ft_services/lists"}