{"id":16131488,"url":"https://github.com/thislight/k8s-mastodon","last_synced_at":"2025-10-28T16:32:34.937Z","repository":{"id":171529365,"uuid":"313205461","full_name":"thislight/k8s-mastodon","owner":"thislight","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-16T07:00:51.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T20:37:56.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/thislight.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-11-16T06:01:33.000Z","updated_at":"2020-11-16T07:00:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce69482b-97b2-475d-9fda-2948784084b2","html_url":"https://github.com/thislight/k8s-mastodon","commit_stats":null,"previous_names":["thislight/k8s-mastodon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fk8s-mastodon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fk8s-mastodon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fk8s-mastodon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thislight%2Fk8s-mastodon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thislight","download_url":"https://codeload.github.com/thislight/k8s-mastodon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247495887,"owners_count":20948121,"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-09T22:25:21.743Z","updated_at":"2025-10-28T16:32:29.888Z","avatar_url":"https://github.com/thislight.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k8s-mastodon\nKubenetes configuration to quickly deploy your mastodon instance.\n\n## WARNING: still under testing\nIt's not a stable configuration and is not recommend to use in reality.\n\n## How to deploy\n### Requirements\n- Kubenetes on your machines\n- kubectl\n- Python 3\n\n### Step by Step\n0. Setup your kubenetes clusters\n1. Clone this repository and enter.\n2. Change configurations (MUST DO, see next section).\n3. `kubectl apply -k .`\n4. Wait and look if the services run correctly.\n4. Look at the ports of `mastodon-web` and `mastodon-streaming`, or deployment `mastodon`, setup port-forwarding and config your HTTP server to proxy. For example:\n````\nkubectl port-forward deployment/mastodon-mastodon 3000:3000\nkubectl port-forward deployment/mastodon-mastodon 4000:4000\n````\n\n### Configuration\nk8s-mastodon is not out of box, you must set variables to fit you needs.\n\n0. In `kustomization.yaml`, change the database password.\n1. Look at `mastodon/configuration.yaml` to change configurations for mastodon.\n2. Save your VIPID private key and public key to files. Use `python mastodon/generate_secrets.py \u003cpath/to/private_key\u003e \u003cpath/to/pubic_key\u003e mastodon` in the root of the project to save secrets for mastodon. You may use `npm install web-push -g` to install web-push commandline tool and run `web-push generate-vapid-keys` to get them (NPM and NodeJS required).\n\n3. (optional) Turn to `mastodon/system-pvsize.yaml` for avaliable spaces (default is 10GiB) to save user uploaded contents.\n4. (optional) Turn to `smtp-gate/configuration.yaml` for email configuration if you prefer third-party server than own SMTP relay.\n5. (optional) Turn to `postgresql/pvsize.yaml` for the avaliable space (default is 10GiB) of database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthislight%2Fk8s-mastodon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthislight%2Fk8s-mastodon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthislight%2Fk8s-mastodon/lists"}