{"id":15874087,"url":"https://github.com/genaker/magento-kubernetes","last_synced_at":"2025-04-01T22:44:06.660Z","repository":{"id":99663183,"uuid":"364083805","full_name":"Genaker/Magento-Kubernetes","owner":"Genaker","description":"Magento 2 Kubernetes Configuration ","archived":false,"fork":false,"pushed_at":"2021-05-03T23:16:35.000Z","size":3,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T00:31:23.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/Genaker.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":"2021-05-03T23:05:25.000Z","updated_at":"2022-11-10T21:15:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"8de6463f-fb98-4c4c-9546-16ee0e7a8cf2","html_url":"https://github.com/Genaker/Magento-Kubernetes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2FMagento-Kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2FMagento-Kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2FMagento-Kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2FMagento-Kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Genaker","download_url":"https://codeload.github.com/Genaker/Magento-Kubernetes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246724796,"owners_count":20823543,"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","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":"2024-10-06T01:20:54.720Z","updated_at":"2025-04-01T22:44:06.604Z","avatar_url":"https://github.com/Genaker.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento-Kubernetes\nMagento 2 Kubernetes Configuration \n\nThis repo showcases the full power of Kubernetes clusters and shows how can we deploy the world's most popular eCommerce framework Magento 2 on top of world's most popular container orchestration platform Kubernetes. We provide a full roadmap for hosting Magento on a Kubernetes Cluster. Each component runs in a separate container or group of containers.\n\nMagento 2 represents a typical multi-tier app and each component will have its own container(s). The Magento 2 containers will be the frontend tier and the MySQL, Redis, elastic search container will be the database/backend tier for Magento.\n\n## This scenario provides instructions for the following tasks:\n\nCreate local persistent volumes to define persistent disks.\nCreate and deploy the Magento frontend with one or more pods.\nCreate and deploy the MySQL database (either in a container or using AWS RDS Aurora Mysql as a backend).\n\n## Create Local Persistent Volumes\nTo save your data beyond the lifecycle of a Kubernetes pod, you will want to create persistent volumes for your MySQL and MAgento applications to attach to.\n\nCreate the local persistent volumes manually by running\n```\nkubectl create -f local-volumes.yaml\n```\n\n## Create Services and deployments for Magento and MySQL\n\nInstall persistent volume on your cluster's local storage. Then, create the secret and services for MySQL and Magento.\n```\nkubectl create -f mysql-deployment.yaml\nkubectl create -f magento-deployment.yaml\n```\nWhen all your pods are running, run the following commands to check your pod names.\n\nkubectl get pods\nThis should return a list of pods from the kubernetes cluster.\n```\nNAME                               READY     STATUS    RESTARTS   AGE\nmagento-43534534543-54mmd         1/1       Running   0          45m\nmagento-mysql-2569670970-bd07b    1/1       Running   0          53m\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaker%2Fmagento-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenaker%2Fmagento-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaker%2Fmagento-kubernetes/lists"}